Skip to content

Conversation

@4sushi
Copy link

@4sushi 4sushi commented Oct 20, 2025

Replace hash library passlib by pwdlib, since passlib is not stable.
Pwdlib is used by fastapi.

Related PR

#1539

@YuriiMotov YuriiMotov changed the title ♻️ Replace passlib by pwdlib ♻️ Replace passlib with pwdlib Oct 20, 2025
YuriiMotov

This comment was marked as outdated.

@YuriiMotov YuriiMotov dismissed their stale review October 20, 2025 12:45

Changes are needed

Copy link
Member

@YuriiMotov YuriiMotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@4sushi, thanks for your interest!

Since we change the hashing algorithm, this changes will be breaking for existing projects.
I think we should keep supporting Bcrypt for existing password hashes, but use Argon2 for new as it's explained in docs: https://frankie567.github.io/pwdlib/guide/#password-hashing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants