Nick Zana
1872c78347
ctap2-proto: impl AsRef<[u8]> for authenticator::client_pin::PinUvAuthToken
11 months ago
Nick Zana
448c8cb79b
ctap2-proto: Add client_pin::raw::RawResponse for de/serialization of client_pin::Response enum as CBOR
11 months ago
Nick Zana
2f53d730c8
ctap2-proto: Add client_pin::raw::RawRequest for de/serialization of client_pin::Request enum as CBOR
11 months ago
Nick Zana
df78c9e303
ctap2-proto: Add authenticator::client_pin::raw::PublicKey type for deserialization
...
The cosey::PublicKey type does not properly implement deserialize for
the general PublicKey type. the client_pin::raw::PublicKey type is used
as an intermediate to allow deserialization of COSE public keys in the
client_pin protocol.
11 months ago
Nick Zana
984e43cd18
ctap2-proto: Derive serde traits as Bytes type for authenticator::client_pin::PinUvAuthToken
...
Serializes and Deserializes as serde_as::Bytes so that the byte arrays
are serialized as bytestrings, not sequences of bytes.
11 months ago
Nick Zana
63a9be04ad
ctap2-proto: Add pin_uv_auth_token param to authenticator::client_pin::Response::GetPinToken
11 months ago
Nick Zana
7827fb82fe
ctap2-proto: Remove all fields from authenticator::client_pin::Response::SetPin
...
This response type has no fields.
11 months ago
Nick Zana
54028012a8
ctap2-proto: Derive Debug, Eq, and Ord traits for authenticator::client_pin::Permission enum
11 months ago
Nick Zana
408c4864da
ctap2-proto: Specify relying_party_id type as Cow<'a, str> in authenticator::client_pin::Request variant fields
11 months ago
Nick Zana
b1963220d8
ctap2-proto: Implement std::fmt::Display for authenticator::client_pin::Error
11 months ago
Nick Zana
3f04a35447
ctap2-proto: Change &[u8] to fixed size arrays in authenticator::client_pin::{Request, Response} fields
11 months ago
Nick Zana
128ed345d1
ctap2-proto: Change authenticator::client_pin::{Request, Response} to cosey::PublicKey
...
Replaces coset::CoseKey type, which doesn't sufficiently distinguish
between public and private keys and the parameters required for key
algorithm variants, with the cosey::PublicKey type in the Request and
Response type fields.
11 months ago
Nick Zana
848fcf43b4
ctap2-proto: Add missing version parameter to authenticator::client_pin::Request::SetPin
11 months 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.
11 months ago
Nick Zana
16d11745a3
ctap2-proto: Serialize/Deserialize authenticator::client_pin::AuthProtocolVersion as u8
...
Use u8::From<AuthProtocolVersion> and AuthProtocolVersion::TryFrom<u8>
implementations instead of manually implementing Serialize/Deserialize.
11 months ago
Nick Zana
76089d60cb
ctap2_proto: remove extraneous client_pin::Subcommand enum
12 months ago
Nick Zana
502fe2b176
ctap2-proto: Implement serde for authentciator::client_pin::AuthProtocolVersion
1 year ago
Nick Zana
5bc9e57c11
ctap2-proto: formatting
1 year ago
Nick Zana
0fb2487154
Move several types from ctap2-proto to fido-common
1 year ago
Nick Zana
0b03bda84b
replace usage of Hash{Set, Map} with BTree
1 year ago
Nick Zana
749e7cf2ae
ctap2-proto: Add derives for AuthProtocolVersion
1 year ago
Nick Zana
4082fbb437
Add ctap2-proto crate
...
The ctap2-proto crate defines the Ctap2_2Authenticator trait, which
implements the latest CTAP spec.
1 year ago