aiosmtpd
aiosmtpd copied to clipboard
examples/authenticated_relayer/server.py uses a random salt value
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.