-
Notifications
You must be signed in to change notification settings - Fork 31
ModuleNotFoundError: No module named 'crypt' #44
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
Comments
We need to actually replace the use of |
Per this Apache 2.4 docs, we should likely be adding support for passwords encrypted using
$ htpasswd -nbB myName myPassword
myName:$2y$05$yJ9mSHNyzoKAgMEW3sxvau4iXu1h94b37HXwPD.ceGhst1ZirWp2y >>> import bcrypt
>>> pw = b"myPassword"
>>> hashed = b"$2y$05$yJ9mSHNyzoKAgMEW3sxvau4iXu1h94b37HXwPD.ceGhst1ZirWp2y"
>>> bcrypt.checkpw(pw, hashed)
True |
tseaver
added a commit
that referenced
this issue
Jul 31, 2024
Point users to 'bcrypt.checkpw' as a better alternative. Closes #44
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello. In python 3.13, crypt module has been removeed. In python 3.12 it's deprecated.
The text was updated successfully, but these errors were encountered: