diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-03-19 09:27:36 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-03-19 09:27:36 +0000 |
commit | 38f952b9bc96cf72d96bab3510e8f428a8247542 (patch) | |
tree | 8a06cfd2c05cb9c33b0163b8df9297da557d445e | |
parent | Replace some ujson with simplejson to make it work (diff) | |
download | synapse-38f952b9bc96cf72d96bab3510e8f428a8247542.tar.xz |
spell out not to massively increase bcrypt rounds
Diffstat (limited to '')
-rw-r--r-- | synapse/config/registration.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/config/registration.py b/synapse/config/registration.py index 336959094b..c5384b3ad4 100644 --- a/synapse/config/registration.py +++ b/synapse/config/registration.py @@ -77,7 +77,9 @@ class RegistrationConfig(Config): # Set the number of bcrypt rounds used to generate password hash. # Larger numbers increase the work factor needed to generate the hash. - # The default number of rounds is 12. + # The default number is 12 (which equates to 2^12 rounds). + # N.B. that increasing this will exponentially increase the time required + # to register or login - e.g. 24 => 2^24 rounds which will take >20 mins. bcrypt_rounds: 12 # Allows users to register as guests without a password/email/etc, and |