166 Commits

Author SHA1 Message Date
Robin Krahl 8c832b5ff3 Release v0.6.0-rc.5 0.6.0-rc.5 2026-06-08 12:13:34 +02:00
Robin Krahl 5e61f0ad50 Add tests for enum counts and conversions 2026-06-08 12:13:14 +02:00
Robin Krahl efcd23ed63 Add doc_cfg feature for docs.rs 2026-06-08 11:45:09 +02:00
Robin Krahl 8956b7038c Flatten authenticator module
The authenticator module contains the main types of the crate so it
makes sense to provide them from the top level instead of the
authenticator module.
2026-06-08 11:12:21 +02:00
Robin Krahl d9f065b365 webauthn: Make KnownPublicKeyCredentialParameters an enum
We already validate the algorithm so we can also just use an enum
instead of a struct.

Fixes: https://github.com/trussed-dev/ctap-types/issues/62
2026-06-08 11:07:57 +02:00
Robin Krahl d018f0dfe5 ctap2::get_info: Use enum for authenticator_config_commands
Fixes: https://github.com/trussed-dev/ctap-types/issues/85
2026-06-08 10:49:40 +02:00
Robin Krahl bd33d9b947 Remove re-exports for heapless and heapless-bytes
The relevant types are already re-exported directly so we don’t have to
re-export the entire crate.
2026-06-08 10:39:44 +02:00
Robin Krahl d28b266567 ctap2::get_info: Use ByteArray<16> for AAGUID
Fixes: https://github.com/trussed-dev/ctap-types/issues/59
2026-06-08 10:39:39 +02:00
Robin Krahl 90d2509941 ctap2: Set repr(u8) for Error and implement From<Error> for u8
Fixes: https://github.com/trussed-dev/ctap-types/issues/63
2026-06-08 10:10:59 +02:00
Robin Krahl f8a76d3e84 Make ctap2::CtapMappingError private
The type is only used internally and does not have to be part of the
public API.
2026-06-08 10:07:48 +02:00
Robin Krahl 53359f7138 Remove cbor-smol re-export
Renaming cbor-smol to serde is confusing and the re-export is not
necessary as the cbor-smol version is an implementation detail.

Fixes: https://github.com/trussed-dev/ctap-types/issues/69
2026-06-08 10:07:44 +02:00
Robin Krahl 5795bfc809 Remove unused Rpc trait 2026-06-08 10:07:31 +02:00
Robin Krahl 43eb437d38 Release v0.6.0-rc.4 0.6.0-rc.4 2026-06-01 17:16:56 +02:00
Emanuele Cesena a8a73be7d2 ctap2: take &mut Response in trait + outline call_ctap2 arms to reduce stack by 40kB 2026-06-01 17:16:00 +02:00
Robin Krahl 50a9cafee7 Document all features on docs.rs 2026-05-28 22:36:12 +02:00
Robin Krahl fe6832691e Release v0.6.0-rc.3 0.6.0-rc.3 2026-05-28 22:18:21 +02:00
Emanuele Cesena f5d8e57eb5 ctap2.3: getinfo 0x19-0x1F fields + cbor type-mismatch error code 2026-05-28 22:18:16 +02:00
Robin Krahl d57ed816cf Release v0.6.0-rc.2 0.6.0-rc.2 2026-05-27 22:31:03 +02:00
Emanuele Cesena c05479baef ctap2.1: add minPinLength make_credential wire types + config size bounds 2026-05-27 22:27:17 +02:00
Emanuele Cesena af9e7db0fc ctap2: add platform-serde feature gating client-direction codec 2026-05-27 22:13:27 +02:00
Robin Krahl 52da246143 Rename authenticator_config to config
For consistency with the other commands, this patch renames
authenticator_config/AuthenticatorConfig to config/Config.

Fixes: https://github.com/trussed-dev/ctap-types/issues/79
2026-05-22 17:44:41 +02:00
Robin Krahl b8ec306edf Release v0.6.0-rc.1 0.6.0-rc.1 2026-05-22 12:43:41 +02:00
Robin Krahl bb4f857a2c Add constants for enum sizes 2026-05-22 12:43:36 +02:00
Emanuele Cesena af3a162115 ctap2.3: add wire types for FIDO_2_3, smart-card transport, enableLongTouchForReset 2026-05-22 12:43:32 +02:00
Emanuele Cesena 130c4663ab ctap2.2: add wire types for FIDO_2_2 and hmac-secret-mc 2026-05-22 12:43:28 +02:00