Commit Graph
79 Commits
Author SHA1 Message Date
Conor Patrick a6358e8576 single account lookups do not have extra user details 2020-03-23 18:33:10 -04:00
Antoine FERRONandConor Patrick 3d93c5c502 Fix rk tests
Option rk is invalid in GetAssertion
All authentications need to be reversed related to credentials registrations
Some checks added
2020-03-23 18:18:03 -04:00
Radoslav GerganovandConor Patrick c5e51022b3 Add tests for the credential management commands
These commands are not standardized yet, hence the new tests are put in
the "vendor" package.
2020-03-21 10:34:19 -04:00
Conor Patrick 7881689b86 fix missing timeout in fido2 0.8.0+ 2020-02-27 15:29:45 -05:00
Conor Patrick cb4560f3ea latest solokeys returns 4 bytes 2019-10-28 09:55:29 -04:00
Conor Patrick 0579471001 allow larger range for count since it can be a random-valued increment 2019-10-28 09:42:28 -04:00
Pavol RusnakandConor Patrick 21aa84ee85 fix test_user_presence.py after python-fido2 change
See https://github.com/Yubico/python-fido2/issues/69 for more details
2019-10-28 09:24:04 -04:00
Conor Patrick 6ca260358c add test 2019-10-08 16:06:05 -04:00
Conor Patrick 2cc35f10cf Update test_solo.py 2019-10-08 11:37:39 -04:00
Conor Patrick 603f286c1d add tests for backup key 2019-10-08 11:37:39 -04:00
Andrew KozlikandConor Patrick 27efc98810 Test that resident keys get replaced correctly if a credential for the same RP ID and account ID already exists on the authenticator. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick ca786b4bb8 Add hmac-secret sanity test. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 0f98a9228d Skip reboot test on Trezor. Reboot command is not supported. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 74b2d370d1 Enable automated user-presence tests on Trezor. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 9066a8d680 Add resident key tests for devices which have a display and do not support get_next_assertion(). 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 5b7be01c8f Disable user verification tests on Trezor. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 3469b8f8cb Allow dummy signature in response to silent authentication on Trezor. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick fee72f81bf Disable ClientPin tests for Trezor. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick f80f4d4a45 Add on_keepalive parameter to requests and add DeviceSelectCredential class, which implements button presses on the authenticator in response to keepalive STATUS_UPNEEDED. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 14bfe4c7fb Add force_udp_backend() for Trezor. 2019-10-08 10:23:09 -04:00
Andrew KozlikandConor Patrick 74f9347860 Remove the "rk" option in TestResidentKey GetAssertion commands, since it is not a valid option for the GetAssertion command. 2019-09-30 21:55:37 +08:00
Andrew KozlikandConor Patrick 2391f7f38f Fix TestGetAssertion::test_allow_list_id_wrong_type and TestGetAssertion::test_allow_list_missing_id to correctly check that the authenticator verifies the presence and data type of the id attribute. 2019-09-30 21:55:37 +08:00
Conor Patrick a180ff2540 add test for mc 2019-09-17 17:14:16 +08:00
Conor Patrick 58f2cbb499 test solo version using hid command 2019-09-17 17:14:16 +08:00
Conor Patrick 1650923565 test up=false for get_assertion 2019-09-17 17:14:16 +08:00