From 35b3e3f00fc0fcdd2a2e7fcecab55117ed87935f Mon Sep 17 00:00:00 2001
From: Chad Horohoe <chadh@wikimedia.org>
Date: Tue, 10 May 2016 15:33:47 -0700
Subject: [PATCH] Update default hash storage settings

Update the default hash settings to align output length and hash block
size.

Bug: T127445
Bug: T116030
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 21007c7..740200a 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -4281,9 +4281,9 @@ $wgPasswordConfig = array(
 	),
 	'pbkdf2' => array(
 		'class' => 'Pbkdf2Password',
-		'algo' => 'sha256',
-		'cost' => '10000',
-		'length' => '128',
+		'algo' => 'sha512',
+		'cost' => '30000',
+		'length' => '64',
 	),
 );
 
-- 
2.8.2

