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 argon2-cffi #315

Merged
merged 1 commit into from Oct 3, 2023
Merged

Conversation

dmgawel
Copy link
Contributor

@dmgawel dmgawel commented Oct 2, 2023

passlib library used for argon2 hashing appears unmaintained and causes deprecation warning for crypt module. This PR replaces passlib with argon2-cffi, which is used by passlib under the hood.

Resolves #314

@dmgawel dmgawel mentioned this pull request Oct 2, 2023
@dajiaji
Copy link
Owner

dajiaji commented Oct 2, 2023

@dmgawel Thanks for your contribution!

I'll check your PR today. Wait for a while.

@codecov
Copy link

codecov bot commented Oct 3, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (9528b7b) 98.75% compared to head (1abd064) 98.75%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #315   +/-   ##
=======================================
  Coverage   98.75%   98.75%           
=======================================
  Files          14       14           
  Lines        1365     1365           
=======================================
  Hits         1348     1348           
  Misses         17       17           
Files Coverage Δ
pyseto/key_sodium.py 99.17% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dajiaji dajiaji merged commit 88ebfe1 into dajiaji:main Oct 3, 2023
16 checks passed
@dmgawel
Copy link
Contributor Author

dmgawel commented Oct 3, 2023

Thanks for looking into this, @dajiaji! I'd appreciate tagging a new release with this change included 👍

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.

passlib alternative ?
2 participants