Changes between Version 14 and Version 15 of Ticket #34661, comment 8


Ignore:
Timestamp:
Jun 18, 2023, 7:05:41 PM (17 months ago)
Author:
Fatih Erikli

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34661, comment 8

    v14 v15  
    1919PASSWORD_PEPPER = '4545randomstring342445'
    2020PASSWORD_HASHERS = [
    21     "yourapp.hashers.PepperedPBKDF2PasswordHasher",
    22     "django.contrib.auth.hashers.PBKDF2PasswordHasher",
    23     "django.contrib.auth.hashers.PBKDF2SHA1PasswordHasher",
    24     "django.contrib.auth.hashers.Argon2PasswordHasher",
    25     "django.contrib.auth.hashers.BCryptSHA256PasswordHasher",
    26     "django.contrib.auth.hashers.ScryptPasswordHasher",
     21    "yourapp.hashers.PepperedPBKDF2PasswordHasher"
    2722]
    2823}}}
    2924
    30 Passwords will continue working when the last (first in the list) hasher is added. Django updates the computed passwords when a new hashing algorithm is added. The passwords will break when a pepper is changed.
     25Django updates the computed passwords when a new hashing algorithm is added. The passwords will break when a pepper is changed.
Back to Top