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