mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
chore(go.mod): upgrade trivy and cosign (#1387)
Signed-off-by: Andreea-Lupu <andreealupu1470@yahoo.com>
This commit is contained in:
parent
07bfc8ab95
commit
40bf76add5
15 changed files with 393 additions and 901 deletions
3
Makefile
3
Makefile
|
@ -14,6 +14,7 @@ GOLINTER_VERSION := v1.52.2
|
||||||
NOTATION := $(TOOLSDIR)/bin/notation
|
NOTATION := $(TOOLSDIR)/bin/notation
|
||||||
NOTATION_VERSION := 1.0.0-rc.2
|
NOTATION_VERSION := 1.0.0-rc.2
|
||||||
COSIGN := $(TOOLSDIR)/bin/cosign
|
COSIGN := $(TOOLSDIR)/bin/cosign
|
||||||
|
COSIGN_VERSION := 2.0.2
|
||||||
HELM := $(TOOLSDIR)/bin/helm
|
HELM := $(TOOLSDIR)/bin/helm
|
||||||
ORAS := $(TOOLSDIR)/bin/oras
|
ORAS := $(TOOLSDIR)/bin/oras
|
||||||
ORAS_VERSION := 1.0.0-rc.1
|
ORAS_VERSION := 1.0.0-rc.1
|
||||||
|
@ -423,7 +424,7 @@ $(STACKER):
|
||||||
|
|
||||||
$(COSIGN):
|
$(COSIGN):
|
||||||
mkdir -p $(TOOLSDIR)/bin
|
mkdir -p $(TOOLSDIR)/bin
|
||||||
curl -fsSL https://github.com/sigstore/cosign/releases/download/v1.13.0/cosign-linux-amd64 -o $@; \
|
curl -fsSL https://github.com/sigstore/cosign/releases/download/v$(COSIGN_VERSION)/cosign-linux-amd64 -o $@; \
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
# set ZUI_VERSION to empty string in order to clone zui locally and build default branch
|
# set ZUI_VERSION to empty string in order to clone zui locally and build default branch
|
||||||
|
|
207
go.mod
207
go.mod
|
@ -7,7 +7,7 @@ require (
|
||||||
github.com/Masterminds/semver v1.5.0
|
github.com/Masterminds/semver v1.5.0
|
||||||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
||||||
github.com/apex/log v1.9.0
|
github.com/apex/log v1.9.0
|
||||||
github.com/aquasecurity/trivy-db v0.0.0-20230116084806-4bcdf1c414d0
|
github.com/aquasecurity/trivy-db v0.0.0-20230411140759-3c2ee2168575
|
||||||
github.com/bmatcuk/doublestar/v4 v4.6.0
|
github.com/bmatcuk/doublestar/v4 v4.6.0
|
||||||
github.com/briandowns/spinner v1.23.0
|
github.com/briandowns/spinner v1.23.0
|
||||||
github.com/chartmuseum/auth v0.5.0
|
github.com/chartmuseum/auth v0.5.0
|
||||||
|
@ -19,7 +19,7 @@ require (
|
||||||
github.com/getlantern/deepcopy v0.0.0-20160317154340-7f45deb8130a
|
github.com/getlantern/deepcopy v0.0.0-20160317154340-7f45deb8130a
|
||||||
github.com/go-ldap/ldap/v3 v3.4.4
|
github.com/go-ldap/ldap/v3 v3.4.4
|
||||||
github.com/gofrs/uuid v4.4.0+incompatible
|
github.com/gofrs/uuid v4.4.0+incompatible
|
||||||
github.com/google/go-containerregistry v0.14.0
|
github.com/google/go-containerregistry v0.14.1-0.20230409045903-ed5c185df419
|
||||||
github.com/google/uuid v1.3.0
|
github.com/google/uuid v1.3.0
|
||||||
github.com/gorilla/handlers v1.5.1
|
github.com/gorilla/handlers v1.5.1
|
||||||
github.com/gorilla/mux v1.8.0
|
github.com/gorilla/mux v1.8.0
|
||||||
|
@ -50,18 +50,19 @@ require (
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aquasecurity/trivy v0.38.3
|
github.com/aquasecurity/trivy v0.40.0
|
||||||
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4
|
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.4
|
||||||
github.com/containers/image/v5 v5.23.0
|
github.com/containers/image/v5 v5.23.0
|
||||||
github.com/gobwas/glob v0.2.3
|
github.com/gobwas/glob v0.2.3
|
||||||
github.com/notaryproject/notation-go v1.0.0-rc.3
|
github.com/notaryproject/notation-go v1.0.0-rc.3
|
||||||
github.com/opencontainers/distribution-spec/specs-go v0.0.0-20230117141039-067a0f5b0e25
|
github.com/opencontainers/distribution-spec/specs-go v0.0.0-20230117141039-067a0f5b0e25
|
||||||
github.com/sigstore/cosign v1.13.1
|
github.com/sigstore/cosign/v2 v2.0.2
|
||||||
github.com/swaggo/http-swagger v1.3.4
|
github.com/swaggo/http-swagger v1.3.4
|
||||||
oras.land/oras-go/v2 v2.0.2
|
oras.land/oras-go/v2 v2.0.2
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
filippo.io/edwards25519 v1.0.0 // indirect
|
||||||
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 // indirect
|
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20221215162035-5330a85ea652 // indirect
|
||||||
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
|
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
|
||||||
github.com/CycloneDX/cyclonedx-go v0.7.0 // indirect
|
github.com/CycloneDX/cyclonedx-go v0.7.0 // indirect
|
||||||
|
@ -71,7 +72,7 @@ require (
|
||||||
github.com/Masterminds/squirrel v1.5.3 // indirect
|
github.com/Masterminds/squirrel v1.5.3 // indirect
|
||||||
github.com/Microsoft/hcsshim v0.10.0-rc.7 // indirect
|
github.com/Microsoft/hcsshim v0.10.0-rc.7 // indirect
|
||||||
github.com/alecthomas/chroma v0.10.0 // indirect
|
github.com/alecthomas/chroma v0.10.0 // indirect
|
||||||
github.com/aquasecurity/defsec v0.84.0 // indirect
|
github.com/aquasecurity/defsec v0.85.0 // indirect
|
||||||
github.com/aquasecurity/memoryfs v1.4.4 // indirect
|
github.com/aquasecurity/memoryfs v1.4.4 // indirect
|
||||||
github.com/aquasecurity/table v1.8.0 // indirect
|
github.com/aquasecurity/table v1.8.0 // indirect
|
||||||
github.com/aquasecurity/tml v0.6.1 // indirect
|
github.com/aquasecurity/tml v0.6.1 // indirect
|
||||||
|
@ -81,6 +82,7 @@ require (
|
||||||
github.com/aws/aws-sdk-go-v2/service/ec2 v1.89.1 // indirect
|
github.com/aws/aws-sdk-go-v2/service/ec2 v1.89.1 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.26 // indirect
|
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.26 // indirect
|
||||||
|
github.com/buildkite/agent/v3 v3.45.0 // indirect
|
||||||
github.com/chai2010/gettext-go v1.0.2 // indirect
|
github.com/chai2010/gettext-go v1.0.2 // indirect
|
||||||
github.com/cloudflare/circl v1.1.0 // indirect
|
github.com/cloudflare/circl v1.1.0 // indirect
|
||||||
github.com/containerd/cgroups v1.1.0 // indirect
|
github.com/containerd/cgroups v1.1.0 // indirect
|
||||||
|
@ -89,6 +91,8 @@ require (
|
||||||
github.com/containerd/fifo v1.1.0 // indirect
|
github.com/containerd/fifo v1.1.0 // indirect
|
||||||
github.com/containerd/ttrpc v1.2.1 // indirect
|
github.com/containerd/ttrpc v1.2.1 // indirect
|
||||||
github.com/containerd/typeurl/v2 v2.1.0 // indirect
|
github.com/containerd/typeurl/v2 v2.1.0 // indirect
|
||||||
|
github.com/digitorus/pkcs7 v0.0.0-20221212123742-001c36b64ec3 // indirect
|
||||||
|
github.com/digitorus/timestamp v0.0.0-20221019182153-ef3b63b79b31 // indirect
|
||||||
github.com/dlclark/regexp2 v1.4.0 // indirect
|
github.com/dlclark/regexp2 v1.4.0 // indirect
|
||||||
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
|
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
|
||||||
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
|
github.com/emicklei/go-restful/v3 v3.10.1 // indirect
|
||||||
|
@ -96,9 +100,12 @@ require (
|
||||||
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
|
||||||
github.com/go-errors/errors v1.0.1 // indirect
|
github.com/go-errors/errors v1.0.1 // indirect
|
||||||
github.com/go-gorp/gorp/v3 v3.0.2 // indirect
|
github.com/go-gorp/gorp/v3 v3.0.2 // indirect
|
||||||
|
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
|
||||||
github.com/go-logr/stdr v1.2.2 // indirect
|
github.com/go-logr/stdr v1.2.2 // indirect
|
||||||
github.com/google/gnostic v0.5.7-v3refs // indirect
|
github.com/google/gnostic v0.5.7-v3refs // indirect
|
||||||
|
github.com/google/go-github/v50 v50.2.0 // indirect
|
||||||
github.com/google/licenseclassifier/v2 v2.0.0 // indirect
|
github.com/google/licenseclassifier/v2 v2.0.0 // indirect
|
||||||
|
github.com/google/s2a-go v0.1.2 // indirect
|
||||||
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
|
||||||
github.com/gosuri/uitable v0.0.4 // indirect
|
github.com/gosuri/uitable v0.0.4 // indirect
|
||||||
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
|
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
|
||||||
|
@ -116,7 +123,6 @@ require (
|
||||||
github.com/masahiro331/go-ext4-filesystem v0.0.0-20221225060520-c150f5eacfe1 // indirect
|
github.com/masahiro331/go-ext4-filesystem v0.0.0-20221225060520-c150f5eacfe1 // indirect
|
||||||
github.com/masahiro331/go-vmdk-parser v0.0.0-20221225061455-612096e4bbbd // indirect
|
github.com/masahiro331/go-vmdk-parser v0.0.0-20221225061455-612096e4bbbd // indirect
|
||||||
github.com/masahiro331/go-xfs-filesystem v0.0.0-20221225060805-c02764233454 // indirect
|
github.com/masahiro331/go-xfs-filesystem v0.0.0-20221225060805-c02764233454 // indirect
|
||||||
github.com/mattn/go-sqlite3 v1.14.15 // indirect
|
|
||||||
github.com/microsoft/go-rustaudit v0.0.0-20220808201409-204dfee52032 // indirect
|
github.com/microsoft/go-rustaudit v0.0.0-20220808201409-204dfee52032 // indirect
|
||||||
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
|
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
|
||||||
github.com/moby/locker v1.0.1 // indirect
|
github.com/moby/locker v1.0.1 // indirect
|
||||||
|
@ -130,46 +136,47 @@ require (
|
||||||
github.com/opencontainers/selinux v1.11.0 // indirect
|
github.com/opencontainers/selinux v1.11.0 // indirect
|
||||||
github.com/owenrumney/go-sarif/v2 v2.1.2 // indirect
|
github.com/owenrumney/go-sarif/v2 v2.1.2 // indirect
|
||||||
github.com/package-url/packageurl-go v0.1.1-0.20220428063043-89078438f170 // indirect
|
github.com/package-url/packageurl-go v0.1.1-0.20220428063043-89078438f170 // indirect
|
||||||
|
github.com/pborman/uuid v1.2.1 // indirect
|
||||||
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
|
||||||
github.com/pjbgf/sha1cd v0.2.3 // indirect
|
github.com/pjbgf/sha1cd v0.3.0 // indirect
|
||||||
github.com/pkg/errors v0.9.1 // indirect
|
github.com/pkg/errors v0.9.1 // indirect
|
||||||
github.com/rubenv/sql-migrate v1.2.0 // indirect
|
github.com/rubenv/sql-migrate v1.2.0 // indirect
|
||||||
github.com/samber/lo v1.37.0 // indirect
|
github.com/samber/lo v1.37.0 // indirect
|
||||||
github.com/shopspring/decimal v1.2.0 // indirect
|
github.com/shopspring/decimal v1.2.0 // indirect
|
||||||
|
github.com/sigstore/timestamp-authority v1.0.0 // indirect
|
||||||
github.com/skeema/knownhosts v1.1.0 // indirect
|
github.com/skeema/knownhosts v1.1.0 // indirect
|
||||||
github.com/spdx/tools-golang v0.3.1-0.20230104082527-d6f58551be3f // indirect
|
github.com/spdx/tools-golang v0.3.1-0.20230104082527-d6f58551be3f // indirect
|
||||||
github.com/tetratelabs/wazero v1.0.0-pre.9 // indirect
|
github.com/tetratelabs/wazero v1.0.0 // indirect
|
||||||
github.com/urfave/cli/v2 v2.25.0 // indirect
|
github.com/urfave/cli/v2 v2.25.0 // indirect
|
||||||
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
|
||||||
github.com/xlab/treeprint v1.1.0 // indirect
|
github.com/xlab/treeprint v1.1.0 // indirect
|
||||||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
||||||
go.opentelemetry.io/otel/metric v0.37.0 // indirect
|
|
||||||
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
|
||||||
|
go.step.sm/crypto v0.29.3 // indirect
|
||||||
helm.sh/helm/v3 v3.11.1 // indirect
|
helm.sh/helm/v3 v3.11.1 // indirect
|
||||||
k8s.io/apiextensions-apiserver v0.26.0 // indirect
|
k8s.io/apiextensions-apiserver v0.26.0 // indirect
|
||||||
k8s.io/apiserver v0.26.2 // indirect
|
k8s.io/apiserver v0.26.2 // indirect
|
||||||
k8s.io/cli-runtime v0.26.2 // indirect
|
k8s.io/cli-runtime v0.26.3 // indirect
|
||||||
k8s.io/component-base v0.26.2 // indirect
|
k8s.io/component-base v0.26.3 // indirect
|
||||||
k8s.io/kubectl v0.26.2 // indirect
|
k8s.io/kubectl v0.26.3 // indirect
|
||||||
oras.land/oras-go v1.2.3 // indirect
|
oras.land/oras-go v1.2.3 // indirect
|
||||||
sigs.k8s.io/kustomize/api v0.12.1 // indirect
|
sigs.k8s.io/kustomize/api v0.12.1 // indirect
|
||||||
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
|
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
bitbucket.org/creachadair/shell v0.0.7 // indirect
|
|
||||||
cloud.google.com/go v0.110.0 // indirect
|
cloud.google.com/go v0.110.0 // indirect
|
||||||
cloud.google.com/go/compute v1.18.0 // indirect
|
cloud.google.com/go/compute v1.19.0 // indirect
|
||||||
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
||||||
cloud.google.com/go/iam v0.12.0 // indirect
|
cloud.google.com/go/iam v0.13.0 // indirect
|
||||||
cloud.google.com/go/storage v1.28.1 // indirect
|
cloud.google.com/go/storage v1.29.0 // indirect
|
||||||
cuelang.org/go v0.4.3 // indirect
|
cuelang.org/go v0.5.0 // indirect
|
||||||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // indirect
|
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // indirect
|
||||||
github.com/AliyunContainerService/ack-ram-tool/pkg/credentials/alibabacloudsdkgo/helper v0.2.0 // indirect
|
github.com/AliyunContainerService/ack-ram-tool/pkg/credentials/alibabacloudsdkgo/helper v0.2.0 // indirect
|
||||||
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
|
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
|
||||||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
||||||
github.com/Azure/go-autorest/autorest v0.11.28 // indirect
|
github.com/Azure/go-autorest/autorest v0.11.28 // indirect
|
||||||
github.com/Azure/go-autorest/autorest/adal v0.9.21 // indirect
|
github.com/Azure/go-autorest/autorest/adal v0.9.23 // indirect
|
||||||
github.com/Azure/go-autorest/autorest/azure/auth v0.5.12 // indirect
|
github.com/Azure/go-autorest/autorest/azure/auth v0.5.12 // indirect
|
||||||
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
|
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
|
||||||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
||||||
|
@ -182,11 +189,11 @@ require (
|
||||||
github.com/Masterminds/goutils v1.1.1 // indirect
|
github.com/Masterminds/goutils v1.1.1 // indirect
|
||||||
github.com/Microsoft/go-winio v0.6.0 // indirect
|
github.com/Microsoft/go-winio v0.6.0 // indirect
|
||||||
github.com/OneOfOne/xxhash v1.2.8 // indirect
|
github.com/OneOfOne/xxhash v1.2.8 // indirect
|
||||||
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
|
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 // indirect
|
||||||
github.com/ThalesIgnite/crypto11 v1.2.5 // indirect
|
github.com/ThalesIgnite/crypto11 v1.2.5 // indirect
|
||||||
github.com/VividCortex/ewma v1.2.0 // indirect
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
||||||
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
|
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
|
||||||
github.com/acomagu/bufpipe v1.0.3 // indirect
|
github.com/acomagu/bufpipe v1.0.4 // indirect
|
||||||
github.com/agext/levenshtein v1.2.3 // indirect
|
github.com/agext/levenshtein v1.2.3 // indirect
|
||||||
github.com/agnivade/levenshtein v1.1.1 // indirect
|
github.com/agnivade/levenshtein v1.1.1 // indirect
|
||||||
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4 // indirect
|
github.com/alibabacloud-go/alibabacloud-gateway-spi v0.0.4 // indirect
|
||||||
|
@ -202,55 +209,46 @@ require (
|
||||||
github.com/aliyun/credentials-go v1.2.3 // indirect
|
github.com/aliyun/credentials-go v1.2.3 // indirect
|
||||||
github.com/apparentlymart/go-cidr v1.1.0 // indirect
|
github.com/apparentlymart/go-cidr v1.1.0 // indirect
|
||||||
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
|
||||||
github.com/aquasecurity/go-dep-parser v0.0.0-20230309121549-fcc0deb06781 // indirect
|
github.com/aquasecurity/go-dep-parser v0.0.0-20230413091456-df0396537e15 // indirect
|
||||||
github.com/aquasecurity/go-gem-version v0.0.0-20201115065557-8eed6fe000ce // indirect
|
github.com/aquasecurity/go-gem-version v0.0.0-20201115065557-8eed6fe000ce // indirect
|
||||||
github.com/aquasecurity/go-npm-version v0.0.0-20201110091526-0b796d180798 // indirect
|
github.com/aquasecurity/go-npm-version v0.0.0-20201110091526-0b796d180798 // indirect
|
||||||
github.com/aquasecurity/go-pep440-version v0.0.0-20210121094942-22b2f8951d46 // indirect
|
github.com/aquasecurity/go-pep440-version v0.0.0-20210121094942-22b2f8951d46 // indirect
|
||||||
github.com/aquasecurity/go-version v0.0.0-20210121072130-637058cfe492 // indirect
|
github.com/aquasecurity/go-version v0.0.0-20210121072130-637058cfe492 // indirect
|
||||||
github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
||||||
github.com/aws/aws-sdk-go v1.44.241
|
github.com/aws/aws-sdk-go v1.44.248
|
||||||
github.com/aws/aws-sdk-go-v2 v1.17.8
|
github.com/aws/aws-sdk-go-v2 v1.17.8
|
||||||
github.com/aws/aws-sdk-go-v2/config v1.18.19
|
github.com/aws/aws-sdk-go-v2/config v1.18.21
|
||||||
github.com/aws/aws-sdk-go-v2/credentials v1.13.18 // indirect
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.20 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.21
|
github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue v1.10.21
|
||||||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.1 // indirect
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.2 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.32 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.32 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.26 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.26 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.32 // indirect
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.33 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/ecr v1.17.18 // indirect
|
github.com/aws/aws-sdk-go-v2/service/ecr v1.17.18 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.12.0 // indirect
|
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.12.0 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.26 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/sso v1.12.6 // indirect
|
github.com/aws/aws-sdk-go-v2/service/sso v1.12.8 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.6 // indirect
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.8 // indirect
|
||||||
github.com/aws/aws-sdk-go-v2/service/sts v1.18.7 // indirect
|
github.com/aws/aws-sdk-go-v2/service/sts v1.18.9 // indirect
|
||||||
github.com/aws/smithy-go v1.13.5 // indirect
|
github.com/aws/smithy-go v1.13.5 // indirect
|
||||||
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795 // indirect
|
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220228164355-396b2034c795 // indirect
|
||||||
github.com/benbjohnson/clock v1.1.0 // indirect
|
|
||||||
github.com/beorn7/perks v1.0.1 // indirect
|
github.com/beorn7/perks v1.0.1 // indirect
|
||||||
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
|
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
|
||||||
github.com/bgentry/speakeasy v0.1.0 // indirect
|
|
||||||
github.com/blang/semver v3.5.1+incompatible // indirect
|
github.com/blang/semver v3.5.1+incompatible // indirect
|
||||||
github.com/bmatcuk/doublestar v1.3.4 // indirect
|
github.com/bmatcuk/doublestar v1.3.4 // indirect
|
||||||
github.com/caarlos0/env/v6 v6.10.1 // indirect
|
|
||||||
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
|
||||||
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
|
|
||||||
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
|
|
||||||
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
||||||
github.com/cheggaaa/pb/v3 v3.1.0 // indirect
|
github.com/cheggaaa/pb/v3 v3.1.2 // indirect
|
||||||
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21 // indirect
|
github.com/chrismellard/docker-credential-acr-env v0.0.0-20220119192733-fe33c00cee21 // indirect
|
||||||
github.com/clbanning/mxj/v2 v2.5.6 // indirect
|
github.com/clbanning/mxj/v2 v2.5.6 // indirect
|
||||||
github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe // indirect
|
github.com/cockroachdb/apd/v2 v2.0.2 // indirect
|
||||||
github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b // indirect
|
|
||||||
github.com/cockroachdb/apd/v2 v2.0.1 // indirect
|
|
||||||
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
|
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be // indirect
|
||||||
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
|
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect
|
||||||
github.com/containerd/typeurl v1.0.2 // indirect
|
github.com/containerd/typeurl v1.0.2 // indirect
|
||||||
github.com/containers/libtrust v0.0.0-20200511145503-9c3a6c22cd9a // indirect
|
github.com/containers/libtrust v0.0.0-20200511145503-9c3a6c22cd9a // indirect
|
||||||
github.com/containers/ocicrypt v1.1.6 // indirect
|
github.com/containers/ocicrypt v1.1.6 // indirect
|
||||||
github.com/containers/storage v1.43.0 // indirect
|
github.com/containers/storage v1.43.0 // indirect
|
||||||
github.com/coreos/go-oidc/v3 v3.4.0 // indirect
|
github.com/coreos/go-oidc/v3 v3.5.0 // indirect
|
||||||
github.com/coreos/go-semver v0.3.0 // indirect
|
|
||||||
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
|
|
||||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
||||||
github.com/cyberphone/json-canonicalization v0.0.0-20210823021906-dc406ceaf94b // indirect
|
github.com/cyberphone/json-canonicalization v0.0.0-20210823021906-dc406ceaf94b // indirect
|
||||||
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
|
github.com/cyphar/filepath-securejoin v0.2.3 // indirect
|
||||||
|
@ -263,60 +261,51 @@ require (
|
||||||
github.com/docker/go-connections v0.4.0 // indirect
|
github.com/docker/go-connections v0.4.0 // indirect
|
||||||
github.com/docker/go-metrics v0.0.1 // indirect
|
github.com/docker/go-metrics v0.0.1 // indirect
|
||||||
github.com/docker/go-units v0.5.0 // indirect
|
github.com/docker/go-units v0.5.0 // indirect
|
||||||
github.com/emicklei/proto v1.6.15 // indirect
|
github.com/emicklei/proto v1.10.0 // indirect
|
||||||
github.com/emirpasic/gods v1.18.1 // indirect
|
github.com/emirpasic/gods v1.18.1 // indirect
|
||||||
github.com/envoyproxy/go-control-plane v0.10.3 // indirect
|
github.com/fatih/color v1.14.1 // indirect
|
||||||
github.com/envoyproxy/protoc-gen-validate v0.9.1 // indirect
|
|
||||||
github.com/fatih/color v1.13.0 // indirect
|
|
||||||
github.com/felixge/httpsnoop v1.0.3 // indirect
|
github.com/felixge/httpsnoop v1.0.3 // indirect
|
||||||
github.com/fullstorydev/grpcurl v1.8.7 // indirect
|
|
||||||
github.com/ghodss/yaml v1.0.0 // indirect
|
github.com/ghodss/yaml v1.0.0 // indirect
|
||||||
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
|
github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
|
||||||
github.com/go-chi/chi v4.1.2+incompatible // indirect
|
github.com/go-chi/chi v4.1.2+incompatible // indirect
|
||||||
github.com/go-git/gcfg v1.5.0 // indirect
|
github.com/go-git/gcfg v1.5.0 // indirect
|
||||||
github.com/go-git/go-billy/v5 v5.4.0 // indirect
|
github.com/go-git/go-billy/v5 v5.4.1 // indirect
|
||||||
github.com/go-git/go-git/v5 v5.5.2 // indirect
|
github.com/go-git/go-git/v5 v5.6.1 // indirect
|
||||||
github.com/go-logr/logr v1.2.3 // indirect
|
github.com/go-logr/logr v1.2.4 // indirect
|
||||||
github.com/go-openapi/analysis v0.21.4 // indirect
|
github.com/go-openapi/analysis v0.21.4 // indirect
|
||||||
github.com/go-openapi/errors v0.20.3 // indirect
|
github.com/go-openapi/errors v0.20.3 // indirect
|
||||||
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
github.com/go-openapi/jsonpointer v0.19.5 // indirect
|
||||||
github.com/go-openapi/jsonreference v0.20.0 // indirect
|
github.com/go-openapi/jsonreference v0.20.0 // indirect
|
||||||
github.com/go-openapi/loads v0.21.2 // indirect
|
github.com/go-openapi/loads v0.21.2 // indirect
|
||||||
github.com/go-openapi/runtime v0.25.0 // indirect
|
github.com/go-openapi/runtime v0.26.0 // indirect
|
||||||
github.com/go-openapi/spec v0.20.7 // indirect
|
github.com/go-openapi/spec v0.20.8 // indirect
|
||||||
github.com/go-openapi/strfmt v0.21.3 // indirect
|
github.com/go-openapi/strfmt v0.21.7 // indirect
|
||||||
github.com/go-openapi/swag v0.22.3 // indirect
|
github.com/go-openapi/swag v0.22.3 // indirect
|
||||||
github.com/go-openapi/validate v0.22.0 // indirect
|
github.com/go-openapi/validate v0.22.1 // indirect
|
||||||
github.com/go-piv/piv-go v1.10.0 // indirect
|
github.com/go-piv/piv-go v1.11.0 // indirect
|
||||||
github.com/go-pkgz/expirable-cache v0.0.3 // indirect
|
github.com/go-pkgz/expirable-cache v0.0.3 // indirect
|
||||||
github.com/go-playground/locales v0.14.0 // indirect
|
github.com/go-playground/locales v0.14.1 // indirect
|
||||||
github.com/go-playground/universal-translator v0.18.0 // indirect
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
||||||
github.com/go-playground/validator/v10 v10.11.1 // indirect
|
github.com/go-playground/validator/v10 v10.12.0 // indirect
|
||||||
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
github.com/go-redis/redis/v8 v8.11.5 // indirect
|
||||||
github.com/gogo/protobuf v1.3.2 // indirect
|
github.com/gogo/protobuf v1.3.2 // indirect
|
||||||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
|
||||||
github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
|
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
|
||||||
github.com/golang/glog v1.0.0 // indirect
|
github.com/golang/glog v1.0.0 // indirect
|
||||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
||||||
github.com/golang/mock v1.6.0 // indirect
|
|
||||||
github.com/golang/protobuf v1.5.3 // indirect
|
github.com/golang/protobuf v1.5.3 // indirect
|
||||||
github.com/golang/snappy v0.0.4 // indirect
|
github.com/golang/snappy v0.0.4 // indirect
|
||||||
github.com/google/btree v1.1.2 // indirect
|
github.com/google/btree v1.1.2 // indirect
|
||||||
github.com/google/certificate-transparency-go v1.1.3 // indirect
|
github.com/google/certificate-transparency-go v1.1.4 // indirect
|
||||||
github.com/google/go-cmp v0.5.9 // indirect
|
github.com/google/go-cmp v0.5.9 // indirect
|
||||||
github.com/google/go-github/v45 v45.2.0 // indirect
|
|
||||||
github.com/google/go-querystring v1.1.0 // indirect
|
github.com/google/go-querystring v1.1.0 // indirect
|
||||||
github.com/google/gofuzz v1.2.0 // indirect
|
github.com/google/gofuzz v1.2.0 // indirect
|
||||||
github.com/google/trillian v1.5.0 // indirect
|
github.com/google/trillian v1.5.1 // indirect
|
||||||
github.com/google/wire v0.5.0 // indirect
|
github.com/google/wire v0.5.0 // indirect
|
||||||
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
|
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
|
||||||
github.com/googleapis/gax-go/v2 v2.7.0 // indirect
|
github.com/googleapis/gax-go/v2 v2.8.0 // indirect
|
||||||
github.com/gopherjs/gopherjs v1.17.2 // indirect
|
github.com/gopherjs/gopherjs v1.17.2 // indirect
|
||||||
github.com/gorilla/websocket v1.5.0 // indirect
|
github.com/gorilla/websocket v1.5.0 // indirect
|
||||||
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
|
|
||||||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
|
||||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
|
|
||||||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
|
|
||||||
github.com/hashicorp/errwrap v1.1.0 // indirect
|
github.com/hashicorp/errwrap v1.1.0 // indirect
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||||
github.com/hashicorp/go-getter v1.7.0 // indirect
|
github.com/hashicorp/go-getter v1.7.0 // indirect
|
||||||
|
@ -329,13 +318,11 @@ require (
|
||||||
github.com/hashicorp/hcl/v2 v2.14.1 // indirect
|
github.com/hashicorp/hcl/v2 v2.14.1 // indirect
|
||||||
github.com/huandu/xstrings v1.3.3 // indirect
|
github.com/huandu/xstrings v1.3.3 // indirect
|
||||||
github.com/imdario/mergo v0.3.13 // indirect
|
github.com/imdario/mergo v0.3.13 // indirect
|
||||||
github.com/in-toto/in-toto-golang v0.5.0 // indirect
|
github.com/in-toto/in-toto-golang v0.7.1 // indirect
|
||||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||||
github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b // indirect
|
github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b // indirect
|
||||||
github.com/jhump/protoreflect v1.13.0 // indirect
|
|
||||||
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
||||||
github.com/jonboulle/clockwork v0.3.0 // indirect
|
|
||||||
github.com/josharian/intern v1.0.0 // indirect
|
github.com/josharian/intern v1.0.0 // indirect
|
||||||
github.com/jtolds/gls v4.20.0+incompatible // indirect
|
github.com/jtolds/gls v4.20.0+incompatible // indirect
|
||||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||||
|
@ -347,8 +334,8 @@ require (
|
||||||
github.com/knqyf263/go-rpm-version v0.0.0-20220614171824-631e686d1075 // indirect
|
github.com/knqyf263/go-rpm-version v0.0.0-20220614171824-631e686d1075 // indirect
|
||||||
github.com/knqyf263/go-rpmdb v0.0.0-20230301153543-ba94b245509b // indirect
|
github.com/knqyf263/go-rpmdb v0.0.0-20230301153543-ba94b245509b // indirect
|
||||||
github.com/knqyf263/nested v0.0.1 // indirect
|
github.com/knqyf263/nested v0.0.1 // indirect
|
||||||
github.com/leodido/go-urn v1.2.1 // indirect
|
github.com/leodido/go-urn v1.2.2 // indirect
|
||||||
github.com/letsencrypt/boulder v0.0.0-20220929215747-76583552c2be // indirect
|
github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf // indirect
|
||||||
github.com/magiconair/properties v1.8.7 // indirect
|
github.com/magiconair/properties v1.8.7 // indirect
|
||||||
github.com/mailru/easyjson v0.7.7 // indirect
|
github.com/mailru/easyjson v0.7.7 // indirect
|
||||||
github.com/masahiro331/go-mvn-version v0.0.0-20210429150710-d3157d602a08 // indirect
|
github.com/masahiro331/go-mvn-version v0.0.0-20210429150710-d3157d602a08 // indirect
|
||||||
|
@ -362,7 +349,7 @@ require (
|
||||||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
|
||||||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
|
||||||
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
github.com/mitchellh/reflectwalk v1.0.2 // indirect
|
||||||
github.com/moby/buildkit v0.11.4 // indirect
|
github.com/moby/buildkit v0.11.5 // indirect
|
||||||
github.com/moby/sys/mountinfo v0.6.2 // indirect
|
github.com/moby/sys/mountinfo v0.6.2 // indirect
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||||
|
@ -371,7 +358,7 @@ require (
|
||||||
github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 // indirect
|
github.com/nmcclain/asn1-ber v0.0.0-20170104154839-2661553a0484 // indirect
|
||||||
github.com/notaryproject/notation-core-go v1.0.0-rc.2
|
github.com/notaryproject/notation-core-go v1.0.0-rc.2
|
||||||
github.com/oklog/ulid v1.3.1 // indirect
|
github.com/oklog/ulid v1.3.1 // indirect
|
||||||
github.com/open-policy-agent/opa v0.45.0 // indirect
|
github.com/open-policy-agent/opa v0.51.0 // indirect
|
||||||
github.com/opencontainers/runc v1.1.5 // indirect
|
github.com/opencontainers/runc v1.1.5 // indirect
|
||||||
github.com/opencontainers/runtime-spec v1.1.0-rc.1 // indirect
|
github.com/opencontainers/runtime-spec v1.1.0-rc.1 // indirect
|
||||||
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
github.com/opentracing/opentracing-go v1.2.0 // indirect
|
||||||
|
@ -379,31 +366,30 @@ require (
|
||||||
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
|
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
|
||||||
github.com/pmezard/go-difflib v1.0.0 // indirect
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
||||||
github.com/proglottis/gpgme v0.1.3 // indirect
|
github.com/proglottis/gpgme v0.1.3 // indirect
|
||||||
github.com/prometheus/common v0.37.0 // indirect
|
github.com/prometheus/common v0.42.0 // indirect
|
||||||
github.com/prometheus/procfs v0.8.0 // indirect
|
github.com/prometheus/procfs v0.9.0 // indirect
|
||||||
github.com/protocolbuffers/txtpbfmt v0.0.0-20201118171849-f6a6b3f636fc // indirect
|
github.com/protocolbuffers/txtpbfmt v0.0.0-20220428173112-74888fd59c2b // indirect
|
||||||
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
|
||||||
github.com/rivo/uniseg v0.2.0 // indirect
|
github.com/rivo/uniseg v0.2.0 // indirect
|
||||||
github.com/rootless-containers/proto/go-proto v0.0.0-20210921234734-69430b6543fb // indirect
|
github.com/rootless-containers/proto/go-proto v0.0.0-20210921234734-69430b6543fb // indirect
|
||||||
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
||||||
github.com/saracen/walker v0.1.3 // indirect
|
github.com/saracen/walker v0.1.3 // indirect
|
||||||
github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 // indirect
|
github.com/sassoftware/relic v7.2.1+incompatible // indirect
|
||||||
github.com/secure-systems-lab/go-securesystemslib v0.4.0 // indirect
|
github.com/secure-systems-lab/go-securesystemslib v0.5.0 // indirect
|
||||||
github.com/segmentio/ksuid v1.0.4 // indirect
|
github.com/segmentio/ksuid v1.0.4 // indirect
|
||||||
github.com/sergi/go-diff v1.2.0 // indirect
|
github.com/sergi/go-diff v1.2.0 // indirect
|
||||||
github.com/shibumi/go-pathspec v1.3.0 // indirect
|
github.com/shibumi/go-pathspec v1.3.0 // indirect
|
||||||
github.com/sigstore/fulcio v0.6.0 // indirect
|
github.com/sigstore/fulcio v1.2.0 // indirect
|
||||||
github.com/sigstore/rekor v1.0.1 // indirect
|
github.com/sigstore/rekor v1.1.0 // indirect
|
||||||
github.com/sigstore/sigstore v1.4.4 // indirect
|
github.com/sigstore/sigstore v1.6.3 // indirect
|
||||||
github.com/sirupsen/logrus v1.9.0 // indirect
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
||||||
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
|
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect
|
||||||
github.com/smartystreets/assertions v1.13.1 // indirect
|
github.com/smartystreets/assertions v1.13.1 // indirect
|
||||||
github.com/soheilhy/cmux v0.1.5 // indirect
|
|
||||||
github.com/spf13/afero v1.9.3 // indirect
|
github.com/spf13/afero v1.9.3 // indirect
|
||||||
github.com/spf13/cast v1.5.0 // indirect
|
github.com/spf13/cast v1.5.0 // indirect
|
||||||
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
||||||
github.com/spf13/pflag v1.0.5 // indirect
|
github.com/spf13/pflag v1.0.5 // indirect
|
||||||
github.com/spiffe/go-spiffe/v2 v2.1.1 // indirect
|
github.com/spiffe/go-spiffe/v2 v2.1.4 // indirect
|
||||||
github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 // indirect
|
github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 // indirect
|
||||||
github.com/stretchr/objx v0.5.0 // indirect
|
github.com/stretchr/objx v0.5.0 // indirect
|
||||||
github.com/subosito/gotenv v1.4.2 // indirect
|
github.com/subosito/gotenv v1.4.2 // indirect
|
||||||
|
@ -413,10 +399,9 @@ require (
|
||||||
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
|
github.com/tchap/go-patricia/v2 v2.3.1 // indirect
|
||||||
github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613 // indirect
|
github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613 // indirect
|
||||||
github.com/thales-e-security/pool v0.0.2 // indirect
|
github.com/thales-e-security/pool v0.0.2 // indirect
|
||||||
github.com/theupdateframework/go-tuf v0.5.2-0.20220930112810-3890c1e7ace4 // indirect
|
github.com/theupdateframework/go-tuf v0.5.2 // indirect
|
||||||
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
|
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
|
||||||
github.com/tjfoc/gmsm v1.3.2 // indirect
|
github.com/tjfoc/gmsm v1.3.2 // indirect
|
||||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 // indirect
|
|
||||||
github.com/transparency-dev/merkle v0.0.1 // indirect
|
github.com/transparency-dev/merkle v0.0.1 // indirect
|
||||||
github.com/twitchtv/twirp v8.1.2+incompatible // indirect
|
github.com/twitchtv/twirp v8.1.2+incompatible // indirect
|
||||||
github.com/ulikunitz/xz v0.5.10 // indirect
|
github.com/ulikunitz/xz v0.5.10 // indirect
|
||||||
|
@ -424,44 +409,27 @@ require (
|
||||||
github.com/vbatts/go-mtree v0.5.2 // indirect
|
github.com/vbatts/go-mtree v0.5.2 // indirect
|
||||||
github.com/vbatts/tar-split v0.11.2 // indirect
|
github.com/vbatts/tar-split v0.11.2 // indirect
|
||||||
github.com/vbauerster/mpb/v7 v7.5.3 // indirect
|
github.com/vbauerster/mpb/v7 v7.5.3 // indirect
|
||||||
github.com/xanzy/go-gitlab v0.73.1 // indirect
|
github.com/xanzy/go-gitlab v0.83.0 // indirect
|
||||||
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
github.com/xanzy/ssh-agent v0.3.3 // indirect
|
||||||
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
|
||||||
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
|
||||||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
|
|
||||||
github.com/yashtewari/glob-intersection v0.1.0 // indirect
|
github.com/yashtewari/glob-intersection v0.1.0 // indirect
|
||||||
github.com/zclconf/go-cty v1.10.0 // indirect
|
github.com/zclconf/go-cty v1.10.0 // indirect
|
||||||
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
|
github.com/zclconf/go-cty-yaml v1.0.2 // indirect
|
||||||
github.com/zeebo/errs v1.2.2 // indirect
|
github.com/zeebo/errs v1.3.0 // indirect
|
||||||
go.etcd.io/etcd/api/v3 v3.6.0-alpha.0 // indirect
|
go.etcd.io/etcd/api/v3 v3.6.0-alpha.0 // indirect
|
||||||
go.etcd.io/etcd/client/pkg/v3 v3.6.0-alpha.0 // indirect
|
go.mongodb.org/mongo-driver v1.11.3 // indirect
|
||||||
go.etcd.io/etcd/client/v2 v2.306.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/client/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/etcdctl/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/etcdutl/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/pkg/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/raft/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/server/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/tests/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.etcd.io/etcd/v3 v3.6.0-alpha.0 // indirect
|
|
||||||
go.mongodb.org/mongo-driver v1.10.0 // indirect
|
|
||||||
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
|
go.mozilla.org/pkcs7 v0.0.0-20210826202110-33d05740a352 // indirect
|
||||||
go.opencensus.io v0.24.0 // indirect
|
go.opencensus.io v0.24.0 // indirect
|
||||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.40.0 // indirect
|
|
||||||
go.opentelemetry.io/otel v1.14.0 // indirect
|
go.opentelemetry.io/otel v1.14.0 // indirect
|
||||||
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.14.0 // indirect
|
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.14.0 // indirect
|
|
||||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.14.0 // indirect
|
|
||||||
go.opentelemetry.io/otel/sdk v1.14.0 // indirect
|
|
||||||
go.opentelemetry.io/otel/trace v1.14.0 // indirect
|
go.opentelemetry.io/otel/trace v1.14.0 // indirect
|
||||||
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
|
|
||||||
go.uber.org/atomic v1.10.0 // indirect
|
go.uber.org/atomic v1.10.0 // indirect
|
||||||
go.uber.org/multierr v1.8.0 // indirect
|
go.uber.org/multierr v1.9.0 // indirect
|
||||||
go.uber.org/zap v1.24.0 // indirect
|
go.uber.org/zap v1.24.0 // indirect
|
||||||
golang.org/x/exp v0.0.0-20220823124025-807a23277127 // indirect
|
golang.org/x/exp v0.0.0-20230124195608-d38c7dcee874 // indirect
|
||||||
golang.org/x/mod v0.9.0 // indirect
|
golang.org/x/mod v0.9.0 // indirect
|
||||||
golang.org/x/net v0.9.0 // indirect
|
golang.org/x/net v0.9.0 // indirect
|
||||||
golang.org/x/oauth2 v0.6.0 // indirect
|
golang.org/x/oauth2 v0.7.0 // indirect
|
||||||
golang.org/x/sync v0.1.0 // indirect
|
golang.org/x/sync v0.1.0 // indirect
|
||||||
golang.org/x/sys v0.7.0 // indirect
|
golang.org/x/sys v0.7.0 // indirect
|
||||||
golang.org/x/term v0.7.0 // indirect
|
golang.org/x/term v0.7.0 // indirect
|
||||||
|
@ -469,25 +437,24 @@ require (
|
||||||
golang.org/x/time v0.3.0 // indirect
|
golang.org/x/time v0.3.0 // indirect
|
||||||
golang.org/x/tools v0.7.0 // indirect
|
golang.org/x/tools v0.7.0 // indirect
|
||||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||||
google.golang.org/api v0.110.0 // indirect
|
google.golang.org/api v0.119.0 // indirect
|
||||||
google.golang.org/appengine v1.6.7 // indirect
|
google.golang.org/appengine v1.6.7 // indirect
|
||||||
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
|
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
|
||||||
google.golang.org/grpc v1.53.0 // indirect
|
google.golang.org/grpc v1.54.0 // indirect
|
||||||
google.golang.org/protobuf v1.29.1 // indirect
|
google.golang.org/protobuf v1.30.0 // indirect
|
||||||
gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
|
gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
|
||||||
gopkg.in/inf.v0 v0.9.1 // indirect
|
gopkg.in/inf.v0 v0.9.1 // indirect
|
||||||
gopkg.in/ini.v1 v1.67.0 // indirect
|
gopkg.in/ini.v1 v1.67.0 // indirect
|
||||||
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
|
|
||||||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
|
||||||
gopkg.in/warnings.v0 v0.1.2 // indirect
|
gopkg.in/warnings.v0 v0.1.2 // indirect
|
||||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||||
k8s.io/api v0.26.2 // indirect
|
k8s.io/api v0.26.3 // indirect
|
||||||
k8s.io/apimachinery v0.26.2 // indirect
|
k8s.io/apimachinery v0.26.3 // indirect
|
||||||
k8s.io/client-go v0.26.2 // indirect
|
k8s.io/client-go v0.26.3 // indirect
|
||||||
k8s.io/klog/v2 v2.90.1 // indirect
|
k8s.io/klog/v2 v2.90.1 // indirect
|
||||||
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
|
k8s.io/kube-openapi v0.0.0-20221012153701-172d655c2280 // indirect
|
||||||
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 // indirect
|
k8s.io/utils v0.0.0-20230220204549-a5ecb0141aa5 // indirect
|
||||||
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
|
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
|
||||||
sigs.k8s.io/release-utils v0.7.3 // indirect
|
sigs.k8s.io/release-utils v0.7.3 // indirect
|
||||||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
|
||||||
sigs.k8s.io/yaml v1.3.0 // indirect
|
sigs.k8s.io/yaml v1.3.0 // indirect
|
||||||
|
|
|
@ -31,11 +31,11 @@ import (
|
||||||
godigest "github.com/opencontainers/go-digest"
|
godigest "github.com/opencontainers/go-digest"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/generate"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/options"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/sign"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/sign"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/verify"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/verify"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"go.etcd.io/bbolt"
|
"go.etcd.io/bbolt"
|
||||||
|
@ -3970,20 +3970,24 @@ func TestImageSignatures(t *testing.T) {
|
||||||
|
|
||||||
// generate a keypair
|
// generate a keypair
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
err = generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err = generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
|
annotations := []string{"tag=1.0"}
|
||||||
|
|
||||||
// sign the image
|
// sign the image
|
||||||
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
||||||
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
||||||
options.RegistryOptions{AllowInsecure: true},
|
options.SignOptions{
|
||||||
map[string]interface{}{"tag": "1.0"},
|
Registry: options.RegistryOptions{AllowInsecure: true},
|
||||||
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())},
|
AnnotationOptions: options.AnnotationOptions{Annotations: annotations},
|
||||||
"", "", true, "", "", "", false, false, "", true)
|
Upload: true,
|
||||||
|
},
|
||||||
|
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
// verify the image
|
// verify the image
|
||||||
aopts := &options.AnnotationOptions{Annotations: []string{"tag=1.0"}}
|
aopts := &options.AnnotationOptions{Annotations: annotations}
|
||||||
amap, err := aopts.AnnotationsMap()
|
amap, err := aopts.AnnotationsMap()
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
vrfy := verify.VerifyCommand{
|
vrfy := verify.VerifyCommand{
|
||||||
|
@ -3991,6 +3995,7 @@ func TestImageSignatures(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
@ -4004,6 +4009,7 @@ func TestImageSignatures(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
||||||
So(err, ShouldNotBeNil)
|
So(err, ShouldNotBeNil)
|
||||||
|
@ -4017,6 +4023,7 @@ func TestImageSignatures(t *testing.T) {
|
||||||
RegistryOptions: options.RegistryOptions{AllowInsecure: true},
|
RegistryOptions: options.RegistryOptions{AllowInsecure: true},
|
||||||
KeyRef: path.Join(tdir, "cosign.key"),
|
KeyRef: path.Join(tdir, "cosign.key"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
||||||
So(err, ShouldNotBeNil)
|
So(err, ShouldNotBeNil)
|
||||||
|
@ -4028,7 +4035,7 @@ func TestImageSignatures(t *testing.T) {
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
err = generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err = generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
// verify the image with incorrect key
|
// verify the image with incorrect key
|
||||||
|
@ -4040,6 +4047,7 @@ func TestImageSignatures(t *testing.T) {
|
||||||
RegistryOptions: options.RegistryOptions{AllowInsecure: true},
|
RegistryOptions: options.RegistryOptions{AllowInsecure: true},
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
||||||
So(err, ShouldNotBeNil)
|
So(err, ShouldNotBeNil)
|
||||||
|
@ -6244,18 +6252,22 @@ func TestGCSignaturesAndUntaggedManifests(t *testing.T) {
|
||||||
|
|
||||||
// generate a keypair
|
// generate a keypair
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
err = generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err = generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
image := fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())
|
image := fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())
|
||||||
|
|
||||||
|
annotations := []string{fmt.Sprintf("tag=%s", tag)}
|
||||||
|
|
||||||
// sign the image
|
// sign the image
|
||||||
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
||||||
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
||||||
options.RegistryOptions{AllowInsecure: true},
|
options.SignOptions{
|
||||||
map[string]interface{}{"tag": tag},
|
Registry: options.RegistryOptions{AllowInsecure: true},
|
||||||
[]string{image},
|
AnnotationOptions: options.AnnotationOptions{Annotations: annotations},
|
||||||
"", "", true, "", "", "", false, false, "", true)
|
Upload: true,
|
||||||
|
},
|
||||||
|
[]string{image})
|
||||||
|
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ import (
|
||||||
|
|
||||||
notreg "github.com/notaryproject/notation-go/registry"
|
notreg "github.com/notaryproject/notation-go/registry"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
|
|
||||||
zotErrors "zotregistry.io/zot/errors"
|
zotErrors "zotregistry.io/zot/errors"
|
||||||
"zotregistry.io/zot/pkg/common"
|
"zotregistry.io/zot/pkg/common"
|
||||||
|
|
|
@ -19,9 +19,9 @@ import (
|
||||||
|
|
||||||
godigest "github.com/opencontainers/go-digest"
|
godigest "github.com/opencontainers/go-digest"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/generate"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/options"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/sign"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/sign"
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"gopkg.in/resty.v1"
|
"gopkg.in/resty.v1"
|
||||||
|
@ -300,7 +300,7 @@ func TestSignature(t *testing.T) {
|
||||||
// generate a keypair
|
// generate a keypair
|
||||||
if _, err := os.Stat(path.Join(currentDir, "cosign.key")); err != nil {
|
if _, err := os.Stat(path.Join(currentDir, "cosign.key")); err != nil {
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
err = generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err = generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -310,10 +310,12 @@ func TestSignature(t *testing.T) {
|
||||||
// sign the image
|
// sign the image
|
||||||
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
err = sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
||||||
options.KeyOpts{KeyRef: path.Join(currentDir, "cosign.key"), PassFunc: generate.GetPass},
|
options.KeyOpts{KeyRef: path.Join(currentDir, "cosign.key"), PassFunc: generate.GetPass},
|
||||||
options.RegistryOptions{AllowInsecure: true},
|
options.SignOptions{
|
||||||
map[string]interface{}{"tag": "test:1.0"},
|
Registry: options.RegistryOptions{AllowInsecure: true},
|
||||||
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, "repo7", digest.String())},
|
AnnotationOptions: options.AnnotationOptions{Annotations: []string{"tag=test:1.0"}},
|
||||||
"", "", true, "", "", "", false, false, "", true)
|
Upload: true,
|
||||||
|
},
|
||||||
|
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, "repo7", digest.String())})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
|
||||||
t.Logf("%s", ctlr.Config.Storage.RootDirectory)
|
t.Logf("%s", ctlr.Config.Storage.RootDirectory)
|
||||||
|
|
|
@ -10,6 +10,7 @@ import (
|
||||||
dbTypes "github.com/aquasecurity/trivy-db/pkg/types"
|
dbTypes "github.com/aquasecurity/trivy-db/pkg/types"
|
||||||
"github.com/aquasecurity/trivy/pkg/commands/artifact"
|
"github.com/aquasecurity/trivy/pkg/commands/artifact"
|
||||||
"github.com/aquasecurity/trivy/pkg/commands/operation"
|
"github.com/aquasecurity/trivy/pkg/commands/operation"
|
||||||
|
fanalTypes "github.com/aquasecurity/trivy/pkg/fanal/types"
|
||||||
"github.com/aquasecurity/trivy/pkg/flag"
|
"github.com/aquasecurity/trivy/pkg/flag"
|
||||||
"github.com/aquasecurity/trivy/pkg/types"
|
"github.com/aquasecurity/trivy/pkg/types"
|
||||||
regTypes "github.com/google/go-containerregistry/pkg/v1/types"
|
regTypes "github.com/google/go-containerregistry/pkg/v1/types"
|
||||||
|
@ -368,7 +369,10 @@ func (scanner Scanner) UpdateDB() error {
|
||||||
func (scanner Scanner) updateDB(dbDir string) error {
|
func (scanner Scanner) updateDB(dbDir string) error {
|
||||||
scanner.log.Debug().Msgf("Download Trivy DB to destination dir: %s", dbDir)
|
scanner.log.Debug().Msgf("Download Trivy DB to destination dir: %s", dbDir)
|
||||||
|
|
||||||
err := operation.DownloadDB("dev", dbDir, scanner.dbRepository, false, false, false)
|
ctx := context.Background()
|
||||||
|
|
||||||
|
err := operation.DownloadDB(ctx, "dev", dbDir, scanner.dbRepository, false, false,
|
||||||
|
fanalTypes.RemoteOptions{Insecure: false})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
scanner.log.Error().Err(err).Msgf("Error downloading Trivy DB to destination dir: %s", dbDir)
|
scanner.log.Error().Err(err).Msgf("Error downloading Trivy DB to destination dir: %s", dbDir)
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import (
|
||||||
godigest "github.com/opencontainers/go-digest"
|
godigest "github.com/opencontainers/go-digest"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
|
|
||||||
zerr "zotregistry.io/zot/errors"
|
zerr "zotregistry.io/zot/errors"
|
||||||
"zotregistry.io/zot/pkg/api/constants"
|
"zotregistry.io/zot/pkg/api/constants"
|
||||||
|
|
|
@ -24,11 +24,11 @@ import (
|
||||||
godigest "github.com/opencontainers/go-digest"
|
godigest "github.com/opencontainers/go-digest"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/generate"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/options"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/sign"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/sign"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/verify"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/verify"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
"gopkg.in/resty.v1"
|
"gopkg.in/resty.v1"
|
||||||
|
|
||||||
|
@ -3222,6 +3222,7 @@ func TestSignatures(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
|
@ -4097,6 +4098,7 @@ func TestSignaturesOnDemand(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
@ -4355,6 +4357,7 @@ func TestOnlySignaturesOnDemand(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
|
@ -4374,6 +4377,7 @@ func TestOnlySignaturesOnDemand(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
|
@ -4721,6 +4725,7 @@ func TestSyncSignaturesDiff(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
@ -4747,6 +4752,7 @@ func TestSyncSignaturesDiff(t *testing.T) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", destPort, repoName, "1.0")})
|
||||||
So(err, ShouldBeNil)
|
So(err, ShouldBeNil)
|
||||||
|
@ -5564,7 +5570,7 @@ func generateKeyPairs(tdir string) {
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
|
|
||||||
if _, err := os.Stat(path.Join(tdir, "cosign.key")); err != nil {
|
if _, err := os.Stat(path.Join(tdir, "cosign.key")); err != nil {
|
||||||
err := generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err := generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
@ -5582,20 +5588,24 @@ func generateKeyPairs(tdir string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func signImage(tdir, port, repoName string, digest godigest.Digest) {
|
func signImage(tdir, port, repoName string, digest godigest.Digest) {
|
||||||
|
annotations := []string{"tag=1.0"}
|
||||||
|
|
||||||
// push signatures to upstream server so that we can sync them later
|
// push signatures to upstream server so that we can sync them later
|
||||||
// sign the image
|
// sign the image
|
||||||
err := sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
err := sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: 1 * time.Minute},
|
||||||
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
||||||
options.RegistryOptions{AllowInsecure: true},
|
options.SignOptions{
|
||||||
map[string]interface{}{"tag": "1.0"},
|
Registry: options.RegistryOptions{AllowInsecure: true},
|
||||||
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())},
|
AnnotationOptions: options.AnnotationOptions{Annotations: annotations},
|
||||||
"", "", true, "", "", "", false, false, "", true)
|
Upload: true,
|
||||||
|
},
|
||||||
|
[]string{fmt.Sprintf("localhost:%s/%s@%s", port, repoName, digest.String())})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify the image
|
// verify the image
|
||||||
a := &options.AnnotationOptions{Annotations: []string{"tag=1.0"}}
|
a := &options.AnnotationOptions{Annotations: annotations}
|
||||||
|
|
||||||
amap, err := a.AnnotationsMap()
|
amap, err := a.AnnotationsMap()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -5607,6 +5617,7 @@ func signImage(tdir, port, repoName string, digest godigest.Digest) {
|
||||||
CheckClaims: true,
|
CheckClaims: true,
|
||||||
KeyRef: path.Join(tdir, "cosign.pub"),
|
KeyRef: path.Join(tdir, "cosign.pub"),
|
||||||
Annotations: amap,
|
Annotations: amap,
|
||||||
|
IgnoreTlog: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
err = vrfy.Exec(context.TODO(), []string{fmt.Sprintf("localhost:%s/%s:%s", port, repoName, "1.0")})
|
||||||
|
|
|
@ -24,7 +24,7 @@ import (
|
||||||
godigest "github.com/opencontainers/go-digest"
|
godigest "github.com/opencontainers/go-digest"
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
artifactspec "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/sigstore/cosign/pkg/oci/static"
|
"github.com/sigstore/cosign/v2/pkg/oci/static"
|
||||||
|
|
||||||
zerr "zotregistry.io/zot/errors"
|
zerr "zotregistry.io/zot/errors"
|
||||||
"zotregistry.io/zot/pkg/common"
|
"zotregistry.io/zot/pkg/common"
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
|
|
||||||
zerr "zotregistry.io/zot/errors"
|
zerr "zotregistry.io/zot/errors"
|
||||||
"zotregistry.io/zot/pkg/scheduler"
|
"zotregistry.io/zot/pkg/scheduler"
|
||||||
|
|
|
@ -26,7 +26,7 @@ import (
|
||||||
"github.com/opencontainers/umoci/oci/casext"
|
"github.com/opencontainers/umoci/oci/casext"
|
||||||
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
oras "github.com/oras-project/artifacts-spec/specs-go/v1"
|
||||||
"github.com/rs/zerolog"
|
"github.com/rs/zerolog"
|
||||||
"github.com/sigstore/cosign/pkg/oci/remote"
|
"github.com/sigstore/cosign/v2/pkg/oci/remote"
|
||||||
|
|
||||||
zerr "zotregistry.io/zot/errors"
|
zerr "zotregistry.io/zot/errors"
|
||||||
"zotregistry.io/zot/pkg/common"
|
"zotregistry.io/zot/pkg/common"
|
||||||
|
|
|
@ -37,9 +37,9 @@ import (
|
||||||
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
ispec "github.com/opencontainers/image-spec/specs-go/v1"
|
||||||
"github.com/opencontainers/umoci"
|
"github.com/opencontainers/umoci"
|
||||||
"github.com/phayes/freeport"
|
"github.com/phayes/freeport"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/generate"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/generate"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/options"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/options"
|
||||||
"github.com/sigstore/cosign/cmd/cosign/cli/sign"
|
"github.com/sigstore/cosign/v2/cmd/cosign/cli/sign"
|
||||||
"gopkg.in/resty.v1"
|
"gopkg.in/resty.v1"
|
||||||
"oras.land/oras-go/v2/registry"
|
"oras.land/oras-go/v2/registry"
|
||||||
"oras.land/oras-go/v2/registry/remote"
|
"oras.land/oras-go/v2/registry/remote"
|
||||||
|
@ -1651,7 +1651,7 @@ func SignImageUsingCosign(repoTag, port string) error {
|
||||||
// generate a keypair
|
// generate a keypair
|
||||||
os.Setenv("COSIGN_PASSWORD", "")
|
os.Setenv("COSIGN_PASSWORD", "")
|
||||||
|
|
||||||
err = generate.GenerateKeyPairCmd(context.TODO(), "", nil)
|
err = generate.GenerateKeyPairCmd(context.TODO(), "", "cosign", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
@ -1663,10 +1663,12 @@ func SignImageUsingCosign(repoTag, port string) error {
|
||||||
// sign the image
|
// sign the image
|
||||||
return sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: timeoutPeriod * time.Minute},
|
return sign.SignCmd(&options.RootOptions{Verbose: true, Timeout: timeoutPeriod * time.Minute},
|
||||||
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
options.KeyOpts{KeyRef: path.Join(tdir, "cosign.key"), PassFunc: generate.GetPass},
|
||||||
options.RegistryOptions{AllowInsecure: true},
|
options.SignOptions{
|
||||||
map[string]interface{}{"tag": "1.0"},
|
Registry: options.RegistryOptions{AllowInsecure: true},
|
||||||
[]string{imageURL},
|
AnnotationOptions: options.AnnotationOptions{Annotations: []string{"tag=1.0"}},
|
||||||
"", "", true, "", "", "", false, false, "", true)
|
Upload: true,
|
||||||
|
},
|
||||||
|
[]string{imageURL})
|
||||||
}
|
}
|
||||||
|
|
||||||
func SignImageUsingNotary(repoTag, port string) error {
|
func SignImageUsingNotary(repoTag, port string) error {
|
||||||
|
|
|
@ -104,11 +104,11 @@ function teardown_file() {
|
||||||
|
|
||||||
run cosign initialize
|
run cosign initialize
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign generate-key-pair
|
run cosign generate-key-pair --output-key-prefix "cosign-sign-test"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign sign --key cosign.key localhost:8080/annotations:latest --yes
|
run cosign sign --key cosign-sign-test.key localhost:8080/annotations:latest --yes
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign verify --key cosign.pub localhost:8080/annotations:latest
|
run cosign verify --key cosign-sign-test.pub localhost:8080/annotations:latest
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
local sigName=$(echo "${lines[-1]}" | jq '.[].critical.image."docker-manifest-digest"')
|
local sigName=$(echo "${lines[-1]}" | jq '.[].critical.image."docker-manifest-digest"')
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
|
|
|
@ -239,11 +239,11 @@ function teardown_file() {
|
||||||
@test "sign/verify with cosign" {
|
@test "sign/verify with cosign" {
|
||||||
run cosign initialize
|
run cosign initialize
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign generate-key-pair
|
run cosign generate-key-pair --output-key-prefix "cosign-sign-sync-test"
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign sign --key cosign.key localhost:9000/golang:1.20 --yes
|
run cosign sign --key cosign-sign-sync-test.key localhost:9000/golang:1.20 --yes
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
run cosign verify --key cosign.pub localhost:9000/golang:1.20
|
run cosign verify --key cosign-sign-sync-test.pub localhost:9000/golang:1.20
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ EOF
|
||||||
run notation verify --plain-http localhost:8081/golang:1.20
|
run notation verify --plain-http localhost:8081/golang:1.20
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
|
|
||||||
run cosign verify --key cosign.pub localhost:8081/golang:1.20
|
run cosign verify --key cosign-sign-sync-test.pub localhost:8081/golang:1.20
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -295,7 +295,7 @@ EOF
|
||||||
run notation verify --plain-http localhost:8082/golang:1.20
|
run notation verify --plain-http localhost:8082/golang:1.20
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
|
|
||||||
run cosign verify --key cosign.pub localhost:8082/golang:1.20
|
run cosign verify --key cosign-sign-sync-test.pub localhost:8082/golang:1.20
|
||||||
[ "$status" -eq 0 ]
|
[ "$status" -eq 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue