Dain Nilsson
5575d5838c
Update pre-commit hooks.
2023-07-06 12:34:06 +02:00
Dain Nilsson
1143d471ef
Skip TPM attestation test if SHA1 is unsupported.
2023-04-21 15:33:42 +02:00
Dain Nilsson
e21341312c
Add new flags: Backup eligibility and state.
2022-09-20 13:09:52 +02:00
Dain Nilsson
709599f98c
Update tests for webauthn_json_mapping.
2022-08-10 15:43:58 +02:00
Dain Nilsson
b674c2b5ac
Fix crossOrigin case in CollectedClientData.
2022-06-27 15:13:41 +02:00
Dain Nilsson
abe66f1385
Add enterprise attestation.
2022-05-18 09:40:34 +02:00
Dain Nilsson
70808bd093
Fix test broken by 8c1ca676c3
.
2022-05-18 09:33:55 +02:00
Dain Nilsson
452a02dd06
Drop legacy U2F code.
...
- Remove U2fClient implementation.
- Replace fido2.client.ClientData with fido2.webauthn.CollectedClientData.
- Move verify_app_id from fido2.rpid to fido2.client.
2022-04-26 16:43:44 +02:00
Dain Nilsson
77b7fb6990
Bump minimum dependency versions.
2022-04-25 13:18:34 +02:00
Dain Nilsson
221b822b12
Use unittest.mock instead of mock.
2022-04-25 12:32:40 +02:00
Dain Nilsson
31148ab930
Add Aaguid class.
2022-04-22 17:14:03 +02:00
Dain Nilsson
966e38ee72
Add metadata filtering.
2022-04-22 15:47:19 +02:00
Dain Nilsson
53a32a4412
Add mds3 support.
2022-04-21 14:53:59 +02:00
Dain Nilsson
f2237d4f65
Use _DataClassMapping for CTAP2 CBOR maps.
2022-04-20 11:14:38 +02:00
Dain Nilsson
0e961839f1
Refactor WebAuthn data classes.
...
Breaking: The order of 'name' and 'id' arguments has been swapped in the
RP and User Entity classes.
2022-04-19 09:54:43 +02:00
Dain Nilsson
fd30409b03
Improve type safety.
2022-03-23 17:41:37 +01:00
Dain Nilsson
36ea6fcc9d
Update WebAuthn data classes for Level 2.
2022-02-28 15:37:44 +01:00
Dain Nilsson
80e79cc048
Update pre-commit hooks
...
- Don't run pre-commit on Py <= 3.6
- Remove unavailable python versions from Actions
2022-02-18 18:26:59 +01:00
Dain Nilsson
07a65065e9
Refactor client classes.
...
- Introduce UserInteraction to query for PIN, UV, etc. (replaces passing
PIN directly).
- Enable Extensions to require PIN/UV token (needed for LargeBlobs).
- Update examples and tests.
2021-08-27 15:31:59 +02:00
Dain Nilsson
6ce5291469
Extract CTAP 1 and 2 backends from Fido2Client.
2021-08-26 11:43:16 +02:00
Dain Nilsson
eae65b57a0
Merge branch 'drop-py2' into next-py3.
2021-08-18 17:25:04 +02:00
Dain Nilsson
69815e4017
Start migration to Poetry.
2021-07-05 12:56:36 +02:00
Dain Nilsson
9c0d468419
Refactor webauthn classes.
...
- More dataclasses.
- Move binary data classes from ctap2 to webauthn.
- Separate (ctap) AttestationResponse from AttestationObject.
2021-02-03 08:36:28 +01:00
Dain Nilsson
a64b1caf1b
More Python 3.
...
- More datatypes
- More typing
- Use IntFlag
2021-02-01 17:13:00 +01:00
Dain Nilsson
525550120c
Replace binascii with bytes.fromhex and .hex().
2021-01-31 17:00:57 +01:00
Dain Nilsson
1c45c611fb
Remove __future__ imports.
2021-01-31 16:36:26 +01:00
Dain Nilsson
6749f8cfe9
Remove six.
2021-01-31 16:29:05 +01:00
Dain Nilsson
450c70d525
Start migration to Poetry.
2021-01-20 15:03:10 +01:00