File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed
Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,17 @@ Flask-Security-Invenio Changelog
44Here you can see the full list of changes between each Flask-Security-Invenio
55release.
66
7+ Version 3.8.0
8+ -------------
9+
10+ Released October 17th 2025
11+
12+ - feat: add pluggable password validation
13+ - i18n: pulled translations
14+ - fix: pin bcrypt<5.0.0 due to incompatibility with passlib. bcrypt 5.0.0+
15+ enforces 72-byte password limit before hashing, breaking passlib's bcrypt
16+ backend initialization which tests with 255-byte passwords.
17+
718Version 3.7.0
819-------------
920
Original file line number Diff line number Diff line change 5858 url_for_security ,
5959)
6060
61- __version__ = "3.7 .0"
61+ __version__ = "3.8 .0"
6262__all__ = (
6363 "AnonymousUser" ,
6464 "auth_required" ,
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ install_requires =
3333
3434[options.extras_require]
3535tests =
36+ # bcrypt 5.0.0+ introduced stricter validation that requires passwords to be
37+ # <= 72 bytes before hashing. This breaks passlib's bcrypt backend initialization
38+ # which tests compatibility by attempting to verify a 255-byte password.
39+ # Error: "ValueError: password cannot be longer than 72 bytes, truncate manually"
40+ # See: https://github.com/pyca/bcrypt/blob/main/CHANGELOG.rst (5.0.0 release notes)
41+ # Passlib needs to be updated to handle this, or we need to migrate away from passlib.
3642 bcrypt>=3.1.0,<5.0.0
3743 check-manifest>=0.42
3844 coverage>=5.3,<6
You can’t perform that action at this time.
0 commit comments