mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_auth_internal_hashed: Up iteration count to 10000 per XEP-0438
More security for less pain than switching to SCRAM-SHA-256 The XEP will likely be change to reference the RFC that will probably come from draft-ietf-kitten-password-storage once it is ready, and then we should update to follow that.
This commit is contained in:
parent
c122d673e6
commit
4261dc1d80
3 changed files with 9 additions and 2 deletions
|
@ -28,7 +28,7 @@ local get_auth_db = assert(scram_hashers[hash_name], "SCRAM-"..hash_name.." not
|
|||
local scram_name = "scram_"..hash_name:gsub("%-","_"):lower();
|
||||
|
||||
-- Default; can be set per-user
|
||||
local default_iteration_count = module:get_option_number("default_iteration_count", 4096);
|
||||
local default_iteration_count = module:get_option_number("default_iteration_count", 10000);
|
||||
|
||||
-- define auth provider
|
||||
local provider = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue