Joost van Dijk
8b979313e9
allow http://localhost origins
2024-04-03 10:23:53 +02:00
Dain Nilsson
b5686b3faf
Bump pre-commit hooks and server example lockfile
2024-03-12 16:21:24 +01:00
Dain Nilsson
8253b96f8e
Drop support for Python 3.7 (EOL)
2024-03-04 12:36:37 +01:00
Dain Nilsson
f36cade5e9
Bump server example dependencies
2024-03-04 10:56:50 +01:00
Alexandre Detiste
526e1ab7a0
remove last reference to six
...
Signed-off-by: Alexandre Detiste <alexandre.detiste@gmail.com>
2023-10-19 00:54:41 +02:00
Dain Nilsson
ed9f50a117
Bump dependencies.
2023-07-06 11:59:04 +02:00
Dain Nilsson
cbe72665e1
Fix handling of error codes in authenticatorSelection ( fix #184 ).
2023-06-26 12:22:36 +02:00
Dain Nilsson
737fd76a27
Increase range for supported cryptography versions.
...
Also bump dependencies in server example.
2023-04-05 10:59:55 +02:00
Dain Nilsson
bcefd244e6
Update dependencies for server sample.
2022-11-22 14:52:58 +01:00
Dain Nilsson
71a317b12d
Update server example.
2022-10-17 12:42:16 +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
4a07a4d004
Update server example to use JSON serialization.
2022-08-10 16:10:53 +02:00
Dain Nilsson
0f89a0901f
Update server example dependencies.
2022-06-08 09:42:32 +02:00
Dain Nilsson
6c50014762
Add FIDO MDS3 example.
2022-05-02 17:20:32 +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
30ee871c3a
Fix: Use RFC1951 DEFLATE for large blobs.
2022-04-25 12:42:05 +02:00
Dain Nilsson
7e77545e36
Move AttestationVerifier from server to attestation.
2022-04-21 13:02:33 +02:00
Dain Nilsson
7985a4966a
Update examples.
2022-04-21 09:57:36 +02:00
Dain Nilsson
90d0f63379
Update server example.
2022-04-20 11:23:59 +02:00
Dain Nilsson
fd30409b03
Improve type safety.
2022-03-23 17:41:37 +01:00
Dain Nilsson
15d3107c5e
AttestationVerifier.ca_lookup now returns single certificate.
2022-03-02 13:08:13 +01:00
Dain Nilsson
b039820fad
Merge branch 'master' into next.
2022-02-28 13:21:42 +01:00
Dain Nilsson
dd5662ca7b
Start registration/authentication from button ( fix #134 ).
...
This is required for the example server to work in Safari.
2022-02-28 12:21:10 +01:00
Dain Nilsson
36ddc05785
Update server example Pipfile.lock
2021-10-14 12:30:35 +02: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
5f7295bfcb
Update server example dependencies.
2021-08-19 14:43:15 +02:00
Dain Nilsson
11e0a8dd2f
Fix/cleanup examples.
2021-08-19 14:10:28 +02:00
Dain Nilsson
b6060940eb
Fix large_blobs example.
2021-08-19 10:13:45 +02:00
Dain Nilsson
eae65b57a0
Merge branch 'drop-py2' into next-py3.
2021-08-18 17:25:04 +02:00
Enrik Berkhan
66132b7e0c
Serial Number: rename getter serial() -> serial_number().
2021-03-16 19:38:54 +01:00
Enrik Berkhan
730591e981
Serial Number: cosmetic cleanup.
2021-03-16 19:38:54 +01:00
Enrik Berkhan
6bc40d1b6e
USB HID: add product name and serial to descriptor.
...
Tested:
- Linux
- Windows
- MacOS
- OpenBSD
- FreeBSD (needs updated uhid-freebsd)
(product/serial number OK, but fragmented CTAP messages did not work
in my VM setup?)
2021-03-16 19:38:54 +01:00
Dain Nilsson
e9e56457d7
More UV updates.
...
- Sync CTAP error codes from spec.
- Forward event and on_keepalive to ClientPin for get_uv_token.
2021-02-21 13:53:18 +01:00
Dain Nilsson
b1503b0358
Update pipfiles.
2021-02-16 08:53:55 +01: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
e289d58f6d
Update server example for poetry.
2021-02-02 13:11:45 +01:00
Dain Nilsson
a64b1caf1b
More Python 3.
...
- More datatypes
- More typing
- Use IntFlag
2021-02-01 17:13:00 +01:00
Dain Nilsson
a1ec5b3ee7
Add verify_attestation example.
2021-01-11 15:20:41 +01:00
Dain Nilsson
193d394c33
Cleanups and example improvements,
2020-10-30 16:15:53 +01:00
Dain Nilsson
f1fe637064
Update Pipfiles.
2020-10-30 15:07:16 +01:00
Dain Nilsson
d44a7d6d3e
Refactor extensions.
...
- Fido2Client optionally takes extension_types (default: all)
- Client make_credential and get_assertion now return objects containing
extension outputs.
2020-10-30 15:02:56 +01:00
Dain Nilsson
9dbdfd5354
UV token fixes.
2020-10-28 13:04:00 +01:00
Dain Nilsson
7452779197
Add large blob support.
2020-10-19 12:16:32 +02:00
Dain Nilsson
d1005d4a1c
Expose remaining samples from FPEnrollmentContext.
2020-08-28 09:29:15 +02:00
Dain Nilsson
26291acdf8
Use longer names for permissions constants.
2020-08-27 08:39:11 +02:00
Dain Nilsson
fdf8d50699
More complete PIN/UV permissions.
2020-08-27 08:39:01 +02:00
Dain Nilsson
d2f6942e46
Update hmac-secret extension.
2020-08-27 08:38:56 +02:00