Skip to content

fix(release): keep cosign classic signature format#323

Merged
jongio merged 1 commit into
mainfrom
fix/release-cosign-bundle-format
Jul 18, 2026
Merged

fix(release): keep cosign classic signature format#323
jongio merged 1 commit into
mainfrom
fix/release-cosign-bundle-format

Conversation

@jongio

@jongio jongio commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Problem

After #322 removed --oidc-issuer, the release got past the first cosign error but failed at signing with:

create bundle file: open : no such file or directory

The newer cosign defaults to --new-bundle-format, which ignores --output-signature / --output-certificate and instead wants a --bundle path. With none provided, it tried to write a bundle to an empty path and failed.

Fix

Add --new-bundle-format=false so cosign keeps its classic output: separate .sig and .pem files.

This is deliberate rather than switching to the single-file bundle, because both install.sh and install.ps1 verify the checksums with cosign verify-blob --signature <checksums>.sig --certificate <checksums>.pem. Adopting the bundle format would require changing both install scripts and would break verification for the existing release format. A code comment documents why.

Follow-up

The v0.14.0 tag (re-created by the second failed run, still no release attached) will be deleted and the Release workflow re-triggered after this merges.

After removing --oidc-issuer, cosign got further but failed with 'create bundle file: open : no such file or directory': the newer cosign defaults to --new-bundle-format, which ignores --output-signature/--output-certificate and needs a --bundle path. Rather than switch to a single .bundle (which would break the signature verification in install.sh and install.ps1 that download separate .sig and .pem files), disable the new bundle format so the classic .sig/.pem artifacts are produced as before.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 524cf702-8922-4cfd-b23f-4069b734e09b
@jongio
jongio merged commit 848993e into main Jul 18, 2026
2 checks passed
@jongio
jongio deleted the fix/release-cosign-bundle-format branch July 18, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant