diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-08-24 20:51:13 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-08-25 01:52:59 +0200 |
commit | 752eceaecc979627e998bee2dba8ee9ce47aa5cf (patch) | |
tree | 70dfa592e125c7c9b61b1819f3268e98c78dcdb8 /pkg/trust/policy.go | |
parent | b36a1d1b79d7579738430adfd0696c324c3dacc0 (diff) | |
download | podman-752eceaecc979627e998bee2dba8ee9ce47aa5cf.tar.gz podman-752eceaecc979627e998bee2dba8ee9ce47aa5cf.tar.bz2 podman-752eceaecc979627e998bee2dba8ee9ce47aa5cf.zip |
Support (image trust show) for sigstoreSigned entries
sigstoreSigned does not have GPG IDs, so we add N/A in that column.
NOTE: this does not show the use-sigstore-attachments value from
registries.d.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'pkg/trust/policy.go')
-rw-r--r-- | pkg/trust/policy.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/trust/policy.go b/pkg/trust/policy.go index 7f32e2afc..085f0076a 100644 --- a/pkg/trust/policy.go +++ b/pkg/trust/policy.go @@ -130,7 +130,7 @@ func getPolicy(policyPath string) (policyContent, error) { return policyContentStruct, nil } -var typeDescription = map[string]string{"insecureAcceptAnything": "accept", "signedBy": "signed", "reject": "reject"} +var typeDescription = map[string]string{"insecureAcceptAnything": "accept", "signedBy": "signed", "sigstoreSigned": "sigstoreSigned", "reject": "reject"} func trustTypeDescription(trustType string) string { trustDescription, exist := typeDescription[trustType] |