fgtclb / sodium-support
There is no license information available for the latest version (dev-main) of this package.
Add support for sodium package and argon2di auth library
dev-main
2021-01-21 09:21 UTC
Requires
- ext-sodium: *
- typo3/cms-core: ^9.5 || ^10.4 || ^11.0
This package is not auto-updated.
Last update: 2024-12-07 05:22:23 UTC
README
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)
Installation
Install the extension via composer:
composer require fgtclb/sodium-support
Dependencies
This extension needs the PHP extension "sodium" to be installable.
Usage
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.