aio-libs / aio-libs/aiosmtpd

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

オープン
#475 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
documentation help wanted
主要言語
Python
スター
373
フォーク
105
平均マージ
4分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。