2 unstable releases

0.1.2 Mar 7, 2022
0.1.1 Mar 7, 2022
0.1.0 Mar 5, 2022
0.0.0-unreleased Apr 25, 2021

#515 in Authentication

Download history 27/week @ 2023-10-26 39/week @ 2023-11-02 20/week @ 2023-11-09 23/week @ 2023-11-16 24/week @ 2023-11-23 32/week @ 2023-11-30 18/week @ 2023-12-07 20/week @ 2023-12-14 23/week @ 2023-12-21 17/week @ 2023-12-28 17/week @ 2024-01-04 20/week @ 2024-01-11 22/week @ 2024-01-18 18/week @ 2024-01-25 24/week @ 2024-02-01 28/week @ 2024-02-08

95 downloads per month
Used in 2 crates

Apache-2.0 OR MIT

76KB
1.5K SLoC

ctap-types maps the various types involved in the FIDO CTAP protocol to Rust structures consisting of heapless data types.

We currently follow the non-public editor's draft dated 19 March 2019. It still uses FIDO_2_1_PRE to signal new commands, but uses non-vendor API numbering (e.g. 0xA for credential management).

It also contains a lightweight CBOR deserializer, as the existing serde_cbor creates very large code.

The various transport protocols (USB, NFC, BLE) are expected to handle low-level protocol details and deserialize requests / serialize responses, so the authenticator logic is decoupled from these details.

Dependencies

~3MB
~64K SLoC