Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api usermanagement emit traceback about bcrypt attribute #520

Open
nuclearcat opened this issue Apr 17, 2024 · 1 comment
Open

api usermanagement emit traceback about bcrypt attribute #520

nuclearcat opened this issue Apr 17, 2024 · 1 comment

Comments

@nuclearcat
Copy link
Member

During some operations with users (creation?) api emit some strange messages:

(trapped) error reading bcrypt version
Traceback (most recent call last):
File "/home/kernelci/.local/lib/python3.11/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
version = _bcrypt.about.version
^^^^^^^^^^^^^^^^^
AttributeError: module 'bcrypt' has no attribute 'about'

@JenySadadia
Copy link
Collaborator

Thanks for reporting.
Many people have faced the same issue and it's been reported here pyca/bcrypt#684
passlib needs to be upgraded to use the latest bcrypt version i.e 4.1.2.
We can pin bcrypt package version to fix it until passlib is fixed as per the comments on the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants