[TASK] Replace GeneralUtility::hmac usage in ext:core
With #102761, the new `HashService` has been introduced to ensure that HMAC generation will always use an additional secret. As a follow-up patch, `GeneralUtility::hmac` will be deprecated when all usages in the core have been replaced with the new `HashService`. With this change, usages of `GeneralUtility::hmac` in ext:core are replaced by the new HashService. Resolves: #103248 Related: #102761 Related: #103245 Releases: main Change-Id: Iccec4e857790916aa53fb2505c340cde4da8cf9b Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83295 Reviewed-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php 5 additions, 2 deletions...ore/Classes/Authentication/AbstractUserAuthentication.php
- typo3/sysext/core/Classes/Authentication/Mfa/Provider/RecoveryCodesProvider.php 5 additions, 3 deletions...ses/Authentication/Mfa/Provider/RecoveryCodesProvider.php
- typo3/sysext/core/Classes/Authentication/Mfa/Provider/TotpProvider.php 4 additions, 3 deletions...core/Classes/Authentication/Mfa/Provider/TotpProvider.php
- typo3/sysext/core/Classes/Controller/FileDumpController.php 6 additions, 2 deletionstypo3/sysext/core/Classes/Controller/FileDumpController.php
- typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php 5 additions, 3 deletions...xt/core/Classes/FormProtection/AbstractFormProtection.php
- typo3/sysext/core/Classes/Log/Writer/FileWriter.php 3 additions, 1 deletiontypo3/sysext/core/Classes/Log/Writer/FileWriter.php
- typo3/sysext/core/Classes/Middleware/AbstractContentSecurityPolicyReporter.php 4 additions, 3 deletions...sses/Middleware/AbstractContentSecurityPolicyReporter.php
- typo3/sysext/core/Classes/Page/ImportMap.php 5 additions, 2 deletionstypo3/sysext/core/Classes/Page/ImportMap.php
- typo3/sysext/core/Classes/Page/ImportMapFactory.php 3 additions, 0 deletionstypo3/sysext/core/Classes/Page/ImportMapFactory.php
- typo3/sysext/core/Classes/Resource/ResourceStorage.php 3 additions, 1 deletiontypo3/sysext/core/Classes/Resource/ResourceStorage.php
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/MutationSuggestion.php 5 additions, 2 deletions...ses/Security/ContentSecurityPolicy/MutationSuggestion.php
- typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/RecoveryCodesProviderTest.php 4 additions, 1 deletion...Authentication/Mfa/Provider/RecoveryCodesProviderTest.php
- typo3/sysext/core/Tests/Functional/Authentication/Mfa/Provider/TotpProviderTest.php 4 additions, 1 deletion...nctional/Authentication/Mfa/Provider/TotpProviderTest.php
- typo3/sysext/core/Tests/Unit/FormProtection/AbstractFormProtectionTest.php 1 addition, 0 deletions.../Tests/Unit/FormProtection/AbstractFormProtectionTest.php
- typo3/sysext/core/Tests/Unit/FormProtection/BackendFormProtectionTest.php 8 additions, 3 deletions...e/Tests/Unit/FormProtection/BackendFormProtectionTest.php
- typo3/sysext/core/Tests/Unit/FormProtection/InstallToolFormProtectionTest.php 10 additions, 2 deletions...sts/Unit/FormProtection/InstallToolFormProtectionTest.php
- typo3/sysext/core/Tests/Unit/Page/ImportMapTest.php 13 additions, 10 deletionstypo3/sysext/core/Tests/Unit/Page/ImportMapTest.php
- typo3/sysext/install/Classes/Controller/InstallerController.php 1 addition, 1 deletion...sysext/install/Classes/Controller/InstallerController.php
- typo3/sysext/install/Classes/Controller/LayoutController.php 1 addition, 1 deletiontypo3/sysext/install/Classes/Controller/LayoutController.php
Please register or sign in to comment