mirror of
https://github.com/django/django.git
synced 2025-08-25 13:04:36 +00:00
Refs #26033 -- Added password hasher support for Argon2 v1.3.
The previous version of Argon2 uses encoded hashes of the form: $argon2d$m=8,t=1,p=1$<salt>$<data> The new version of Argon2 adds its version into the hash: $argon2d$v=19$m=8,t=1,p=1$<salt>$<data> This lets Django handle both version properly.
This commit is contained in:
parent
1ba0b22a7a
commit
a5033dbc58
5 changed files with 77 additions and 17 deletions
2
setup.py
2
setup.py
|
@ -49,7 +49,7 @@ setup(
|
|||
]},
|
||||
extras_require={
|
||||
"bcrypt": ["bcrypt"],
|
||||
"argon2": ["argon2-cffi >= 16.0.0"],
|
||||
"argon2": ["argon2-cffi >= 16.1.0"],
|
||||
},
|
||||
zip_safe=False,
|
||||
classifiers=[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue