Skip to content

ci(release): sign release artifacts and backfill published releases - #2113

Merged
paralta merged 2 commits into
mainfrom
chore/sign-releases
Sep 7, 2026
Merged

paralta merged 2 commits into
mainfrom
chore/sign-releases

Conversation

@paralta

@paralta paralta commented Sep 7, 2026

Copy link
Copy Markdown
Member

The OpenSSF Scorecard Signed-Releases check scores 0 because we publish bare dirctl binaries with nothing attesting to their origin. This adds a provenance step so every future release ships a Sigstore-signed build attestation, plus a one-off workflow to retrofit signatures onto the releases the check currently inspects.

  • The backfill workflow is temporary — it only fixes already-published releases and should be deleted once run.
  • Backfilled releases get cosign sign-blob signatures rather than provenance, since a build attestation can't be produced retroactively.
  • Backfilling is dispatch-triggered rather than run locally because keyless signing binds the certificate to whoever signs, so CI attributes the signatures to the repository instead of a maintainer.
  • No detached signatures on new releases: provenance outranks a plain signature in the check's scoring.

@paralta
paralta requested a review from a team as a code owner September 7, 2026 10:32
@github-actions github-actions Bot added the size/S Denotes a PR that changes 50-199 lines label Sep 7, 2026
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@muscariello muscariello left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@paralta
paralta merged commit 4ec0b04 into main Sep 7, 2026
33 checks passed
@paralta
paralta deleted the chore/sign-releases branch September 7, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants