Commit Graph
13 Commits
Author SHA1 Message Date
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
Conor Patrick 7b40f86d8d check rpIdHash is same 2020-03-24 15:16:56 -04:00
Conor Patrick 7881689b86 fix missing timeout in fido2 0.8.0+ 2020-02-27 15:29:45 -05: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
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 af92fbacf8 test user presence behavior 2019-08-15 19:06:52 +08:00
Nicolas Stalder 107484b924 Include isort make target 2019-08-13 22:45:05 +02:00
Conor Patrick 068a661877 move entropy to utils 2019-08-09 11:33:47 +08:00
Nicolas Stalder 87c3fdb8a1 Add black and pre-commit hook 2019-08-08 03:05:15 +02:00
Conor Patrick 77cf91e559 resident keys 2019-08-06 13:35:09 +08:00
Conor Patrick 6722657bf2 refactor more tests 2019-08-05 20:02:20 +08:00
Conor Patrick 94f4818bb7 reorganize 2019-08-05 13:40:54 +08:00