🛡️ Fixing ValueError: password cannot be longer than 72 bytes in Python 3.12 / 3.13 (passlib + bcrypt) When deploying FastAPI authentication routes using passlib[bcrypt] on Python 3.12 or Python 3.13, newer versions of bcrypt (>= 4.1.0) raise:…
Hey everyone, I’m currently writing my Bachelor’s thesis, which is actually a continuation of a project started by a previous student. Their work covered several other cryptographic primitives and the whole thing was built in Laravel, so I’m stuck…