mirror of
https://github.com/django/django.git
synced 2025-11-02 04:48:33 +00:00
Bump the default iterations for PBKDF2.
The rate at which we've increased this has not been keeping up with hardware (and software) improvements, and we're now considerably behind where we should be. The delta between our performance and an optimized implementation's performance prevents us from improving that further, but hopefully once Python 2.7.8 and 3.4+ get into more hands we can more aggressively increase this number.
This commit is contained in:
parent
ebb13bbd88
commit
6732566967
4 changed files with 14 additions and 12 deletions
|
|
@ -91,7 +91,7 @@ any time leading up to the actual release:
|
|||
|
||||
#. If this is a major release, make sure the tests pass, then increase
|
||||
the default PBKDF2 iterations in
|
||||
``django.contrib.auth.hashers.PBKDF2PasswordHasher`` by about 10%
|
||||
``django.contrib.auth.hashers.PBKDF2PasswordHasher`` by about 20%
|
||||
(pick a round number). Run the tests, and update the 3 failing
|
||||
hasher tests with the new values. Make sure this gets noted in the
|
||||
release notes (see release notes on 1.6 for an example).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue