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

Replace passlib with bcrypt #306

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LilDojd
Copy link

@LilDojd LilDojd commented Sep 18, 2024

Summary:

This pull request replaces the usage of the passlib library with bcrypt for password hashing and verification.

Changes:

  • remove passlib from conda environments and auth.py
  • Added BcryptPasswordHandler with same defaults as in passlib.context.CryptContext

See #304 for motivation

@pep8speaks
Copy link

Hello @LilDojd! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 37:63: E203 whitespace before ':'
Line 41:80: E501 line too long (82 > 79 characters)
Line 72:80: E501 line too long (83 > 79 characters)

@ianmkenney ianmkenney linked an issue Nov 13, 2024 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Replace "passlib" with direct calls to bcrypt
3 participants