File tree 3 files changed +6
-9
lines changed
3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -128,18 +128,13 @@ jobs:
128
128
129
129
130
130
- name : Install Cosign
131
- uses : sigstore/cosign-installer@v2.7.0
131
+ uses : sigstore/cosign-installer@v3.0.2
132
132
133
133
- name : Distroless verify
134
134
run : |
135
135
diff <(grep FROM docker/kubeseal.Dockerfile | awk '{print $2}') \
136
136
<(grep FROM docker/controller.Dockerfile | awk '{print $2}')
137
- cosign verify --key /dev/stdin "$(grep FROM docker/controller.Dockerfile | awk '{print $2}')" <<EOF
138
- -----BEGIN PUBLIC KEY-----
139
- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZzVzkb8A+DbgDpaJId/bOmV8n7Q
140
- OqxYbK0Iro6GzSmOzxkn+N2AKawLyXi84WSwJQBK//psATakCgAQKkNTAA==
141
- -----END PUBLIC KEY-----
142
- EOF
137
+ cosign verify "$(grep FROM docker/controller.Dockerfile | awk '{print $2}')" --certificate-oidc-issuer https://accounts.google.com --certificate-identity [email protected]
143
138
144
139
- name : Setup kubecfg
145
140
run : |
Original file line number Diff line number Diff line change 60
60
61
61
# Setup Cosign
62
62
- name : Install Cosign
63
- uses : sigstore/cosign-installer@v2.7.0
63
+ uses : sigstore/cosign-installer@v3.0.2
64
64
- name : Write Cosign key
65
65
run : echo "$COSIGN_KEY" > /tmp/cosign.key
66
66
env :
@@ -134,7 +134,7 @@ jobs:
134
134
tags : ${{ steps.meta_kubeseal.outputs.tags }}
135
135
- name : Sign controller image with a key in GHCR
136
136
run : |
137
- echo -n "$COSIGN_PASSWORD" | cosign sign --key /tmp/cosign.key $TAG_CURRENT
137
+ echo -n "$COSIGN_PASSWORD" | cosign sign --key /tmp/cosign.key --yes $TAG_CURRENT
138
138
env :
139
139
COSIGN_PASSWORD : ${{ secrets.COSIGN_PASSWORD }}
140
140
TAG_CURRENT : ${{ steps.meta_controller.outputs.tags }}
Original file line number Diff line number Diff line change @@ -716,6 +716,8 @@ kubeseal <mysecret.json >mysealedsecret.json
716
716
717
717
Our images are being signed using [cosign](https://github.com/sigstore/cosign). The signatures have been saved in our [GitHub Container Registry](https://ghcr.io/bitnami-labs/sealed-secrets-controller/signs).
718
718
719
+ > Images up to and including v0.20.2 were signed using Cosign v1. Newer images are signed with Cosign v2.
720
+
719
721
It is pretty simple to verify the images :
720
722
721
723
` ` ` bash
You can’t perform that action at this time.
0 commit comments