@@ -118,10 +118,10 @@ Then, we download the `checksums.txt` file, and verify its signature:
118118``` bash
119119wget https://github.com/goreleaser/example-secure/releases/download/$VERSION /checksums.txt
120120cosign verify-blob \
121- --certificate-identity ' https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION' \
121+ --certificate-identity " https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION " \
122122 --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 \
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" \
125125 ./checksums.txt
126126```
127127
@@ -131,7 +131,7 @@ from the release with this checksum file!
131131You can then download any file you want from the release, and verify it with, for example:
132132
133133``` bash
134- wget https://github.com/goreleaser/example-secure/releases/download/$VERSION /example_linux_amd64.tar.gz
134+ wget " https://github.com/goreleaser/example-secure/releases/download/$VERSION /example_linux_amd64.tar.gz"
135135sha256sum --ignore-missing -c checksums.txt
136136```
137137
@@ -144,7 +144,7 @@ To get the SBOM of an artifact, you can use the same download URL, adding
144144` .sbom.json ` to the end of the URL, and we can then check it out with ` grype ` :
145145
146146``` bash
147- wget https://github.com/goreleaser/example-secure/releases/download/$VERSION /example_linux_amd64.tar.gz.sbom.json
147+ wget " https://github.com/goreleaser/example-secure/releases/download/$VERSION /example_linux_amd64.tar.gz.sbom.json"
148148sha256sum --ignore-missing -c checksums.txt
149149grype sbom:example_linux_amd64.tar.gz.sbom.json
150150```
@@ -164,23 +164,23 @@ Signature:
164164
165165``` bash
166166cosign verify \
167- --certificate-identity ' https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION' \
168- --certificate-oidc-issuer ' https://token.actions.githubusercontent.com' \
169- ghcr.io/goreleaser/example-secure:$VERSION
167+ --certificate-identity " https://github.com/goreleaser/example-secure/.github/workflows/release.yml@refs/tags/$VERSION " \
168+ --certificate-oidc-issuer " https://token.actions.githubusercontent.com" \
169+ " ghcr.io/goreleaser/example-secure:$VERSION "
170170```
171171
172172Vulnerabilities:
173173
174174``` bash
175- grype docker:ghcr.io/goreleaser/example-secure:$VERSION
175+ grype " docker:ghcr.io/goreleaser/example-secure:$VERSION "
176176```
177177
178178Attestations:
179179
180180``` bash
181181gh attestation verify \
182182 --owner goreleaser \
183- oci://ghcr.io/goreleaser/example-secure:$VERSION
183+ " oci://ghcr.io/goreleaser/example-secure:$VERSION "
184184```
185185
186186If all these checks are OK, you have a pretty good indication that everything
0 commit comments