Harden password recovery with usable eight-character codes

fix(security): harden password recovery with usable eight-character codes (#2477)
Harden password recovery with usable eight-character codes267232-fix-harden-password-recovery-with-usable-eight-character-cve-2026-90562fixharden password recovery usable eight character

Committed by fishzjp

commit message
fix(security): harden password recovery with usable eight-character codes (#2477)

Use eight securely random recovery-code characters with concurrency-safe online throttling. Preserve existing keys and verify recovery through browser and real SQLite integration tests.
 
Co-authored-by: [email protected] <[email protected]>
Co-authored-by: dadachann <[email protected]>

Editor assessment

This commit patches CVE-2026-90562. Compact and sufficient. The subject states the hardening target and the mechanism (eight-character recovery codes), and the body explains that the characters are securely random, that throttling is concurrency-safe and online, and that existing keys are preserved and verified through browser and SQLite integration tests. Type and scope fit. A sentence on the prior weakness would make it exemplary. Style-wise the message is clean and scoped, with a compact body; only the prior weakness is missing from the explanation.

Browse categories

More fix examples · Back to search