Commit Graph
31 Commits
Author SHA1 Message Date
Conor Patrick 9e41cf111d test reset fails after powered for 10s 2020-03-28 15:59:59 -04:00
Conor Patrick 669fa9b419 test hmac-secret is different for uv=1 and uv=0 2020-03-28 12:20:48 -04:00
Conor Patrick 9705b17d66 single account lookups do not have extra user details 2020-03-25 14:24:49 -04:00
Conor Patrick 3e09087074 check getnextassertions 2020-03-24 12:40:32 -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
Conor Patrick 7881689b86 fix missing timeout in fido2 0.8.0+ 2020-02-27 15:29:45 -05: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
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 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 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 ZalegaandConor Patrick 5eb8825b3b Add test for maximum possible list count of the RKs per RP 2019-09-01 15:39:51 +08:00
Szczepan ZalegaandConor Patrick 72d987c5ae Check minimum required lengths of the FIDO2 RK fields
Related:
https://github.com/solokeys/solo/issues/158#issue-426613303
https://github.com/Nitrokey/nitrokey-fido2-firmware/issues/15
2019-09-01 15:39:51 +08:00
Conor Patrick 5f3ab95ab7 add cbor sorting from old tests 2019-08-29 23:34:10 +08:00