[BUGFIX] Check default salting method first 92/26692/5
authorMarkus Klein <klein.t3@mfc-linz.at>
Wed, 8 Jan 2014 13:11:07 +0000 (14:11 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 26 Mar 2014 23:39:04 +0000 (00:39 +0100)
commit1b74cb499d687002761ec1b0797766ef59f35b72
treeb4d16595d1d4c9b714dbe440b34033eb1dfd859a
parent1356c9d8244bfc5a7164fcf75e0fa8fbab78dbec
[BUGFIX] Check default salting method first

Prioritise default salting hashing method when determining
the salting hashing method of a given salted hash.

Fixes rare cases when the method "isValidSaltedPW()" returns TRUE
for similar salting implementations.

Resolves: #54833
Releases: 6.2
Change-Id: I58eb214f171de9f285a7818edebd925eb8164888
Reviewed-on: https://review.typo3.org/26692
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jigal van Hemert
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/saltedpasswords/Classes/Salt/SaltFactory.php
typo3/sysext/saltedpasswords/Classes/Utility/ExtensionManagerConfigurationUtility.php
typo3/sysext/saltedpasswords/Classes/Utility/SaltedPasswordsUtility.php