Download the PHP package componenta/auth-recovery-code without Composer
On this page you can find all versions of the php package componenta/auth-recovery-code. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download componenta/auth-recovery-code
More information about componenta/auth-recovery-code
Files in componenta/auth-recovery-code
Package auth-recovery-code
Short Description Single-use recovery codes for Componenta Auth 3
License MIT
Informations about the package auth-recovery-code
Componenta Auth Recovery Code
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.
Version 2 compatibility
Version 2.0.0 requires componenta/auth-session-http ^2.0.1 and the CSRF v3
browser security model. Unsafe protected requests require valid Origin/Referer
evidence and a valid CSRF token; an omitted origin must never be accepted by
default. Auth's session-issuance contract remains unchanged.
See CHANGELOG.md for migration details and the verified security-admission tests.
All versions of auth-recovery-code with dependencies
componenta/auth Version ^3.0
componenta/auth-session Version ^1.0
componenta/auth-session-http Version ^2.0.1
componenta/identity Version ^1.0.1
cycle/database Version ^2.22
psr/clock Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0