File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -113,15 +113,16 @@ The first thing we need to do, is get the current latest version:
113113export VERSION=" $( gh release list -L 1 -R goreleaser/example-secure --json=tagName -q ' .[] | .tagName' ) "
114114```
115115
116- Then, we download the ` checksums.txt ` file, and verify its signature:
116+ Then, we download the ` checksums.txt ` and the signature bundle
117+ (` checksums.txt.sigstore.json ` ) files, and then verify them:
117118
118119``` bash
119120wget https://github.com/goreleaser/example-secure/releases/download/$VERSION /checksums.txt
121+ wget https://github.com/goreleaser/example-secure/releases/download/$VERSION /checksums.txt.sigstore.json
120122cosign verify-blob \
121123 --certificate-identity " https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION " \
122124 --certificate-oidc-issuer ' https://token.actions.githubusercontent.com' \
123- --cert " https://github.com/goreleaser/example-secure/releases/download/$VERSION /checksums.txt.pem" \
124- --signature " https://github.com/goreleaser/example-secure/releases/download/$VERSION /checksums.txt.sig" \
125+ --bundle " checksums.txt.sigstore.json" \
125126 ./checksums.txt
126127```
127128
You can’t perform that action at this time.
0 commit comments