Commit Graph

156 Commits

Author SHA1 Message Date
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
Emanuele Cesena e5bd6cabc9 ctap2.1: add wire types for credBlob, minPinLength, authenticatorConfig 2026-05-22 12:43:23 +02:00
Robin Krahl 94c5b5586e ctap2::get_info: Fix field order for canonical CBOR
This patch fixes the field order of the CtapOptions and Certifications
struct so that we produce canonical CBOR when serializing them with
cbor-smol.
2026-05-18 10:20:33 +02:00
Robin Krahl c0aadea9b8 Test canonical encoding of serialized structs
This patch makes sure that all structs use the canonical CBOR encoding
as defined and required by § 8 Message Encoding of the CTAP
specification [0].

Structs using serde_indexed::SerializeIndexed are not tested because
in serde-indexed v0.1.1, the correct order is automatically enforced.

[0] https://fidoalliance.org/specs/fido-v2.2-ps-20250714/fido-client-to-authenticator-protocol-v2.2-ps-20250714.html#message-encoding
2026-05-13 16:05:11 +02:00
Robin Krahl 7d8122b417 Release v0.5.0 0.5.0 2026-03-25 11:26:13 +01:00
Robin Krahl 60b2029e96 Add trusted publishing 2026-03-24 13:02:03 +01:00
Sosthène Guédon cff44662b4 Bump heapless dependency 2025-10-06 17:41:20 +02:00
Robin Krahl 92f7ffded4 Release v0.4.0 0.4.0 2025-05-09 11:23:46 +02:00
Robin Krahl 50d966a247 ctap2::client_pin: Make pin_protocol optional in Request
Since CTAP 2.1, the pin_protocol argument is optional for client_pin
requests, see:

https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-20210615.html#authnrClientPin-cmd-dfn
2025-05-09 11:23:46 +02:00
Robin Krahl eb784977ac Fix lifetime annotations
This fixes a new clippy lint.
2025-05-09 11:23:36 +02:00
Robin Krahl 211c1c22c7 Add missing log-trace feature 2025-05-09 11:20:45 +02:00