Release Verification¶
Official release artifacts are checksummed and signed keylessly with Sigstore. Official container images are also signed. Public-repository releases additionally receive GitHub build-provenance attestations, and public container images receive provenance and SBOM attestations.
Downloaded Artifacts¶
Download the artifact, SHA256SUMS.txt, and its matching .sigstore.json bundle from the same release. Install Cosign, then run:
python scripts/verify_release_artifacts.py \
stackpilot-<version>.run \
--checksums SHA256SUMS.txt \
--bundle stackpilot-<version>.run.sigstore.json
Verification fails if the digest differs, Cosign is unavailable, the bundle is invalid, or the signer is not the official release.yml workflow running from protected main or a version tag. Automated releases are triggered from validated main and then build the generated version tag. Do not install an artifact that fails verification.
For releases published from the public repository, GitHub provenance can also be checked with:
Container Images¶
Replace <digest> with the release's immutable sha256:... digest:
cosign verify \
--certificate-identity-regexp '^https://github\.com/byte-builderr/stackpilot/\.github/workflows/release\.yml@refs/(heads/main|tags/v.+)$' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
ghcr.io/byte-builderr/stackpilot@<digest>
gh attestation verify \
oci://ghcr.io/byte-builderr/stackpilot@<digest> \
--repo byte-builderr/stackpilot
The gh attestation verify commands apply to releases built while the repository is public. Sigstore bundle and container-signature verification remain available for private-repository builds.
Verify by digest rather than a mutable tag such as latest.