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:
Minei3oat
2025-09-28 20:43:46 +02:00
parent 702e42a98e
commit 709de42ef2

View File

@@ -2,6 +2,7 @@ fastapi[all]
httpx
uvicorn[standard]
passlib[bcrypt]
bcrypt <5
psutil
python-jose[cryptography]
python-socketio