NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #4718 most downloaded on crates.io
Rust type definitions for the webauthn and CTAP specifications
Last release 6 days ago
01 Oct 2026
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 7 of 8 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
8 releases · first in 2023
One column per quarter.
Re-export passkey-crypto as passkey::crypto
passkey-crypto as passkey::crypto (#91)linux feature flag enabling the Linux HIDRAW authenticator and client (#99)windows feature flag enabling the Windows WebAuthn client (#111)rust-crypto and aws-lc-rs feature flags to select the crypto backend (#117)Authenticator::new constructor now has a new crypto backend parameter.private_key_from_cose_key and public_key_der_from_cose_key functions with methods on passkey-crypto traits (#91)CoseKeyPair::from_secret_key now takes a generic SecretKeyT and no longer takes an Algorithm (#91)CredentialIdLength::randomized now uses a generic RngBackend instead of taking a rand::Rng (#91)linux module with a LinuxAuthenticator for USB CTAP2 hardware authenticators (#99)WebauthnError is now #[non_exhaustive] and has a new TimeoutError variant (#94)Client::register and Client::authenticate now respect request timeouts when the tokio feature is enabled (#94)Client::user_verification_when_preferred builder to control uv when the RP asks for Preferred (#96)linux module with a client for external hardware authenticators (#99)WebauthnError::ValidationError is now a struct variant with a context field (#111)windows module with a WindowsClient backed by the Windows WebAuthn API (#111)A new crate! This crate houses the swappable cryptographic backends for different libraries should you
wish/need to use a different set of libraries than the default RustCrypto libraries. As always PRs are
accepted to add new backends should you wish to not use plenty of newtypes to get around the orphan
rules.
RngBackend trait which replaces the pre-existing passkey-types::rand::random_vec function.passkey-crypto::rng::Rng::random_vec.hidraw module for talking to USB CTAP2 authenticators (#99)hid::Command::Msg variant as that is U2F only and U2F support is now being removed.passkey-types::rand module no longer exists and is instead replaced by passkey-crypto::rng (#91)Ctap2Error and StatusCode now implement From<CoseKeyConversionError> (#91)CoseKey re-export, which now comes from passkey-crypto (#91)Passkey::mock now takes a CryptoBackend, and PasskeyBuilder is now generic over it (#91, #121)PublicKeyCredentialParameters now accepts a stringified alg and skips unknown algorithms without failing (#96)CredentialExtensions now derives Debug (#96)get_assertion::Options is now its own type without rk, instead of re-exporting make_credential::Options (#99)get_assertion::Response::user now uses ctap2::make_credential::PublicKeyCredentialUserEntity, whose fields are optional (#99)PublicKeyCredentialUserEntity now serializes as camelCase, with icon_url renamed to icon on the wire (#99)Ctap2Command enum (#99)PublicKeyCredentialDescriptor now derives Clone (#99)make_credential::Options::up is no longer serialized when false (#99)U2FError variant into Ctap2Error, rename Ctap2Code to StatusCode (#105)StatusCode. (#105)crypto module (sha256/hmac_sha256) in favour of passkey-crypto::hash::Sha256Backend (#109)AuthenticatorData::new now takes a CryptoBackend argument (#109)chore: Release passkey-types version 0.5.0
chore: Release passkey-types version 0.5.0
rk option in requests (#67)user_handle as an optional parameter in CredentialStore::find_credentialsuser_handle. (#67)exclude_credentials list.UserValidationMethod trait has been updated to use UiHintUserValidationMethod trait now also returns which validations were performed. (#76)CredentialStore and UserValidationMethod associated type constraintPasskeyAccessor trait instead of the TryInto<Passkey>, making it possible to use aCtap2Api::get_info method now returns a boxed response due to the size ofusername and user_display_name to the Passkey type and its mock builder. (#87)ctap2::get_info::Response to have all the fields from ctap 2.2 (#88)chore: Release passkey-types version 0.4.0
Added: support for signature counters
update_credential function to CredentialStore (#23).make_credentials_with_signature_counter to Authenticator.UserValidationMethod (#24)
UserValidationMethod::check_user_presenceUserValidationMethod::check_user_verificationUserValidationMethod::check_user. This function now performs both user presence and user verification checks.
The function now also returns which validations were performed, even if they were not requested.CredentialStore::get_info which returns StoreInfo containing DiscoverabilitySupport.CredentialStore::save_credential now also takes Options.Authenticator::make_credentials now returns an error if a discoverable credential was requested but not supported by the store.Add a Linux-only hidraw module for talking to USB CTAP2 authenticators
- Update the public suffix list
A new crate! This crate houses the swappable cryptographic backends for different libraries should you wish/need to use a different set of libraries t
A new crate! This crate houses the swappable cryptographic backends for different libraries should you wish/need to use a different set of libraries than the default RustCrypto libraries. As always PRs are accepted to add new backends should you wish to not use plenty of newtypes to get around the orphan rules.
RngBackend trait which replaces the pre-existing passkey-types::rand::random_vec function.
Use this new method as passkey-crypto::rng::Rng::random_vec.Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →