You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nick Zana 6ef8cee4de fido-common: Add attestation::Statement data type
Attestation statements are returned as part of the CBOR maps returned by
authenticators in response to authenticatorMakeCredential and
authenticatorGetAssertion commands.

The attestation statements defined by WebAuthn come in various formats.
However, the format identifier is not part of the attestation statement
field in the CBOR map (0x03 attStmt), but rather as a distinct format
field (fmt 0x01).

Normally, this could be worked around with an externally tagged enum,
but using integer tags is not currently supported by serde. By marking
the enum instead as untagged, this should ideally mean that serde can
differentiate between the enum variants by the fields of the attestation
statement, which is itself a CBOR map.

Otherwise, we could always revert to just raw byte sequences for the
attestation statements during (de)serialization and push validating
these statements onto another part of the code.
2 years ago
..
attestation fido-common: Move attestation::enterprise to its own file 2 years ago
credential fido-common: De/serialize credential::public_key::UserEntity::id as bytes 2 years ago
attestation.rs fido-common: Add attestation::Statement data type 2 years ago
authenticator.rs fido-common: Implement Deserialize for authenticator::Data 2 years ago
extensions.rs fido-common: Make extensions::Identifier de/serializable 2 years ago
lib.rs fido-common: Implement serde for credential::public_key::Descriptor 2 years ago
registry.rs fido_common: derive ordering for UserVerify 2 years ago