[!!!][TASK] Implement Salted Passwords against SaltInterface 37/52737/15
authorChristian Futterlieb <christian@futterlieb.ch>
Mon, 11 Dec 2017 07:55:32 +0000 (08:55 +0100)
committerBenni Mack <benni@typo3.org>
Tue, 12 Dec 2017 14:59:35 +0000 (15:59 +0100)
commit5bb7e76ec73cba609b1d3b919dbe963dcc956c0c
tree3dff0b4e3791de8289f692a84475ae664f2371cb
parent940051e68619fdb68245b9f5eda63bda6894c32d
[!!!][TASK] Implement Salted Passwords against SaltInterface

Salt classes must implement SaltInterface only. The AbstractSalt
class is renamed to AbstractComposedSalt and implements
SaltInterface. Methods for salt-classes that compose the
password-hash string themselves (which are currently all in
saltedpasswords) are moved to AbstractComposedSalt as well.

This cleanup change prepares for the integration of the
PHP password API in a following change.

Relates: #79795
Relates: #79889
Resolves: #83294
Releases: master
Change-Id: Ife24aa39be99c5ad391b0f10497a2bceb04084f3
Reviewed-on: https://review.typo3.org/52737
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
17 files changed:
composer.json
composer.lock
typo3/sysext/core/Documentation/Changelog/9.0/Breaking-83294-SaltedPasswordsCustomSaltingsMustUseTheSaltInterface.rst [new file with mode: 0644]
typo3/sysext/saltedpasswords/Classes/Evaluation/Evaluator.php
typo3/sysext/saltedpasswords/Classes/Salt/AbstractComposedSalt.php [new file with mode: 0644]
typo3/sysext/saltedpasswords/Classes/Salt/AbstractSalt.php [deleted file]
typo3/sysext/saltedpasswords/Classes/Salt/BlowfishSalt.php
typo3/sysext/saltedpasswords/Classes/Salt/Md5Salt.php
typo3/sysext/saltedpasswords/Classes/Salt/Pbkdf2Salt.php
typo3/sysext/saltedpasswords/Classes/Salt/PhpassSalt.php
typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php
typo3/sysext/saltedpasswords/Classes/Salt/SaltInterface.php
typo3/sysext/saltedpasswords/Classes/SaltedPasswordService.php
typo3/sysext/saltedpasswords/Documentation/DevelopersGuide/Index.rst
typo3/sysext/saltedpasswords/Migrations/Code/ClassAliasMap.php [new file with mode: 0644]
typo3/sysext/saltedpasswords/Tests/Unit/Salt/SaltFactoryTest.php
typo3/sysext/saltedpasswords/composer.json