diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-12-09 18:39:55 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-12-09 18:39:55 +0100 |
commit | ef29ac433939dc3a994540e063f410554e38a0b2 (patch) | |
tree | aebb358b072b94fd75fdb5516e71cc6bd17a1e66 /plugins/password/config.inc.php.dist | |
parent | 72b117feb1afafb74d33056c22a14b257d9fa38e (diff) |
Fix generation of Blowfish-based password hashes (#1490184)
Added password_blowfish_cost config option.
Diffstat (limited to 'plugins/password/config.inc.php.dist')
-rw-r--r-- | plugins/password/config.inc.php.dist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/password/config.inc.php.dist b/plugins/password/config.inc.php.dist index 94c4368fe..cf021020f 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -95,6 +95,11 @@ $config['password_hash_algorithm'] = 'sha1'; // as hex string or in base64 encoded format. $config['password_hash_base64'] = false; +// Iteration count parameter for Blowfish-based hashing algo. +// It must be between 4 and 31. Default: 12. +// Be aware, the higher the value, the longer it takes to generate the password hashes. +$config['password_blowfish_cost'] = 12; + // Poppassd Driver options // ----------------------- |