feat(ci): add release artifact provenance and signed checksums (#246)#291
Open
vikas-6 wants to merge 1 commit into
Open
feat(ci): add release artifact provenance and signed checksums (#246)#291vikas-6 wants to merge 1 commit into
vikas-6 wants to merge 1 commit into
Conversation
- Implemented a complete GitHub Actions release workflow (.github/workflows/release.yml). - Integrated Sigstore python actions for keyless OIDC-based asset signing. - Added support for tag pushes and manual dry-run workflow executions. - Created verify-release.sh script to audit checksums on macOS and Linux. - Added comprehensive Software Supply Chain and verification guide (docs/release-integrity.md).
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
This PR implements a production-grade Release Provenance and Artifact Cryptographic Signing system in CI/CD using Sigstore's OIDC keyless signing flow (resolves #246).
It ensures release integrity, provides developers with manual dry-run workflow executions, introduces a cross-platform local verification script, and documents software supply chain security safeguards.
🚀 Key Features & Changes
1. Automated Release & Signing Workflow (
.github/workflows/release.yml).tar.gzreleases.SHA256SUMSverification manifest for all release artifacts.workflow_dispatch) with adry_run: trueinput to build, sign, and test assets as workflow run artifacts without publishing them to GitHub Releases.2. Cross-Platform Local verification Script (
scripts/verify-release.sh)Introduces a helper utility to simplify release audits on macOS and Linux:
SHA256SUMSautomatically using systemsha256sumorshasum.sigstoreCLI client.3. Supply Chain Security Guide (
docs/release-integrity.md)Created a comprehensive security guide covering:
🧪 Verification & Formatting Hygiene
git diff --check, resulting in a completely clean pass:$ git diff --check upstream/main # (Clean - No formatting issues detected)📋 Checklist
verify-release.sh) created.