Commit Graph

384 Commits

Author SHA1 Message Date
Dain Nilsson 06ed6116c7
Prepare 0.9.1 2021-02-03 09:53:53 +01:00
Dain Nilsson 28bbf0fd73
Add missing error codes. 2021-01-31 15:58:11 +01:00
Dain Nilsson 63c3d8e360
Bump version. 2021-01-20 10:58:57 +01:00
Dain Nilsson 3ee0104351
Prepare 0.9.0 release. 2021-01-20 10:45:43 +01:00
Dain Nilsson ac90526f1e
Update Pipfiles. 2021-01-20 10:36:26 +01:00
Dain Nilsson 38ba794cf3
Don't use PermissionError (not available on Python 2) 2021-01-20 09:34:43 +01:00
Dain Nilsson 6e52bde80e
Clean up HID logging. 2021-01-20 09:15:52 +01:00
Dain Nilsson 733c830326
Update NEWS. 2021-01-20 08:55:23 +01:00
Dain Nilsson 3a9bd6339f
Use namedtuple for AttestationResult. 2021-01-20 08:55:02 +01:00
Dain Nilsson 851012d29a
Mac: Don't log errors for non-CTAP devices in list_devices. 2021-01-15 09:33:21 +01:00
Dain Nilsson 244de4ddb7
Add find_library workaround for Big Sur. 2021-01-14 09:53:23 +01:00
Dain Nilsson a1ec5b3ee7
Add verify_attestation example. 2021-01-11 15:20:41 +01:00
Dain Nilsson 1fe7864317
Make attestation verification behavior pluggable. 2021-01-11 14:42:32 +01:00
Dain Nilsson 03031a5bad
Break up attestation into multiple files. 2020-12-29 21:17:08 +01:00
Dain Nilsson 24575bcd38
Add Apple Attestation. 2020-12-29 17:39:48 +01:00
Dain Nilsson a6152055b9
Return attestation type and trust chain. 2020-12-29 15:42:18 +01:00
Dain Nilsson 3b7e3e0007
Handle missing BasicConstraints (fix #106). 2020-12-17 13:08:07 +01:00
Dain Nilsson 2f977d6ae9
Clarify parameters a bit. 2020-12-17 13:00:49 +01:00
Dain Nilsson a6820b5d4d
Merge PR #107. 2020-12-17 12:19:17 +01:00
Dain Nilsson 7624c6e10d
Add new Info keys. 2020-12-17 12:17:47 +01:00
Kostas Georgantas 34b7026237
credential management: update user info of a resident key 2020-12-17 12:11:34 +01:00
Dain Nilsson 5bceb5a214
Minor APDU (CTAP1) fixes. 2020-12-17 10:56:25 +01:00
Dain Nilsson 507818c95e
Allow explicit pin protocol for HmacSecretExtension. 2020-11-30 17:42:52 +01:00
Dain Nilsson 117f606966
Fix tests. 2020-11-30 11:15:28 +01:00
Dain Nilsson 96fc57ad04
Refresh CTAP2 info in client. 2020-11-30 11:09:04 +01:00
Dain Nilsson ae10c6f2ba
Fix sending cancel, and cancel on SIGINT. 2020-11-09 10:25:05 +01:00
Dain Nilsson 69cc64deba
Fix return value when no templates exist. 2020-11-09 10:24:21 +01:00
Dain Nilsson 8c3e4d00a1
Fix CtapError handling. 2020-11-03 10:56:46 +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 0912c31478
Less verbose logging on Windows HID devices. 2020-10-30 10:10:48 +01:00
Dain Nilsson a71fd703e0
Remove unreachable code. 2020-10-29 14:47:20 +01:00
Dain Nilsson 9dbdfd5354
UV token fixes. 2020-10-28 13:04:00 +01:00
Dain Nilsson 5f67b612d6
Fix on_keepalive status byte. 2020-10-28 12:47:33 +01:00
Dain Nilsson a00150ee2c
Fix AD for Large Blobs. 2020-10-22 13:48:55 +02:00
Dain Nilsson 0522ddeeb0
Split ctap2.py into separate files. 2020-10-19 16:21:55 +02:00
Dain Nilsson ee319bea29
Add support for AuthenticatorConfig. 2020-10-19 15:06:46 +02:00
Dain Nilsson 7452779197
Add large blob support. 2020-10-19 12:16:32 +02:00
Dain Nilsson 7b0a193878
Add authenticatorSelection. 2020-10-16 15:20:19 +02:00
Dain Nilsson e1790cba69
Python 2 fix: Use array instead of bytearray for ioctl. 2020-10-15 14:33:48 +02:00
Dain Nilsson 40b92974d2
Merge PR #102 2020-10-07 08:32:23 +02:00
Dain Nilsson 0d31400877
Add check to os.write and some minor cleanups. 2020-10-06 15:53:37 +02:00
Dain Nilsson b65e79f96b
Clean up logging a bit. 2020-10-02 17:22:12 +02:00
Gabriel Kihlman 36c4e1448f
Merge pull request #101 from Yubico/test-codeql
actions: add CodeQL scanning
2020-10-02 17:21:14 +02:00
Dain Nilsson 95792be016
Minor fixes. 2020-10-02 16:27:42 +02:00
Dain Nilsson a862fdaa93
Make sure to release objects in on Mac. 2020-10-02 16:27:39 +02:00
Dain Nilsson f416734853
Remove/fix broken tests. 2020-10-02 16:27:35 +02:00
Dain Nilsson cfebc3b5e5
Refactor CTAP HID implementation. 2020-10-02 16:27:33 +02:00
Dain Nilsson 526013f9b7
Reformat with Black. 2020-10-02 16:27:30 +02:00