Issue Bug Closed

#90612Upgrading from 8 to 9 choosing Argon2i throws error

Claus Harup 03/02/20, 09:08 updated 04/01/20, 21:15

Description

Upgrading from 8 to 9 choosing Argon2i – Running on PHP 7.4.3 – gives me this on be login:

PHP Warning: password_needs_rehash(): A thread value other than 1 is not supported by this implementation in /var/www/typo3_source/typo3_src-9.5.14/typo3/sysext/core/Classes/Crypto/PasswordHashing/Argon2iPasswordHash.php line 144

The property is defined as:

protected $options = [
'memory_cost' => 65536,
'time_cost' => 16,
'threads' => 2
];

Setting: $GLOBALS[‘TYPO3_CONF_VARS’][‘BE’][‘passwordHashing’][‘options’][‘threads’] = 1; solves the issue, but I have a hard time understanding why ‘threads’ => 2 in the core?

Reviews 2