aiosmtpd icon indicating copy to clipboard operation
aiosmtpd copied to clipboard

examples/authenticated_relayer/server.py uses a random salt value

Open rdenneman opened this issue 1 year ago • 0 comments

line 36 hashpass = pbkdf2_hmac("sha256", password, secrets.token_bytes(), 1000000).hex() The third argument in this function generates a random salt. It should use the previously generated salt from make_user_db.py Otherwise the resulting hash will always be different from the stored password hash.

rdenneman avatar Jul 02 '24 11:07 rdenneman