passkey-authenticator

Crates.iopasskey-authenticator
lib.rspasskey-authenticator
version0.2.0
sourcesrc
created_at2023-02-08 17:49:18.612783
updated_at2023-12-14 15:27:34.191623
descriptionA webauthn authenticator supporting passkeys.
homepage
repositoryhttps://github.com/1Password/passkey-rs
max_upload_size
id780026
size58,692
(1PasswordCratePublisher)

documentation

README

Passkey Authenticator

github version documentation

This crate defines an Authenticator type along with a basic implementation of the CTAP 2.0 specification. The Authenticator struct is designed in such a way that storage and user interaction are defined through traits, allowing only the parts that vary between vendors, but keeping the specification compliant implementation regardless of vendor. This is why the Ctap2Api trait is sealed, to prevent external implementations.

Why RustCrypto?

For targeting WASM, yes there are other cryptographic libraries out there that allow targeting WASM, but none of them are as easy to compile to wasm than the pure rust implementations of the RustCrypto libraries. Now this does come with limitations, so there are plans to provide a similar backing trait to "plug-in" the desired cryptography from a vendor. Work is ongoing for this.

Commit count: 46

cargo fmt