Skip to content

fix: bind lifecycle attestations to exact release artifacts - #1184

Merged
arminazimi merged 2 commits into
mainfrom
feat/387-release-lifecycle-attestation
Nov 28, 2026
Merged

arminazimi merged 2 commits into
mainfrom
feat/387-release-lifecycle-attestation

Conversation

@arminazimi

@arminazimi arminazimi commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Closes #906
Closes #916
Closes #925
Refs #387, #444, #930

What changed

  • Sign the tarball from release packing alongside exactly the expected standalone binaries. Check that the signed payload preserves every subject digest and the prepared lifecycle predicate before attaching it.
  • Verify registry and release downloads in a clean job, with a same-name modified artifact as a negative control.
  • Exercise multi-subject signing with the packed candidate and five synthetic binary subjects. Document the build, signature verification, and date re-evaluation steps with a concrete SBOM and expected day counts.

Workflow changes

  • Reason: Bind lifecycle evidence to the release bytes and exercise checksum-based signing in the manual package smoke workflow.
  • Budget effect: none

Quality bar

Reviewed docs/QUALITY.md. The release jobs reuse the tested npm candidate and existing Sigstore actions and verifiers.

Checks CI cannot make

  • Tests added or updated for changed behavior
  • Changelog fragment added in changes/ for user-visible changes

Verification

  • Full npm run check passed. The template, predicate type, and conformance links returned HTTP 200.

  • Focused attestation, release-gate attestation and release workflow suite passed 13 tests.

  • The release preparation commands produced a conforming six-subject statement and rejected missing and extra binaries.

  • A clean local installation of the packed candidate reproduced the documented Alpine day counts, passed 12 standalone conformance fixtures and rejected altered bytes.

  • actionlint and offline zizmor passed for the changed workflows. actionlint used the existing exception for repository-local workflow action references.

  • Hosted Package smoke passed on commit 9783ebed. The fresh job verified six subjects with GH CLI, Cosign and the packaged standalone verifier. It rejected modified bytes and the wrong signer and reproduced the documented day counts.

  • The signed candidate was velella-offing-0.1.1.tgz with SHA-256 436db6ea6b3c20d2239e228d4993723abf8ff59be1323ebc1d96ea0cd195663f. The other five subjects were synthetic binary fixtures.

Notes for reviewers

Published release verification remains tracked by #444. The external in-toto registry proposal remains in #930.

@arminazimi
arminazimi force-pushed the feat/387-release-lifecycle-attestation branch from efb2669 to 0e67eb3 Compare November 28, 2026 01:35
@arminazimi
arminazimi merged commit ca7bdb4 into main Nov 28, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant