Issue Bug Resolved

#110413Explicit algo is not defined in certain places

Benni Mack 08/10/26, 16:43 updated 08/10/26, 20:15

Description

Commit e1830d8d966 ([!!!][TASK] Use stronger cryptographic algorithm for HMAC) moved FileDumpController::isTokenValid() and ResourceStorage::getPublicUrl() to SHA3-256, but missed two token generators:

- typo3/sysext/fluid/Classes/ViewHelpers/Link/FileViewHelper.php:130
- typo3/sysext/form/Classes/Slot/ResourcePublicationSlot.php:84

Both still call hmac(…, ‘resourceStorageDumpFile’) without the algo argument, so they emit SHA-1 tokens that the controller rejects — f:link.file on a non-public storage should be returning 403 on main. T

Reviews 2