From b88092abebc913d6231bdee801d9dfe9994120f1 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Thu, 3 Dec 2026 16:07:25 -0300 Subject: [PATCH] release: cosign-installer v4.1.4, which installs cosign v3.1.5 cosign v3.1.4, what v4.1.3 installs, accepts a bundle forged for a small-order Ed25519 key (GHSA-2j42-fv92-333f). docs/releasing.md states the minimum where it tells readers to verify. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 4 ++-- docs/releasing.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52fe69f2..479f6c1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -239,7 +239,7 @@ jobs: # v4 is the one that installs cosign v3. Dependabot moves this pin like every other `uses:`. - name: Install cosign - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 + uses: sigstore/cosign-installer@881c63bd87e38389154debd8331404ce7ca8a3ab # v4.1.4 # Who built each file and from what - this workflow at this commit, every pin in # versions.yaml - as SLSA provenance, beside the signature that says who made it. The @@ -325,7 +325,7 @@ jobs: run: spin-machine-dev release traceable-kernel --version "$VERSION" --cache-registry --cache-export=false - name: Install cosign - uses: sigstore/cosign-installer@756fe2d284c7292c4e9b62c8a28f1e5629c59532 # v4.1.3 + uses: sigstore/cosign-installer@881c63bd87e38389154debd8331404ce7ca8a3ab # v4.1.4 - name: Write the provenance run: spin-machine-dev release provenance --version "$VERSION" diff --git a/docs/releasing.md b/docs/releasing.md index 66176471..bb17cd21 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -257,7 +257,8 @@ So a release answers them: ## Verify a release file -Check both bundles against `release.yml` at the ref it ran on: +Check both bundles against `release.yml` at the ref it ran on, with cosign v3.1.5 or later: an +earlier one accepts a forged bundle (GHSA-2j42-fv92-333f). ```sh id=https://github.com/spin-stack/machine/.github/workflows/release.yml@refs/heads/main