Review 14.3 Merged

95219[BUGFIX] Create file dump tokens with SHA3-256 everywhere

Benni Mack CR +2 V +2 Normal +186 −2 updated 08/10/26, 20:10

Commit message

Switching the HMAC of the file dump token to SHA3-256 covered
FileDumpController, which validates the token, and
ResourceStorage, which creates it. Two other places creating
such a token were left with the default algorithm and therefore
generate a token the controller rejects with "403 Forbidden":

* the file link ViewHelper, used whenever f:link.file points to
  a file of a storage which is not public
* the form framework, which streams uploaded files of its own
  storage through the file dump script

Both now pass SHA3-256 as well.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2

Issues 2

Files 5

Review log 3

  1. Benni Mack commented on patch set 1 08/10/26, 20:10

    Cherry Picked from branch main.
  2. Benni Mack voted on patch set 1 CR +2 V +2 08/10/26, 20:10

  3. Benni Mack merged patch set 2 08/10/26, 20:10