aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2020-01-28 01:41:54 +0100
committerJoshyPHP <s9e.dev@gmail.com>2020-01-28 01:42:39 +0100
commit2dbcad78405031ba6ad90670f03d49cb5bbe16ea (patch)
treedb681a01f2a8d331734cc9d721148ead6f35b017 /tests/passwords
parentMerge pull request #5825 from AlfredoRamos/ticket/16313 (diff)
downloadphpbb-2dbcad78405031ba6ad90670f03d49cb5bbe16ea.tar.gz
phpbb-2dbcad78405031ba6ad90670f03d49cb5bbe16ea.tar.bz2
phpbb-2dbcad78405031ba6ad90670f03d49cb5bbe16ea.zip
[ticket/16342] Increase default hashing costs for Argon2 passwords
PHPBB3-16342
Diffstat (limited to 'tests/passwords')
-rw-r--r--tests/passwords/drivers_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/passwords/drivers_test.php b/tests/passwords/drivers_test.php
index fc11ca0bc7..37b333e23a 100644
--- a/tests/passwords/drivers_test.php
+++ b/tests/passwords/drivers_test.php
@@ -24,8 +24,8 @@ class phpbb_passwords_helper_test extends \phpbb_test_case
// Initialize argon2 default options
$this->argon2_default_cost_options = [
- 'memory_cost' => 1024,
- 'time_cost' => 2,
+ 'memory_cost' => 65536,
+ 'time_cost' => 4,
'threads' => 2
];