Add support for sodium package and argon2di auth library
This package is not auto-updated.
Last update: 2023-05-26 22:22:49 UTC
What does it do?
It adds support for the php crypto library sodium. This library provides several hash algorithms.
This extension will use the argon2id password hashing (RFC)
Install the extension via composer:
composer require fgtclb/sodium-support
This extension needs the PHP extension "sodium" to be installable.
The extension automatically activates this hashing algorithm for FE and BE passwords.
You don't need to do anything.
Use another algorithm
If you want to use another algorithm, please change the lines for FE and/or BE to the algorithm to use:
$GLOBALS['TYPO3_CONF_VARS']['FE']['passwordHashing']['className'] = \Fgtclb\SodiumSupport\Crypto\PasswordHashing\SodiumPasswordHash::class; $GLOBALS['TYPO3_CONF_VARS']['BE']['passwordHashing']['className'] = \Fgtclb\SodiumSupport\Crypto\PasswordHashing\SodiumPasswordHash::class;
If you don't use this algorithm for none of them, you can easily remove this extension.