[BUGFIX] Do not overwrite default thread count for Argon PasswordHashing
There are systems and library combinations that do not allow the usage of more than one thread to generate passwords. To ensure maximum compatibility, the number of threads is reset to its default state. If raising the number makes sense for performance reasons on systems that support it, the setting can still be overwritten by setting `$GLOBALS['TYPO3_CONF_VARS']['BE']['passwordHashing']['options']['threads']`. Resolves: #90612 Releases: master, 9.5 Change-Id: I19e883359737e6882aed40968959eadd8f74f8d1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63605 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Alexander Schnitzler <git@alexanderschnitzler.de> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by: Alexander...
Showing
- typo3/sysext/core/Classes/Crypto/PasswordHashing/AbstractArgon2PasswordHash.php 3 additions, 1 deletion...ses/Crypto/PasswordHashing/AbstractArgon2PasswordHash.php
- typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php 1 addition, 1 deletion...e/Tests/Unit/Authentication/AuthenticationServiceTest.php
Please register or sign in to comment