Skip to content

Commit 5a17484

Browse files
committed
issue2551252 - increase PBKFD2 default rounds to 2,000,000.
Current https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2 for SHA1 recommends 1,300,000 so 2,000,000.
1 parent 2a62e89 commit 5a17484

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ Fixed:
7272
HTTP headers to calling javascript.
7373
- issue2551257: When downloading an attached (user supplied file),
7474
make sure that an 'X-Content-Type-Options: nosniff' header is sent.
75+
- issue2551252 - default number of rounds for PKDF2 password increased
76+
to 2,000,000.
7577

7678
Features:
7779

roundup/configuration.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,8 @@ def str2value(self, value):
10851085
"starting with python 2.5. Set this to a higher value if you\n"
10861086
"get the error 'Error: field larger than field limit' during\n"
10871087
"import."),
1088-
(IntegerNumberGeqZeroOption, 'password_pbkdf2_default_rounds', '10000',
1088+
(IntegerNumberGeqZeroOption, 'password_pbkdf2_default_rounds',
1089+
'2000000',
10891090
"Sets the default number of rounds used when encoding passwords\n"
10901091
"using the PBKDF2 scheme. Set this to a higher value on faster\n"
10911092
"systems which want more security.\n"

0 commit comments

Comments
 (0)