-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MakeCredentialPinAuthProtocolTest return code mismatch #582
Comments
See the above issue for more details
Hi, the error code changed between CTAP 2.0 and 2.1. OpenSK is more up to date than the Test Tool. I double checked the specification, and it matches OpenSK: Fixing this is part of this issue on the Test Tool. I propose to close this issue and the corresponding PR? |
One general comment: The error code checks in the Test Tool are currently too strict. The specification shuffled error codes around a bit between 2.0 and 2.1. So even a correctly implemented security key will return wrong error codes, if you compare against the wrong CTAP version. |
Yep, sounds good. I had assumed the test tool was the ground truth, but it sounds like the test tool isn't up to date. We can close this out if that's the case. |
Turns out the testbench failures are due to the testbench being out of date. OpenSK is correct, the tests are wrong. See discussions here: google/OpenSK#586 google/OpenSK#584 google/OpenSK#582 We'll await updates to the test tool and fold those into CI, and leave the current failures standing.
Expected Behavior
This test from the CTAP2 test tool:
https://github.com/google/CTAP2-test-tool/blob/1afd50bd1b700dc86d6dffeca70a331771d24e45/src/tests/make_credential.cc#L503-L515
Should conclude with the correct error code.
Actual Behavior
It is reporting an incorrect return code mismatch:
Steps to Reproduce the Problem
develop
branchSpecifications
develop
forkThe text was updated successfully, but these errors were encountered: