Skip to content

Resolve "FileProductStorage Signature Verification Improvements"

Closes #175

Adds an ObjectProductHandler to FileProductStorage's storeProductSource method. This should allow signature verification before the product is written to disk, similar to how JsonProductStorage is being changed in #174 (closed).

Also added a check to see if any of the stored files are executable.

Note: Using instanceof to check if Content is FileContent and explicit type casting to change FileContent to File feels wrong.

Merge request reports