Nick Zana
de4e3c39e0
ctap2-proto: Import std::fmt::Display used for authenticator::credential::management::Error
2 years ago
Nick Zana
ed57873783
ctap2-proto: Add raw module with RawSubcommand to authenticator::credential::management
...
RawSubcommand is de/serialized as a u8 corresponding to its subCommand
number.
Also implements Display for authenticator::credential::management::Error
so that it can be used as the serde error type for RawSubcommand.
2 years ago
Nick Zana
a8a9eeb817
ctap2-proto: Move authenticator::client_pin::AuthProtocolVersion to own module
...
In preparation for adding traits for the PIN/UV Auth Protocol, this
splits the AuthProtocolVersion type into its own module and renames it
to auth_protocol::Version.
2 years ago
Nick Zana
7f8f97b0c3
ctap2-proto: Derive builder trait for authenticator::credential::make::Request
...
Adds typed-builder dependency to derive Builder struct.
2 years ago
Nick Zana
50bdffbe08
ctap2-proto: Derive Deserialize for authenticator::credential::make::Response
2 years ago
Nick Zana
9d46ecf75b
ctap2-proto: Add attestation_statement field to credential::make::Response
2 years ago
Nick Zana
54d8ffc2bf
ctap2-proto: Derive Serialize for credential::make::Request
...
Enables cfg_eval feature because serde_as does not support cfg_attr for
conditional compilation.
2 years ago
Nick Zana
ea1df60e74
ctap2-proto: Make make::Request::pin_uv_auth_param optional
...
the `pin_uv_auth_param` field is an optional field in the CTAP spec.
2 years ago
Nick Zana
573069afad
ctap2-proto: Derive serde traits for credential::make::OptionKey
2 years ago
Nick Zana
12d6f7fe51
ctap2-proto: Derive common traits for credential::{make, get}
...
Derives Debug and other common traits for the credential::{make, get}
types.
2 years ago
Nick Zana
e1b8a49f0e
ctap2-proto: Replace HashMap with BTreeMap for make::Request
2 years ago
Nick Zana
0fb2487154
Move several types from ctap2-proto to fido-common
2 years ago
Nick Zana
0b03bda84b
replace usage of Hash{Set, Map} with BTree
2 years ago
Nick Zana
04b37d73a4
ctap2-proto: Add unsigned_extension_outputs to make::Response
2 years ago
Nick Zana
5f87584176
ctap2-proto: Replace unecessary owned types with references in make::Request
...
Remove IndexMap in favor of borrowed slices for make::Request fields
Update imports
2 years ago
Nick Zana
4082fbb437
Add ctap2-proto crate
...
The ctap2-proto crate defines the Ctap2_2Authenticator trait, which
implements the latest CTAP spec.
2 years ago