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

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Type:typo3-cms-extension

dev-main 2021-01-21 09:21 UTC

This package is not auto-updated.

Last update: 2024-10-26 04:46:13 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.