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:
Michael Vogt 2024-06-07 09:56:39 +02:00 committed by Sanne Raymaekers
parent 22769305d8
commit 984f51feb8
3 changed files with 126 additions and 0 deletions

View file

@ -0,0 +1,3 @@
package osbuildexecutor
var ValidateOutputArchive = validateOutputArchive