diff MoinMoin/support/passlib/handlers/sha1_crypt.py @ 6096:86a41c2bedec

upgrade passlib from 1.6.2 to 1.6.5
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 05 Sep 2016 23:44:04 +0200
parents d72a5e95c7c0
children 7f0616feeae9
line wrap: on
line diff
--- a/MoinMoin/support/passlib/handlers/sha1_crypt.py	Mon Sep 05 23:29:03 2016 +0200
+++ b/MoinMoin/support/passlib/handlers/sha1_crypt.py	Mon Sep 05 23:44:04 2016 +0200
@@ -47,7 +47,7 @@
     :type rounds: int
     :param rounds:
         Optional number of rounds to use.
-        Defaults to 64000, must be between 1 and 4294967295, inclusive.
+        Defaults to 480000, must be between 1 and 4294967295, inclusive.
 
     :type relaxed: bool
     :param relaxed:
@@ -77,7 +77,7 @@
     salt_chars = uh.HASH64_CHARS
 
     #--HasRounds--
-    default_rounds = 64000 # current passlib default
+    default_rounds = 480000 # current passlib default
     min_rounds = 1 # really, this should be higher.
     max_rounds = 4294967295 # 32-bit integer limit
     rounds_cost = "linear"