passkey-gate
Passkey gate for sign-in: an email link gives a reduced session until a PIN or passkey is confirmed; lost passkeys need an approved reset.
Built and tested in the harness, and not in the public repository yet. The install line and the source link appear here when it is.
What it is
passkey-gate.
A passkey gate for sign-in, as a Cratefield module. The passkey is the way in. An email link gives a reduced session until the person proves a second factor: a six-digit PIN, or a fresh passkey sign-in. A lost passkey is recovered by a reset that another owner or admin approves, and the approval revokes the person’s passkeys and clears their PIN. The module is the store, the policy and the directory client; it owns no routes and no sessions. The PIN is never stored, only a salted PBKDF2-HMAC-SHA256 hash keyed with the deployment pepper, and it locks after too many wrong entries.
From the crate’s own README.
History
Changelog.
Not released yet. Its changelog starts with its first release.
One of 95 crates in the harness, all of them MIT.