Skip to content

Commit c3df321

Browse files
committed
Remove EXPERIMENTAL flag for keyless signing
EXPERIMENTAL flag is not necessary anymore in Cosign v0.14.0 See also: sigstore/cosign#2457 Signed-off-by: Jeroen Knoops <jeroen.knoops@philips.com>
1 parent 1fafddd commit c3df321

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

bin/install_cosign.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
COSIGN_RELEASE=v1.13.1
3+
COSIGN_RELEASE=v1.14.0
44
INSTALL_DIR=$HOME/.cosign
55

66
RUNNER_OS=$(uname)

container_digest.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ then
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
@@ -113,7 +112,6 @@ then
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}"
@@ -177,7 +175,6 @@ then
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
@@ -234,7 +231,6 @@ then
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

0 commit comments

Comments
 (0)