fix: correct set-password docstring (scrypt, not bcrypt) #4
Reference in New Issue
Block a user
Delete Branch "fix/audit-followups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The
set_password_cmddocstring and inline comment claimed bcrypt / SHA-256, but the implementation actually uses scrypt viacryptography.hazmat.primitives.kdf.scrypt. Correct the docstring, drop the misleading comment, and remove the now-unusedhashlibimport.No behavior change — comment/doc correction only. The function already called
Scrypt(...).derive(...); only the surrounding prose lied.Related honesty-pass follow-ups filed separately: #1, #2, #3.
Simple docstring and comment correction.