Changes between Version 14 and Version 15 of Ticket #34661, comment 8
- Timestamp:
- Jun 18, 2023, 7:05:41 PM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34661, comment 8
v14 v15 19 19 PASSWORD_PEPPER = '4545randomstring342445' 20 20 PASSWORD_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" 27 22 ] 28 23 }}} 29 24 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.25 Django updates the computed passwords when a new hashing algorithm is added. The passwords will break when a pepper is changed.