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:42:25 +0100 |
commit | 753c8849accbbe0cb3ebef01e8b3e2ff3481a336 (patch) | |
tree | 61c86c708e69fa3941a63cab67b9829a39dea84c /plugins/password/config.inc.php.dist | |
parent | 35502e04a83f6608009be2b034029a8066cbf36a (diff) |
Fix generation of Blowfish-based password hashes (#1490184)
Added password_blowfish_cost config option.
Conflicts:
CHANGELOG
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 8c83dd703..157439e37 100644 --- a/plugins/password/config.inc.php.dist +++ b/plugins/password/config.inc.php.dist @@ -92,6 +92,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 // ----------------------- |