[TASK] Replace GeneralUtility::hmac usage in ext:form
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:form are replaced by the new HashService. Resolves: #103249 Related: #102761 Related: #103245 Releases: main Change-Id: I636d224764890e31ef33038eb7ec2dd0472786c1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83266 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Converters/AddHmacDataToFormElementPropertyConverter.php 3 additions, 1 deletion.../Converters/AddHmacDataToFormElementPropertyConverter.php
- typo3/sysext/form/Classes/Domain/Configuration/FormDefinition/Converters/AddHmacDataToPropertyCollectionElementConverter.php 3 additions, 1 deletion...rters/AddHmacDataToPropertyCollectionElementConverter.php
- typo3/sysext/form/Classes/Domain/Configuration/FormDefinitionValidationService.php 5 additions, 2 deletions.../Domain/Configuration/FormDefinitionValidationService.php
- typo3/sysext/form/Classes/Hooks/ImportExportHook.php 3 additions, 3 deletionstypo3/sysext/form/Classes/Hooks/ImportExportHook.php
- typo3/sysext/form/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php 1 addition, 1 deletion...Property/TypeConverter/UploadedFileReferenceConverter.php
- typo3/sysext/form/Classes/Slot/FilePersistenceSlot.php 4 additions, 2 deletionstypo3/sysext/form/Classes/Slot/FilePersistenceSlot.php
- typo3/sysext/form/Classes/Slot/ResourcePublicationSlot.php 4 additions, 1 deletiontypo3/sysext/form/Classes/Slot/ResourcePublicationSlot.php
- typo3/sysext/form/Tests/Unit/Domain/Configuration/FormDefinitionValidationServiceTest.php 17 additions, 11 deletions...ain/Configuration/FormDefinitionValidationServiceTest.php
- typo3/sysext/form/Tests/Unit/Mvc/Property/TypeConverter/FormDefinitionArrayConverterTest.php 9 additions, 7 deletions...operty/TypeConverter/FormDefinitionArrayConverterTest.php
Please register or sign in to comment