CTAP2-test-tool
CTAP2-test-tool copied to clipboard
Test tool for CTAP2 authenticators
The test tool currently supports commands from version 2.0. `GetInfo` informs about supported versions. For old commands, tests should differentiate between authenticator versions. For new commands, tests should only run...
My testing of Titan Security Key (K40T, USB-C) dies here: ``` Tested device path: /dev/hidraw6 Tested device name: ePass FIDO This tool will irreversibly delete all credentials on your device....
The tool is currently used mainly on Linux and MacOS. We need to run all features on Windows to make sure it works.
https://github.com/google/CTAP2-test-tool/blob/d7437911c7bf282bd0d91569041fe8854d45fe7b/src/monitors/blackbox_monitor.cc#L44 But in ctap2.1 spec, this method won't work due to > 6.5.5.7.1. Getting pinUvAuthToken using getPinToken (superseded) > .. > - Create a new pinUvAuthToken by calling resetPinUvAuthToken()
In latest ctap2.1 spec, step 6.1.2.14 `If the "up" option is set to true:` The last step4. will `Call clearUserPresentFlag(), clearUserVerifiedFlag(), and clearPinUvAuthTokenPermissionsExceptLbw().` So the result of following GetAssertionPositiveTest should...
This test item need to consider `[=getInfo/makeCredUvNotRqd=] [=option ID=]` is true case. Thanks!
{ "description": "Tests if empty user IDs are omitted in the response.", "error_message": "Cannot make credential with an empty user ID.", "id": "get_assertion_empty_user_id", "observations": [ "A prompt was expected, but...
{ "description": "Tests is user verification set to true is accepted in MakeCredential.", "error_message": "The user verification option (true) was not accepted.", "id": "make_credential_option_uv_true", "observations": [ "A prompt was expected,...
This test was called out to not apply to some authenticators with biometry in #98.
test item: MakeCredentialCredParamsTest { "description": "Tests entries in the credential parameters list.", "error_message": "Falsely rejected cred params list with 1 good and 1 bad element.", "id": "make_credential_cred_params", "observations": [ "A...