Commit Graph
44 Commits
Author SHA1 Message Date
Conor Patrick f7309f0760 more tests 2021-03-26 01:40:49 -07:00
Conor Patrick 762668dd7e make more strict tests on user info returned for rk credentials 2021-03-22 19:50:12 -07:00
Conor Patrick 7faf7cacc5 use different RP's for hmac-secret tests so they don't mix 2021-03-22 19:49:46 -07:00
Conor Patrick 8a93466ce2 test userId is returned for RK credential even when it's specified in allowList 2021-02-14 20:26:03 -08:00
Conor Patrick b7fc538af8 run black format on everything 2021-02-14 20:26:03 -08:00
Conor Patrick cbc31b3f59 check cbor recursively to test all cbor 2021-01-29 15:28:44 -08:00
Conor Patrick 04c60165f9 add tests for credProtect and both credProtect and hmac-secret 2021-01-29 15:28:44 -08:00
Nicolas IoossandConor Patrick 681cfcb759 fix multiple values for argument 'options'
When running `tests/standard/fido2/test_getinfo.py` on Python 3.8, the
test fails with:

    TypeError: make_credential() got multiple values for argument 'options'

Move `options` into `FidoRequest` parameters in order to fix the
invocation of `device.sendMC`.
2021-01-27 20:13:27 -08:00
Conor Patrick 6b984ecd4f add test for eddsa 2020-10-18 16:52:52 -07:00
Conor Patrick 12d13ca62a skip ctap1 test if credentialId is longer than 255 bytes 2020-10-18 16:52:52 -07:00
Conor Patrick 7ef0a1ed84 improve applicability of some tests 2020-08-28 15:03:38 -07: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
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
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