mirror of
https://github.com/Av0idD4rk/firegex.git
synced 2026-10-23 15:30:59 +00:00
Restrict bcrypt version to <5
Starting with version 5.0.0, bcrypt will throw a ValueError if the input is more than 72 bytes. passlib's `hash` processes the input such that more than 72 bytes are passed to bcrypt, independently of the input length. As a result, the backend of firegex breaks when calculating the hash in `set_psw`.
This commit is contained in:
parent
702e42a98e
commit
709de42ef2
@ -2,6 +2,7 @@ fastapi[all]
|
||||
httpx
|
||||
uvicorn[standard]
|
||||
passlib[bcrypt]
|
||||
bcrypt <5
|
||||
psutil
|
||||
python-jose[cryptography]
|
||||
python-socketio
|
||||
|
||||
Loading…
Reference in New Issue
Block a user