Implement authorization import and revocation checks (T-503)

This commit is contained in:
ila
2026-07-20 09:07:30 +08:00
parent b4453130de
commit 76f6108496
36 changed files with 2197 additions and 68 deletions
+2
View File
@@ -49,6 +49,8 @@ type ExtractResult struct {
Bytes int64
EntrypointPath string
WorkingDir string
ProductID string
SupportsTrial bool
PayloadFiles []ExtractedFile
}
+2
View File
@@ -198,6 +198,8 @@ func (extractor Extractor) ExtractVerifiedFileWithCheck(
return ExtractResult{}, packageError(PackageStageExtract, err)
}
result.WorkingDir = manifest.WorkingDir
result.ProductID = manifest.ProductID
result.SupportsTrial = manifest.SupportsTrial
return result, nil
}