osbuildexecutor: add validateOutputArchive() and run before extract
The tar file from the `osbuild-worker-executor` is potentially tainted. Ensure we validate and only extract if it harmless.
This commit is contained in:
parent
22769305d8
commit
984f51feb8
3 changed files with 126 additions and 0 deletions
3
internal/osbuildexecutor/export_test.go
Normal file
3
internal/osbuildexecutor/export_test.go
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
package osbuildexecutor
|
||||
|
||||
var ValidateOutputArchive = validateOutputArchive
|
||||
Loading…
Add table
Add a link
Reference in a new issue