Skip to content

Commit 10c4069

Browse files
author
Ralf Schlatterbeck
committed
more verbose description of password hashing, thanks to Eli Collins
1 parent dad1fb7 commit 10c4069

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

roundup/configuration.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,19 @@ def str2value(self, value):
540540
(IntegerNumberOption, 'password_pbkdf2_default_rounds', '10000',
541541
"Sets the default number of rounds used when encoding passwords\n"
542542
"using the PBKDF2 scheme. Set this to a higher value on faster\n"
543-
"systems which want more security."),
543+
"systems which want more security.\n"
544+
"PBKDF2 (Password-Based Key Derivation Function) is a\n"
545+
"password hashing mechanism that derives hash from the\n"
546+
"password and a random salt. For authentication this process\n"
547+
"is repeated with the same salt as in the stored hash.\n"
548+
"If both hashes match, the authentication succeeds.\n"
549+
"PBKDF2 supports a variable 'rounds' parameter which varies\n"
550+
"the time-cost of calculating the hash - doubling the number\n"
551+
"of rounds doubles the cpu time required to calculate it. The\n"
552+
"purpose of this is to periodically adjust the rounds as CPUs\n"
553+
"become faster. The currently enforced minimum number of\n"
554+
"rounds is 1000.\n"
555+
"See: http://en.wikipedia.org/wiki/PBKDF2 and RFC2898"),
544556
)),
545557
("tracker", (
546558
(Option, "name", "Roundup issue tracker",

0 commit comments

Comments
 (0)