Skip to content

components promote: check Sigstore signatures and the scan record under supply-chain #5467

Closed

Description

@lex00

Under supply-chain, chant components promote --release deploys a release only after its Sigstore signatures and SLSA statement verify and its publish record holds a passing scan.

Epic: #5452. Found in #5447 (SI-7, SA-10(1) for CCCS Medium, SR-11).

What exists, checked at chant cee8937 (the ci-hardening branch)

What it should be

  • Under supply-chain, promote runs the same check as release verify --sigstore for the release, and refuses with a stable code when a bundle does not verify, or when the publish recorded no signature while release.signing was on.
  • It refuses when the publish record has no scanned line for the release, or only a scan-failed one, with a stable code. A newer passing rescanned line (release scan: scan a published or deployed release again and record it #5466) counts once that exists.
  • Each refusal says which check to run by hand. A flag to skip it is not added; a team that wants it off leaves supply-chain off.
  • The same rule reaches a train's promote.

Done when

  • Tests with the fake cosign verifier: a release whose bundle fails is refused, a verified one deploys, and one with no scan line is refused.
  • The security features table gains the row, and the verified-releases and supply-chain guides say what promote checks.

Activity

  1. added
    epic:ci-hardening
    on Nov 22, 2026
  2. lex00 commented on Nov 22, 2026

    @lex00
    ContributorAuthor

    Built as described, with two choices to note. Promote makes the check under supply-chain for promote only, not rollback, which returns to a release an environment already ran. And it verifies the bundles of oci targets with cosign; a forge release's bundles sit beside assets promote does not read, so for a forge target promote requires that the publish recorded a signature and leaves the bundle check to chant release verify --sigstore --assets. The refusals reuse the verify codes (release-sigstore-unsigned, release-sigstore-unverified) and add release-scan-missing. A passing rescanned line counts, as the issue says.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epic:ci-hardening

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions