Commit Graph

486 Commits

Author SHA1 Message Date
Dain Nilsson c77d30d456
Fix platform specific type checking. 2022-04-15 13:46:14 +02:00
Dain Nilsson 0436ab9026
Add more type hints. 2022-04-15 13:14:33 +02:00
Dain Nilsson 15c9e37534
Update pre-commit hooks. 2022-04-15 13:14:19 +02:00
Dain Nilsson d2a0d71be6
Fix logging when allowList is None. 2022-04-15 11:43:17 +02:00
Dain Nilsson fd30409b03
Improve type safety. 2022-03-23 17:41:37 +01:00
Dain Nilsson 83625ddf39
Make ClientPin.get_uv_retries return a single int. 2022-03-02 13:12:46 +01:00
Dain Nilsson 15d3107c5e
AttestationVerifier.ca_lookup now returns single certificate. 2022-03-02 13:08:13 +01:00
Dain Nilsson 7c46413675
Handle logging of register_begin with no creds. 2022-02-28 15:39:19 +01:00
Dain Nilsson 9926168e76
More logging to client, server and ctap2 classes. 2022-02-28 15:39:18 +01:00
Dain Nilsson f9090c8e1e
Improve logging in hid and pcsc.
- Don't repeat the same device failures multiple times.
- Better separation of log levels.
2022-02-28 15:39:17 +01:00
Dain Nilsson 18968a99da
Handle optional RP ID in make_credential. 2022-02-28 15:37:45 +01:00
Dain Nilsson 36ea6fcc9d
Update WebAuthn data classes for Level 2. 2022-02-28 15:37:44 +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 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 8f78af003d
Bump cryptography version range. 2022-01-24 14:31:24 +01:00
Dain Nilsson 58471d4af1
Bump version. 2021-11-09 12:26:29 +01:00
Dain Nilsson 5cd89c999a
Prepare 0.9.3. 2021-11-09 12:15:13 +01:00
Dain Nilsson 3bfd130bb1
Run tests on Python 3.10. 2021-11-09 10:41:56 +01:00
Dain Nilsson b411555ea4
Fix formatting (Black). 2021-11-09 09:19:30 +01:00
Dain Nilsson 4f4c48b9d5
Fix formatting (Black). 2021-11-09 09:17:11 +01:00
Dain Nilsson 0b51e8e687
Fix typo. 2021-11-09 09:15:20 +01:00
Rasmus Précenth e78efbfe93
Linux: Fail gracefully on invalid HIDIOCGRAWUNIQ 2021-11-09 09:13:30 +01:00
Dain Nilsson e42eb2206c
Add warning about cryptography 35. 2021-11-09 09:10:10 +01:00
Dain Nilsson 26a590008f
Fix typo. 2021-11-09 09:06:25 +01:00
Dain Nilsson 1fa32fddcb
Merge PR #128. 2021-11-09 09:05:10 +01:00
Dain Nilsson 0ca5ca14b5
Exclude cryptography 35 (see https://github.com/pyca/cryptography/issues/6475). 2021-11-08 09:31:41 +01:00
Dain Nilsson 79b74aa383
Support more key algorithms. 2021-11-08 09:11:01 +01:00
Rasmus Précenth fe6ac8bbab
Linux: Fail gracefully on invalid HIDIOCGRAWUNIQ 2021-11-05 13:45:11 +01:00
Dain Nilsson 30590991cf
Bump version. 2021-10-14 12:48:54 +02:00
Dain Nilsson 0d174f722f
Prepare 0.9.2 2021-10-14 12:34:02 +02:00
Dain Nilsson 36ddc05785
Update server example Pipfile.lock 2021-10-14 12:30:35 +02:00
Dain Nilsson 6e743bb7fb
Update Pipfile.lock. 2021-10-08 16:29:07 +02:00
Dain Nilsson 180db9ba59
Skip TPM test on cryptpgraphy >= 35 for now. 2021-10-08 16:28:37 +02:00
Dain Nilsson 5a96c18db1
Don't install files into site-packages root. 2021-10-07 16:42:09 +02:00
Dain Nilsson b84dc08286
More type annotations. 2021-08-30 16:15:19 +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 6ce5291469
Extract CTAP 1 and 2 backends from Fido2Client. 2021-08-26 11:43:16 +02:00
Dain Nilsson 9749d5a3f5
Don't typecheck openbsd.py on Windows. 2021-08-26 09:11:05 +02:00
Dain Nilsson d82c513cd7
Add support for WEBAUTHN_API_VERSION_3. 2021-08-25 10:24:25 +02:00
Dain Nilsson ad373825ea
Remove unneeded params to super(). 2021-08-20 10:51:26 +02:00
Dain Nilsson f7ddaa2e6f
More dataclasses. 2021-08-20 10:46:55 +02:00
Dain Nilsson 1dc8f0dfc3
Use dataclasses in TPM attestation. 2021-08-20 09:45:26 +02:00
Dain Nilsson fbf1596e54
Introduce f-strings (flynt + manual). 2021-08-19 20:14:28 +02:00
Dain Nilsson 5f7295bfcb
Update server example dependencies. 2021-08-19 14:43:15 +02:00
Dain Nilsson 995d75b4e6
Update Python requirements. 2021-08-19 14:34:25 +02:00
Dain Nilsson 11e0a8dd2f
Fix/cleanup examples. 2021-08-19 14:10:28 +02:00
Dain Nilsson fed257922c
More mypy checks/fixes. 2021-08-19 10:31:20 +02:00
Dain Nilsson f12247ed51
Use aead.AESGCM directly. 2021-08-19 10:16:43 +02:00
Dain Nilsson b6060940eb
Fix large_blobs example. 2021-08-19 10:13:45 +02:00