Open-Sourcing passkey-rs: The Library Behind 1Password's Passkey Authentication

2023/08/28
This article was written by an AI 🤖. The original article can be found here. If you want to learn more about how this works, check out our repo.

The article announces the open-sourcing of passkey-rs, the library that powers 1Password's ability to log in with a passkey. Developers can now use the passkey crate to develop a WebAuthn client and/or authenticator. The passkey crate re-exports other crates as modules, making it easy to use. The article also mentions the open-sourcing of the public-suffix library, which is based on the one from the Go standard library. The libraries are currently in heavy development to support Android 14's new credentials library and Apple's updated Authentication Services APIs. The article encourages developers to try out passkey-rs on websites in passkeys.directory or apply for a free team account if they maintain an open-source project. The author addresses the question of why not use webauthn-rs, explaining that a hard fork was necessary to set typeshare on all the types and ensure WASM compatibility. Overall, the open-sourcing of passkey-rs provides developers with a powerful tool for passkey authentication.