Commit Graph
105 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 e5e2cfbe91 pin fido2 dep 2021-03-16 21:24:49 -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 5ec00ecccd Make assertion verification not require field credential
The FIDO2 standard
(https://fidoalliance.org/specs/fido-v2.0-ps-20190130/fido-client-to-authenticator-protocol-v2.0-ps-20190130.html#authenticatorGetAssertion)
states that the field `credential` "may be omitted if the allowList has
exactly one Credential."

Allow `auth.credential` to be `None`.
2021-01-27 20:14:05 -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 9561b5b502 add seedweed to requirements 2020-11-05 18:47:43 +01:00
Conor Patrick f85743fafc use seedweed vectors for verifying dicekeys 2020-11-05 18:47:43 +01:00
Conor Patrick a7041a2244 add tests for dicekeys style backup 2020-10-18 16:52:52 -07:00
Conor Patrick d3ef22a342 use same reboot for solo B 2020-10-18 16:52:52 -07: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 4645018982 test depth-first-search of creds and interleave RP's 2020-03-27 00:33:02 -04:00
Conor Patrick e5ebcab508 support reboot command for latest solo fw and better testing 2020-03-25 14:26:30 -04:00
Conor Patrick 0a97adc5ec fix bad_pinauth tests for real devices 2020-03-25 14:26:30 -04:00
Conor Patrick 8a5ccc79ae test enumeration more 2020-03-25 14:26:30 -04:00
Conor Patrick 456fe78613 more tests 2020-03-25 14:26:30 -04:00
Conor Patrick 2376dc7eb4 add credprotect and cred delete tests 2020-03-25 14:26:30 -04:00
Conor Patrick 9705b17d66 single account lookups do not have extra user details 2020-03-25 14:24:49 -04:00