diff MoinMoin/support/passlib/handlers/fshp.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/fshp.py	Mon Sep 05 23:29:03 2016 +0200
+++ b/MoinMoin/support/passlib/handlers/fshp.py	Mon Sep 05 23:44:04 2016 +0200
@@ -40,7 +40,7 @@
 
     :param rounds:
         Optional number of rounds to use.
-        Defaults to 100000, must be between 1 and 4294967295, inclusive.
+        Defaults to 480000, must be between 1 and 4294967295, inclusive.
 
     :param variant:
         Optionally specifies variant of FSHP to use.
@@ -79,7 +79,7 @@
     #--HasRounds--
     # FIXME: should probably use different default rounds
     # based on the variant. setting for default variant (sha256) for now.
-    default_rounds = 100000 # current passlib default, FSHP uses 4096
+    default_rounds = 480000 # current passlib default, FSHP uses 4096
     min_rounds = 1 # set by FSHP
     max_rounds = 4294967295 # 32-bit integer limit - not set by FSHP
     rounds_cost = "linear"