You've already forked ctap-types
mirror of
https://github.com/trussed-dev/ctap-types.git
synced 2026-06-20 04:16:17 -07:00
5.8 KiB
5.8 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
ctap2::get_info: Fix field order of theCtapOptionsandCertificationsstructs to produce canonical CBOR- Add support for missing CTAP 2.1 features:
- Add
AuthenticatorConfigcommand. - Add
credBlobextension and splitmake_credential::ExtensionsintoExtensionsInputandExtensionsOutput. - Add
minPinLengthextension.
- Add
- Add support for missing CTAP 2.2 features:
- Add
hmac-secret-mcextension.
- Add
- Add support for CTAP 2.3:
- Add
Version::Fido2_3variant. - Add
Transport::SmartCardvariant. ctap2::authenticator_config: AddSubcommand::EnableLongTouchForReset.
- Add
- Add
EXTENSION_COUNT,TRANSPORT_COUNTandVERSION_COUNTconstants for the size of the corresponding enums.
0.5.0 2026-03-23
- Update dependencies:
coseyv0.4heaplessv0.9heapless-bytesv0.5iso7816v0.2
0.4.0 2025-05-09
- Make
pin_protocoloptional inctap2::client_pin::Requestfor compliance with CTAP 2.1.
0.3.2 2024-10-24
Changed
- Update
cbor-smoldependency to v0.5.0
0.3.1 2024-10-18
Added
- Implement
TryFrom<iso7816::command::CommandView<'a>>forRequest<'a>
0.3.0 2024-08-01
Breaking Changes
- Use enums instead of string constants
- Introduce
Version,ExtensionandTransportenums and use them inctap2::get_info - Fix serialization of the
AttestationStatementFormatenum and use it inctap2::make_credential
- Introduce
- Remove
Deserializeimplementation forctap2::get_assertion::Response - Remove
Serializeimplementation forctap2::{get_assertion, make_credential}::Request - Move
AttestationStatement,AttestationStatementFormat,NoneAttestationStatement,PackedAttestationStatementfromctap2::make_credentialinto thectap2module
Added
- Add a
stdfeature (disabled by default) - Add
arbitrary::Arbitraryimplementations for all requests behind anarbitraryfeature (disabled by default) - Add support for CTAP 2.2 (#38)
- Add support for the
thirdPartyPaymentextension behind athird-party-paymentfeature (disabled by default) - Add new fields to
get_info - Add unsigned extension outputs to
make_credentialandget_assertion - Add enterprise attestation support to
get_assertion - Add support for attestation statements in
get_assertion - Add support for attestation format preferences
- Add support for the
- Derive
Copyforctap2::AttestationStatementFormat
0.2.0 - 2024-06-21
- Rename
urltoiconinPublicKeyCredentialRpEntityand ignore its content (#9) - Truncate overlong
nameanddisplayNamevalues forPublicKeyCredentialEntityinstances (#30) - Send empty response to clientPin instead of empty map (#13)
- Use references rather owned byte vectors to reduce the size of structs (#16)
- Accept more than 12 algorithms (#17)
- Add support for the
largeBlobKeyextension (#18) - Remove
AuthenticatorDataFlags::EMPTY(useAuthenticatorDataFlags::empty()instead) - Allow missing algorithms in COSE keys (#8)
- Remove unused
REALISTIC_MAX_MESSAGE_SIZEconstant - Handle overlong
iconvalues inPublicKeyCredentialUserEntity(#27) - Update for compatibility with PIN protocol 2
- Add support for permissions in
ctap2::client_pin - Replace
cosemodule withcoseydependency (#36) - Mark
get_assertion::{ExtensionsInput, ExtensionsOutput}andmake_credential::Extensionsas non-exhaustive and implementDefault - Mark CTAP2 request and response types as non-exhaustive where possible
- Use references where possible
- Put uncommon fields in
get_infobehindget-info-fullfeature flag and add fields for CTAP 2.1 - Use byte arrays instead of slices or Bytes<_> where possible
- Make
att_stmtoptional inmake_credential::Response, preparing for CTAP 2.2
0.1.2 - 2022-03-07
Yanked 0.1.1 instead of 0.1.0 by mistake, re-releasing.
0.1.1 - 2022-03-07
- add CTAP2.1 Selection command
- add CTAP2.1 options
We will release this and yank 0.1.0, to avoid a minor version bump.
0.1.0 - 2022-03-05
- use 2021 edition
- make CTAP1 and CTAP2 more homogeneous
- add Authenticator traits
- lower
MAX_CREDENTIAL_ID_LENGTHto 255 bytes, which seems to be the limit used in practice (coming from U2F's size bytes) - replace
MESSAGE_SIZEwith a theoretical and a realistic constant - use iso7816 0.1.0 release