Issue Bug Closed

#54833Check default salting method first when determining salting method

Christoph Dörfel 01/08/14, 13:49 updated 10/02/18, 12:07

Description

When SaltFactory::determineSaltingHashingMethod($saltedHash) gets called, we iterate over all available hashing methods, not prioritising the default salting method: SaltedPasswordsUtility::getDefaultSaltingHashingMethod($mode = TYPO3_MODE).
This can result in unnecessary password updates when the salting method “isValidSaltedPW($saltedHash)” returns TRUE for similar hashing implementations.

Reviews 1