[TASK] Use unsafe but faster password hashing in `RecoveryCodeTest`
`RecoveryCodeTest` now uses a `NoopPasswordHash` implementation, that uses sha1 internally. It's obviously not as secure as the til today configured argon2 algorithm, but still fine for testing reasons, which greatly improves the test runtime. Resolves: #97788 Releases: main, 11.5 Change-Id: Ic7ee62f7dea3eedb2e792b88bec293e556454556 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74958 Tested-by:core-ci <typo3@b13.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Tests/Fixtures/Crypto/PasswordHashing/NoopPasswordHash.php 76 additions, 0 deletions...ests/Fixtures/Crypto/PasswordHashing/NoopPasswordHash.php
- typo3/sysext/core/Tests/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php 16 additions, 23 deletions...ts/Unit/Authentication/Mfa/Provider/RecoveryCodesTest.php
Please register or sign in to comment