Commit Graph

551 Commits

Author SHA1 Message Date
Dain Nilsson 08e1c45c93
Skip pre-commit on Py3.7 for now.
See: https://github.com/PyCQA/flake8/issues/1701
This hopefully gets resolved in flake8 and can be re-enabled.
2022-10-17 15:36:35 +02:00
Dain Nilsson d3ec6174ae
Update pre-commit. 2022-10-17 15:30:30 +02:00
Dain Nilsson cfd7f6b0c0
Prepare 1.1.0. 2022-10-17 12:42:39 +02:00
Dain Nilsson 71a317b12d
Update server example. 2022-10-17 12:42:16 +02:00
Dain Nilsson 026c6a7f8d
Set version. 2022-10-17 12:41:58 +02:00
Dain Nilsson 8c00d04945
Update NEWS. 2022-09-20 13:09:53 +02:00
Dain Nilsson e21341312c
Add new flags: Backup eligibility and state. 2022-09-20 13:09:52 +02:00
Dain Nilsson fabb844bce
Add "hybrid" Authenticator Transport. 2022-09-20 09:43:57 +02:00
Dain Nilsson 791ef6eba9
Merge PR #150. 2022-09-20 09:40:49 +02:00
Dain Nilsson 27cd3dda54
Remove old unused code in example. 2022-09-12 14:37:29 +02:00
Dain Nilsson cd9e6cbd59
Fix BioEnroll.is_supported and use it in example.
The wrong key was being checked, preventing Authenticators implementing
only the Prototype bioEnrollment command from being considered supported.
2022-08-31 12:43:41 +02:00
Dain Nilsson 103df1b456
Raise more descriptive error on failure to parse data classes. 2022-08-24 09:18:28 +02:00
Dain Nilsson ae048d06ff
Add license header to file. 2022-08-24 09:08:33 +02:00
Dain Nilsson 15ec60a3c4
Update NEWS. 2022-08-10 16:11:19 +02:00
Dain Nilsson 4a07a4d004
Update server example to use JSON serialization. 2022-08-10 16:10:53 +02:00
Dain Nilsson 354672b9ce
Provide better support in Fido2Server for (de-)serializing JSON.
This allows the "options" returned by register_begin/authenticate_begin
to more easily be serialized to JSON, as well as supporting responses
deserialized from JSON to register_complete/authenticate_complete.

See: #146.
2022-08-10 15:45:39 +02:00
Dain Nilsson 709599f98c
Update tests for webauthn_json_mapping. 2022-08-10 15:43:58 +02:00
Dain Nilsson 8debc41942
Add support for WebAuthn data class JSON serialization.
See https://github.com/w3c/webauthn/issues/1683 for details.
2022-08-10 15:41:27 +02:00
Dain Nilsson f7e8c59649
Fix incorrect type hints in mds3. 2022-08-10 15:39:32 +02:00
Dain Nilsson fa5e9fcce5
More strict type checking of data class fields. 2022-08-10 15:38:46 +02:00
Dain Nilsson 19bc5ce15a
Clean up annotations. 2022-08-09 17:39:39 +02:00
Dain Nilsson b674c2b5ac
Fix crossOrigin case in CollectedClientData. 2022-06-27 15:13:41 +02:00
Dain Nilsson 5e40339a7c
Merge PR #143. 2022-06-27 14:28:54 +02:00
Michael Gmelin e1050b575b
Fix typo in comment 2022-06-27 14:28:39 +02:00
Dain Nilsson d8542e82de
Merge PR #142. 2022-06-27 14:07:40 +02:00
Markus Meissner 35db7f2f5c
adding py.typed to enable mypy, if used as library 2022-06-27 11:11:57 +02:00
Dain Nilsson b546c0d629
Bump version. 2022-06-08 09:59:01 +02:00
Dain Nilsson e327e33fe0
Prepare release 1.0.0. 2022-06-08 09:42:33 +02:00
Dain Nilsson 0f89a0901f
Update server example dependencies. 2022-06-08 09:42:32 +02:00
Dain Nilsson ea1bdf3589
Include tests and examples in sdist. 2022-06-08 09:38:04 +02:00
Dain Nilsson dcfd82464f
Bump cryptography supported version (current + 2). 2022-06-08 09:20:18 +02:00
Dain Nilsson 1dd112a340
Update release instructions. 2022-06-08 09:16:03 +02:00
Dain Nilsson dfdae68031
Update public_suffix_list. 2022-06-08 09:06: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 2a202d0e19
Merge PR #139. 2022-05-18 09:28:19 +02:00
Michael Gmelin 952b5b568b
Fix off-by-one.
Intentionally done in a very verbose way to make future changes
easier.
2022-05-18 09:27:36 +02:00
Michael Gmelin 1ce6df67d6
Correct length calculation for HIDIOCGRAWNAME and HIDIOCGRAWUNIQ 2022-05-18 09:27:35 +02:00
Michael Gmelin 1655099499
Fix and extend FreeBSD support
This unbreaks FreeBSD support that was damaged when removing
the dependency on uhid-freebsd in bd36cbcf35.

It also adds support for FreeBSD 13's optional hidraw(4) driver
that will become the default eventually.
2022-05-18 09:27:33 +02:00
Dain Nilsson ceb6deffe3
Remove debug print. 2022-05-18 09:18:34 +02:00
Dain Nilsson 8c1ca676c3
Use keyword-only arguments for event and on_keepalive. 2022-05-17 09:58:12 +02:00
Dain Nilsson 5d87ebe714
Set date for release. 2022-05-02 17:28:59 +02:00
Dain Nilsson 6c50014762
Add FIDO MDS3 example. 2022-05-02 17:20:32 +02:00
Dain Nilsson ad64143cb9
Fix wrong variable name. 2022-05-02 17:09:39 +02:00
Dain Nilsson fa5b2e3d2c
Include tests in sdist. 2022-05-02 16:38:32 +02:00
Dain Nilsson 8afa330918
Prepare 1.0.0rc1. 2022-05-02 13:09:43 +02:00
Dain Nilsson d995c21b97
Update public_suffix_list. 2022-04-27 10:15:30 +02:00
Dain Nilsson db24c8b6bf
Fix outdated examples. 2022-04-26 17:37:33 +02:00
Dain Nilsson a046a5a9e8
Update server example for CollectedClientData changes. 2022-04-26 16:49:42 +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