From 6c3e231f1d1f84794dc9f995a2d78b7c4a8721dd Mon Sep 17 00:00:00 2001 From: csteipp Date: Tue, 8 Mar 2016 10:12:16 -0800 Subject: [PATCH] Update default hash storage settings Update the default hash settings to align output length and hash block size. Bug: T127445 Change-Id: I8419ec9db28eba5868d3a9ee9542d998bfde920b --- includes/DefaultSettings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', ], ]; -- 2.20.1