File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ and this project uses the version of main tool as main version number .
66
77## [ Unreleased]
88
9+ - Remove experimental flag for keyless signing
910- Rename arguments to reflect multiple container registries.
1011
1112## v5.0.0
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- COSIGN_RELEASE=v1.13.1
3+ COSIGN_RELEASE=v1.14.0
44INSTALL_DIR=$HOME /.cosign
55
66RUNNER_OS=$( uname)
Original file line number Diff line number Diff line change 7575 echo ' Keyless signing'
7676 COSIGN_KEY_ARGUMENT=" "
7777 COSIGN_PUB_ARGUMENT=" "
78- export COSIGN_EXPERIMENTAL=1
7978 else
8079 echo ' Signing using COSIGN keys'
8180 COSIGN_KEY=$( mktemp /tmp/cosign.XXXXXXXXXX) || exit 1
113112 echo ' ```bash'
114113 if [ -n " ${KEYLESS} " ]
115114 then
116- echo " export COSIGN_EXPERIMENTAL=1"
117115 echo " cosign verify $registry_url_prefix /$imagename @${containerdigest} "
118116 else
119117 echo " cosign verify --key cosign.pub $registry_url_prefix /$imagename @${containerdigest} "
177175 echo ' ```bash'
178176 if [ -n " ${KEYLESS} " ]
179177 then
180- echo " export COSIGN_EXPERIMENTAL=1"
181178 echo " cosign verify-attestation --type slsaprovenance $registry_url_prefix /$imagename @${containerdigest} | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType==\" https://slsa.dev/provenance/v0.2\" ) | .'"
182179 # TODO: Add tlog
183180 else
234231 echo ' ```bash'
235232 if [ -n " ${KEYLESS} " ]
236233 then
237- echo " export COSIGN_EXPERIMENTAL=1"
238234 echo " cosign verify-attestation --type spdx $registry_url_prefix /$imagename @${containerdigest} | jq '.payload |= @base64d | .payload | fromjson | select( .predicateType==\" https://spdx.dev/Document\" ) | .predicate.Data | fromjson | .'"
239235 # TODO: Add tlog
240236 else
You can’t perform that action at this time.
0 commit comments