Commit Graph

76 Commits

Author SHA1 Message Date
Conor Patrick
84d451754a fix missing timeout in fido2 0.8.0+ 2020-02-27 15:25:46 -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 Rusnak
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 Kozlik
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 Kozlik
ca786b4bb8 Add hmac-secret sanity test. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
0f98a9228d Skip reboot test on Trezor. Reboot command is not supported. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
74b2d370d1 Enable automated user-presence tests on Trezor. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
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 Kozlik
5b7be01c8f Disable user verification tests on Trezor. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
3469b8f8cb Allow dummy signature in response to silent authentication on Trezor. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
fee72f81bf Disable ClientPin tests for Trezor. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
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 Kozlik
14bfe4c7fb Add force_udp_backend() for Trezor. 2019-10-08 10:23:09 -04:00
Andrew Kozlik
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 Kozlik
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
Conor Patrick
a73c77ba91 test request with mismatched RpID 2019-09-17 17:14:16 +08:00
Conor Patrick
0ddb54d361 skip tests that check fullDisplayName 2019-09-01 15:45:11 +08:00
Szczepan Zalega
5eb8825b3b Add test for maximum possible list count of the RKs per RP 2019-09-01 15:39:51 +08:00