Search by

componenta / auth-recovery-code

Shelamkoff

Single-use recovery codes for Componenta Auth 3

Package info

github.com/componenta/auth-recovery-code

pkg:composer/componenta/auth-recovery-code

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-09-27 22:33 UTC

This package is auto-updated.

Last update: 2026-09-27 22:46:55 UTC


README

Single-use recovery codes for Componenta Auth 3.

Each recovery code contains 128 bits of CSPRNG entropy. Raw codes are returned only when a new batch is generated; the database stores only domain-separated SHA-256 hashes. Regenerating a batch invalidates all previous codes.

Recovery-code authentication is explicitly marked as recovery evidence and does not claim phishing resistance.