Skip to content

use bcrypt instead of py-bcrypt#36

Open
ofirbit wants to merge 5 commits intotomashanacek:masterfrom
ofirbit:master
Open

use bcrypt instead of py-bcrypt#36
ofirbit wants to merge 5 commits intotomashanacek:masterfrom
ofirbit:master

Conversation

@ofirbit
Copy link

@ofirbit ofirbit commented Dec 3, 2018

py-bcrypt 0.4 has collisions with Flask-Bcrypt 0.7.1

Specifically, we saw this error with Flask-Bcrypt after started using mock-server (and therefore started using py-bcrypt):

File "/home/ofir/Workspace/dlpc-hmi/venv/local/lib/python2.7/site-packages/flask_bcrypt.py", line 193, in check_password_hash return safe_str_cmp(bcrypt.hashpw(password, pw_hash), pw_hash) ValueError: Invalid salt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant