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
Dain Nilsson
eae65b57a0
Merge branch 'drop-py2' into next-py3.
2021-08-18 17:25:04 +02:00
Dain Nilsson
9f5cab8c22
Add support for WEBAUTHN_API_VERSION_3.
2021-08-17 15:12:47 +02:00
Dain Nilsson
a243139778
Re-add six as a dependency.
2021-07-05 12:58:14 +02:00
Dain Nilsson
00062bab5c
More Poetry.
2021-07-05 12:58:13 +02:00
Dain Nilsson
daeebf184a
Remove Python 2 from debian.
2021-07-05 12:58:04 +02:00
Dain Nilsson
ef8e3c91f8
Update GitHub Actions to use poetry.
2021-07-05 12:58:02 +02:00
Dain Nilsson
b7409245a3
More poetry.
2021-07-05 12:57:04 +02:00
Dain Nilsson
0e7fd9a7d5
Add mypy.
2021-07-05 12:56:37 +02:00
Dain Nilsson
69815e4017
Start migration to Poetry.
2021-07-05 12:56:36 +02:00
Dain Nilsson
dc6e24e7f8
Update pre-commit hooks.
2021-07-05 12:56:33 +02:00
Jonathan Morrison
1769dc1982
Reference Yubico Linux Instructions
2021-05-11 11:45:16 -06:00
Dain Nilsson
c42d9628a4
Merge PR #114 .
2021-04-28 12:38:52 +02:00
Dain Nilsson
f7f12da932
Merge PR #115 .
2021-04-28 09:09:54 +02:00
Enrik Berkhan
7777e061ea
Linux: remove trailing zeroes from serial
...
The changes of #113 left trailing zeroes in the serial number and
product name on Linux.
The ioctl() for retrieving the attributes returns the string length on
success. Use the returned value to retrieve strings of the correct
length.
2021-04-27 17:51:39 +02:00
Enrik Berkhan
d7dc74ab37
FreeBSD: rework /dev directory iteration.
...
Switch to glob.glob() as per review feedback.
2021-03-20 20:21:25 +01:00
Enrik Berkhan
98eb355339
FreeBSD: improve buffer initialization.
...
create_string_buffer() zeroes by default. Also avoids off-by-one
overallocation. (review feedback)
Use known buffer length when re-using buffer without re-initialization.
2021-03-20 20:20:19 +01:00
Enrik Berkhan
bd36cbcf35
FreeBSD: remove dependency on uhid-freebsd.
2021-03-19 10:55:47 +01:00
Dain Nilsson
142587b3e6
Fix test on python2.
2021-03-17 11:16:50 +01:00