maxcountryman/flask-bcrypt

ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'

Joe-Heffer-Shef opened this issue · 2 comments

Werkzeug released v2.1.0 recently, removing werkzeug.security.safe_str_cmp

See this issue:
https://stackoverflow.com/questions/71652965/importerror-cannot-import-name-safe-str-cmp-from-werkzeug-security

What version of Flask-Bcrypt are you using? This should have been fixed in 1.0.0 with #70.

Thanks, this seems to be resolved in the new versions of these packages.