Deprecation: #85796 - Salted passwords cleanups¶
See Issue #85796
These methods have been marked as deprecated:
SaltFactory->get()to retrieve a hash instance of for a given password hash. Use
SaltFactory->getDefaultHashInstance()to retrieve an instance of the configured default hash algorithm for a given context. See the method comments for usage details.
- This method was only used for unit testing and has been marked as deprecated without substitution since
object instances of
SaltFactorycan now be properly mocked. Use
Prophecyto do that in unit tests that have
- This internal method is unused and there is no new implementation to substitute it.
Calling one of the above methods will trigger a PHP
E_USER_DEPRECATED error and a fatal PHP error in TYPO3 v10.
Most instances are not affected by this change if they don’t have custom authentication
services loaded that add magic with stored local password hashes, and if they don’t use
SaltFactory in own extension which is a seldom use case.
The extension scanner will find usages in extensions.
Use the new factory methods as outlined in the description section.