mirror of https://github.com/django/django.git
[3.1.x] Added note about password updates on argon2 attributes change.
Backport of 804f2b7024
from master
This commit is contained in:
parent
a1ce98fa6f
commit
02572bfc59
|
@ -224,8 +224,8 @@ However, Django can only upgrade passwords that use algorithms mentioned in
|
||||||
:setting:`PASSWORD_HASHERS`, so as you upgrade to new systems you should make
|
:setting:`PASSWORD_HASHERS`, so as you upgrade to new systems you should make
|
||||||
sure never to *remove* entries from this list. If you do, users using
|
sure never to *remove* entries from this list. If you do, users using
|
||||||
unmentioned algorithms won't be able to upgrade. Hashed passwords will be
|
unmentioned algorithms won't be able to upgrade. Hashed passwords will be
|
||||||
updated when increasing (or decreasing) the number of PBKDF2 iterations or
|
updated when increasing (or decreasing) the number of PBKDF2 iterations, bcrypt
|
||||||
bcrypt rounds.
|
rounds, or argon2 attributes.
|
||||||
|
|
||||||
Be aware that if all the passwords in your database aren't encoded in the
|
Be aware that if all the passwords in your database aren't encoded in the
|
||||||
default hasher's algorithm, you may be vulnerable to a user enumeration timing
|
default hasher's algorithm, you may be vulnerable to a user enumeration timing
|
||||||
|
|
Loading…
Reference in New Issue