| 1 |
* Version 2.2.1 (released 2026-06-29) |
| 2 |
** Server example: Migrate build tool from poetry to uv. |
| 3 |
** Fix: Correctly format att_obj in previewSign. |
| 4 |
|
| 5 |
* Version 2.2.0 (released 2026-04-15) |
| 6 |
** Restrict DLL search paths (YSA-2026-01). |
| 7 |
** Add support for experimental previewSign extension: |
| 8 |
https://yubicolabs.github.io/webauthn-sign-extension/4/#sctn-sign-extension |
| 9 |
** Add support for PSL wildcard and exception rules to RP validation. |
| 10 |
** Fix: WindowsClient hmac_secret extension raising Null pointer access error. |
| 11 |
** Fix: TPM attestation certificate Subject field validation. |
| 12 |
|
| 13 |
* Version 2.1.1 (released 2026-01-19) |
| 14 |
** Fix: Platform detection in fido2.hid module for BSD's. |
| 15 |
|
| 16 |
* Version 2.1.0 (released 2026-01-14) |
| 17 |
** CTAP 2.3 support: |
| 18 |
*** Add new GetInfo fields: enc_cred_store_state. |
| 19 |
*** Add support for pinComplexityPolicy extension. |
| 20 |
*** Add thirdPartyPayment bit to credman. |
| 21 |
*** Check support for config subcommands. |
| 22 |
** WebAuthn: |
| 23 |
*** Allow UserEntity without 'name' field for improved spec compliance. |
| 24 |
*** Update MDS3 dataclasses with new fields. |
| 25 |
** Fido2Client: |
| 26 |
*** Fallback to PIN after UV_BLOCKED error. |
| 27 |
*** Improve preflight handling when message exceeds maximum size. |
| 28 |
** WindowsClient: |
| 29 |
*** Fix: Parse 'credentialProtectionPolicy' properly. |
| 30 |
*** Update win_api.py from latest webauthn.h. |
| 31 |
*** Add support for hmac-secret-mc extension. |
| 32 |
*** Add support for hints. |
| 33 |
** Development: |
| 34 |
*** Switch from Poetry to uv for project management. |
| 35 |
*** Add pyright and ty for improved type checking. |
| 36 |
*** Replace bandit and flake8 with ruff for linting. |
| 37 |
|
| 38 |
* Version 2.0.0 (released 2025-05-20) |
| 39 |
** See also the migration guide: doc/Migration_1-2.adoc. |
| 40 |
** Python 3.10 or later is now required. |
| 41 |
** WebAuthn dataclasses have been updated to align with the WebAuthn Level 3 |
| 42 |
Working Draft. Constructors now require keyword arguments (`kwargs_only=True`), |
| 43 |
and serialization to/from dictionaries is compatible with standardized JSON |
| 44 |
formats. |
| 45 |
** The `features.webauthn_json_mapping` flag has been removed, as its |
| 46 |
behavior (standardized JSON mapping) is now default. |
| 47 |
** `Fido2Client` and `WindowsClient` constructors now accept a |
| 48 |
`ClientDataCollector` instance instead of `origin` and `verify` parameters. |
| 49 |
** `WindowsClient` has been relocated to `fido2.client.windows`. Importing this |
| 50 |
class on non-Windows platforms will now raise an `ImportError`. |
| 51 |
** `Fido2Client` methods now return `RegistrationResponse` and |
| 52 |
`AuthenticationResponse` objects, instead of raw attestation/assertion data. |
| 53 |
** CTAP2/WebAuthn extension handling has been redesigned. `Fido2Client` now |
| 54 |
expects a list of `Ctap2Extension` instances. Default behavior includes |
| 55 |
extensions commonly supported by browsers. |
| 56 |
** The `fido2.cbor` module's `load_x` and `dump_x` functions have been made |
| 57 |
private (renamed with a leading underscore) and should not be used directly. |
| 58 |
** Previously deprecated functions and APIs have been removed. |
| 59 |
** The `__version__` attribute in `fido2/__init__.py` has been removed. Use |
| 60 |
`importlib.metadata.version('fido2')` to get the package version. |
| 61 |
** Add new GetInfo fields based on CTAP 2.2. |
| 62 |
** Add support for Persistent PinUvAuthToken and encIdentifier. |
| 63 |
** Add support for hmac-secret-mc and thirdPartyPayments exensions. |
| 64 |
** Update COSE algorithm types. |
| 65 |
** Building the library now requires Poetry version 2.0 or later. |
| 66 |
|
| 67 |
* Version 1.2.0 (released 2024-11-27) |
| 68 |
** Improved extension handling: |
| 69 |
Several new extensions are now supported, both for Fido2Client and WindowsClient. |
| 70 |
Extension APIs have been redesigned, and old APIs have been deprecated, slated for |
| 71 |
removal in version 2.0. |
| 72 |
*** Disable hmac-secret extension by default, preferring prf. |
| 73 |
** Improved (de-)serialization of dataclasses to/from JSON-friendly dicts. |
| 74 |
** Fido2Client: |
| 75 |
*** Support allowCredentials/excludeCredentials of arbitrary length. |
| 76 |
*** Handle PUAT_REQUIRED by re-attempting with PIN/UV. |
| 77 |
** Allow localhost (and subdomains) to use http:// in RP ID verification by default. |
| 78 |
** NFC: Support for Authenticators that return SW=61XX on SELECT. |
| 79 |
** USB: Improve connection recovery and use more specific exceptions for errors. |
| 80 |
** Fix: Handle residentKey=preferred properly. |
| 81 |
** Fix: Handle Authentictors that do not pass extensions in GetInfo. |
| 82 |
|
| 83 |
* Version 1.1.3 (released 2024-03-13) |
| 84 |
** Fix USB HID issue on MacOS that sometimes caused a pause while waiting for a |
| 85 |
timeout. |
| 86 |
** Fix argument to CredProp extension where an enum value was required instead of |
| 87 |
also allowing a string. |
| 88 |
** Fix parsing of some key types (ES384, ES512) causing signature verification to fail. |
| 89 |
** Deprecation: Calling websafe_decode with a bytes argument instead of str. |
| 90 |
This will raise a TypeError in the next major version of the library. |
| 91 |
|
| 92 |
* Version 1.1.2 (released 2023-07-06) |
| 93 |
** Fix ClientPin usage for Authenticators that do not support passing a PIN. |
| 94 |
** Fix: Handle correct CTAP response codes in authenticatorSelection. |
| 95 |
|
| 96 |
* Version 1.1.1 (released 2023-04-05) |
| 97 |
** Add community provided support for NetBSD. |
| 98 |
** Bugfix: Don't set length for largeBlob when offset is 0. |
| 99 |
** Bugfix: Remove print statement in webauthn parsing. |
| 100 |
|
| 101 |
* Version 1.1.0 (released 2022-10-17) |
| 102 |
** Bugfix: Fix name of "crossOrigin" in CollectedClientData.create(). |
| 103 |
** Bugfix: Some incorrect type hints in the MDS3 classes were fixed. |
| 104 |
** Stricter checking of dataclass field types. |
| 105 |
** Add support for JSON-serialization of WebAuthn data classes. |
| 106 |
This changes the objects dict representation to align with new additions in the |
| 107 |
WebAuthn specification. As this may break compatibility, the new behavior |
| 108 |
requires explicit opt-in until python-fido2 2.0 is released. |
| 109 |
** Update server example to use JSON serialization. |
| 110 |
** Server: Add support for passing RegistrationResponse/AuthenticationResponse (or |
| 111 |
their deserialized JSON data) to register_complete/authenticate_complete. |
| 112 |
** Add new "hybrid" AuthenticatorTransport. |
| 113 |
** Add new AuthenticatorData flags, and use 2-letter names as in the WebAuthn spec |
| 114 |
(long names are still available as aliases). |
| 115 |
|
| 116 |
* Version 1.0.0 (released 2022-06-08) |
| 117 |
** First stable release. |
| 118 |
|
| 119 |
* Version 1.0.0rc1 (released 2022-05-02) |
| 120 |
** Release Candidate 1 of first stable release. |
| 121 |
** Require Python 3.7 or later. |
| 122 |
** APIs have updated to align with WebAuthn level 2. |
| 123 |
** Several CTAP 2.1 features have been implemented. |
| 124 |
|
| 125 |
* Version 0.9.3 (released 2021-11-09) |
| 126 |
** Bugfix: Linux - Don't fail device discovery when hidraw doesn't support |
| 127 |
HIDIOCGRAWUNIQ (Linux kernels before 5.6). |
| 128 |
|
| 129 |
* Version 0.9.2 (released 2021-10-14) |
| 130 |
** Support the latest Windows webauthn.h API (included in Windows 11). |
| 131 |
** Add product name and serial number to HidDescriptors. |
| 132 |
** Remove the need for the uhid-freebsd dependency on FreeBSD. |
| 133 |
|
| 134 |
* Version 0.9.1 (released 2021-02-03) |
| 135 |
** Add new CTAP error codes and improve handling of unknown codes. |
| 136 |
|
| 137 |
* Version 0.9.0 (released 2021-01-20) |
| 138 |
** Server: Attestation is now done in two parts (to align better with the spec): |
| 139 |
First, type-specific validation is done to provide a trust chain. |
| 140 |
Second, validation of the trust chain is done. |
| 141 |
** Client: API changes to better support extensions. |
| 142 |
*** Fido2Client can be configured with Ctap2Extensions to support. |
| 143 |
*** Client.make_credential now returns a AuthenticatorAttestationResponse, |
| 144 |
which holds the AttestationObject and ClientData, as well as any client |
| 145 |
extension results for the credential. |
| 146 |
*** Client.get_assertion now returns an AssertionSelection object, which is |
| 147 |
used to select between multiple assertions, resulting in an |
| 148 |
AuthenticatorAssertionResponse, which holds the ClientData, assertion |
| 149 |
values, as well as any client extension results for the assertion. |
| 150 |
** Renames: The CTAP1 and CTAP2 classes have been renamed to Ctap1 and Ctap2, |
| 151 |
respectively. The old names currently work, but will be removed in the |
| 152 |
future. |
| 153 |
** ClientPin: The ClientPin API has been restructured to support multiple PIN |
| 154 |
protocols, UV tokens, and token permissions. |
| 155 |
** CTAP 2.1 PRE: Several new features have been added for CTAP 2.1, including |
| 156 |
Credential Management, Bio Enrollment, Large Blobs, and Authenticator Config. |
| 157 |
** HID: The platform specific HID code has been revamped and cleaned up. |
| 158 |
|
| 159 |
* Version 0.8.1 (released 2019-11-25) |
| 160 |
** Bugfix: WindowsClient.make_credential error when resident key requirement is |
| 161 |
unspecified. |
| 162 |
|
| 163 |
* Version 0.8.0 (released 2019-11-25) |
| 164 |
** New fido2.webauthn classes modeled after the W3C WebAuthn spec introduced. |
| 165 |
** CTAP2 send_cbor/make_credential/get_assertion and U2fClient |
| 166 |
request/authenticate `timeout` arguments replaced with `event` used to |
| 167 |
cancel a request. |
| 168 |
** Fido2Client: |
| 169 |
*** make_credential/get_assertion now take WebAuthn options objects. |
| 170 |
*** timeout is now provided in ms in WebAuthn options objects. Event based |
| 171 |
cancelation also available by passing an Event. |
| 172 |
** Fido2Server: |
| 173 |
*** ATTESTATION, USER_VERIFICATION, and AUTHENTICATOR_ATTACHMENT enums |
| 174 |
have been replaced with fido2.webauthn classes. |
| 175 |
*** RelyingParty has been replaced with PublicKeyCredentialRpEntity, and |
| 176 |
name is no longer optional. |
| 177 |
*** Options returned by register_begin/authenticate_begin now omit unspecified |
| 178 |
values if they are optional, instead of filling in default values. |
| 179 |
*** Fido2Server.allowed_algorithms now contains a list of |
| 180 |
PublicKeyCredentialParameters instead of algorithm identifiers. |
| 181 |
*** Fido2Server.timeout is now in ms and of type int. |
| 182 |
** Support native WebAuthn API on Windows through WindowsClient. |
| 183 |
|
| 184 |
* Version 0.7.3 (released 2019-10-24) |
| 185 |
** Bugfix: Workaround for size of int on Python 2 on Windows. |
| 186 |
|
| 187 |
* Version 0.7.2 (released 2019-10-24) |
| 188 |
** Support for the TPM attestation format. |
| 189 |
** Allow passing custom challenges to register/authenticate in Fido2Server. |
| 190 |
** Bugfix: CTAP2 CANCEL command response handling fixed. |
| 191 |
** Bugfix: Fido2Client fix handling of empty allow_list. |
| 192 |
** Bugfix: Fix typo in CTAP2.get_assertions() causing it to fail. |
| 193 |
|
| 194 |
* Version 0.7.1 (released 2019-09-20) |
| 195 |
** Support for FreeBSD. |
| 196 |
** Enforce canonical CBOR on Authenticator responses by default. |
| 197 |
** PCSC: Support extended APDUs. |
| 198 |
** Server: Verify that UP flag is set. |
| 199 |
** U2FFido2Server: Implement AppID exclusion extension. |
| 200 |
** U2FFido2Server: Allow custom U2F facet verification. |
| 201 |
** Bugfix: U2FFido2Server.authenticate_complete now returns the result. |
| 202 |
|
| 203 |
* Version 0.7.0 (released 2019-06-17) |
| 204 |
** Add support for NFC devices using PCSC. |
| 205 |
** Add support for the hmac-secret Authenticator extension. |
| 206 |
** Honor max credential ID length and number of credentials to Authenticator. |
| 207 |
** Add close() method to CTAP devices to explicitly release their resources. |
| 208 |
|
| 209 |
* Version 0.6.0 (released 2019-05-10) |
| 210 |
** Don't fail if CTAP2 Info contains unknown fields. |
| 211 |
** Replace cbor loads/dumps functions with encode/decode/decode_from. |
| 212 |
** Server: Add support for AuthenticatorAttachment. |
| 213 |
** Server: Add support for more key algorithms. |
| 214 |
** Client: Expose CTAP2 Info object as Fido2Client.info. |
| 215 |
|
| 216 |
* Version 0.5.0 (released 2018-12-21) |
| 217 |
** Changes to server classes, some backwards breaking. |
| 218 |
** Add ability to authenticate U2F credentials by using the appid extension. |
| 219 |
** Make verification of attestation more explicit. |
| 220 |
** Add support for Android SafetyNet attestation. |
| 221 |
** Make it easier to work with U2F/CTAP1 data formats. |
| 222 |
|
| 223 |
* Version 0.4.0 (released 2018-09-27) |
| 224 |
** Add classes for implementing a server. |
| 225 |
** Various small changes, some affecting backwards compatibility. |
| 226 |
|
| 227 |
* Version 0.3.0 (released 2018-04-13) |
| 228 |
** Add conversion between string/int keys for AttestationObject. |
| 229 |
** Replace internal Exceptions with built-in types. |
| 230 |
** Bugfix: Don't use TimeoutError which isn't available on Python 2. |
| 231 |
|
| 232 |
* Version 0.2.2 (released 2018-04-11) |
| 233 |
** Bugfix: Better handling of unplugged devices on MacOS and avoid leaking threads. |
| 234 |
|
| 235 |
* Version 0.2.1 (released 2018-04-10) |
| 236 |
** Add server example. |
| 237 |
** Parse AttestationObjects that use string keys (Webauthn). |
| 238 |
** Fix bug in handling packets with the wrong channel id. |
| 239 |
|
| 240 |
* Version 0.2.0 (released 2018-04-05) |
| 241 |
** Changed name of project to python-fido2 to better reflect its scope. |
| 242 |
** Added attestation and assertion verification methods. |
| 243 |
** A lot of name changes, moved classes, etc. |
| 244 |
** New example for multi-device use. |
| 245 |
|
| 246 |
* Version 0.1.0 (released 2018-03-16) |
| 247 |
** First beta release. |