Skip to content

Commit 944da45

Browse files
authored
chore: Upgrade sigstore and goreleaser binaries (#1104)
* chore: Upgrade sigstore and goreleaser binaries * Pin to goreleaser's v1 major versions
1 parent e8340d5 commit 944da45

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/build-test-deploy.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,10 @@ jobs:
285285
with:
286286
go-version: "1.19"
287287

288-
- uses: sigstore/cosign-installer@main
288+
- uses: sigstore/cosign-installer@v3
289289
with:
290-
cosign-release: "v1.2.1"
290+
# DO NOT USE v2 until we decide on whether to use Rekor or not
291+
cosign-release: "v1.13.1" # Binary version to install
291292

292293
- name: Get Cosign Key
293294
run: |
@@ -305,7 +306,7 @@ jobs:
305306
- name: Run GoReleaser
306307
uses: goreleaser/goreleaser-action@v4
307308
with:
308-
version: "v0.183.0"
309+
version: "v1.x" # Binary version to install
309310
args: release --rm-dist --config deploy/.goreleaser.yaml
310311
env:
311312
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ A signed SBOM that includes Troubleshoot dependencies is included in each relea
6161

6262
The following example illustrates using [cosign](https://github.com/sigstore/cosign) to verify that **troubleshoot-sbom.tgz** has
6363
not been tampered with.
64-
```
64+
```sh
6565
$ cosign verify-blob --key key.pub --signature troubleshoot-sbom.tgz.sig troubleshoot-sbom.tgz
6666
Verified OK
6767
```
68+
69+
If you were to get an error similar to the one below, it means you are verifying an SBOM signed using cosign `v1` using a newer `v2` of the binary. This version introduced [breaking changes](https://github.com/sigstore/cosign/blob/main/CHANGELOG.md#breaking-changes) which require an additional flag `--insecure-ignore-tlog=true` to successfully verify SBOMs like so.
70+
```sh
71+
$ cosign verify-blob --key key.pub --signature troubleshoot-sbom.tgz.sig troubleshoot-sbom.tgz --insecure-ignore-tlog=true
72+
WARNING: Skipping tlog verification is an insecure practice that lacks of transparency and auditability verification for the blob.
73+
Verified OK
74+
```

0 commit comments

Comments
 (0)