From: csteipp Date: Tue, 8 Mar 2016 18:12:16 +0000 (-0800) Subject: Update default hash storage settings X-Git-Tag: 1.31.0-rc.0~7030^2 X-Git-Url: https://git.cyclocoop.org/admin/%7B%24plugin.url%7Cescape%7D?a=commitdiff_plain;h=6c3e231f1d1f84794dc9f995a2d78b7c4a8721dd;p=lhc%2Fweb%2Fwiklou.git Update default hash storage settings Update the default hash settings to align output length and hash block size. Bug: T127445 Change-Id: I8419ec9db28eba5868d3a9ee9542d998bfde920b --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c04602c69b..4cf0c406bf 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -4496,9 +4496,9 @@ $wgPasswordConfig = [ ], 'pbkdf2' => [ 'class' => 'Pbkdf2Password', - 'algo' => 'sha256', - 'cost' => '10000', - 'length' => '128', + 'algo' => 'sha512', + 'cost' => '30000', + 'length' => '64', ], ];