Repository navigation
ci: wire release provenance workflow and component SBOM manifests - #2589
Conversation
|
Thank you for this work, @kwkwan. The implementation follows the current release-integrity practice, and the verification in the description is thorough. The pinned provenance workflow produces keyless SLSA Build Level 3 attestations through Sigstore with GitHub-native attestations, the SBOMs cover both SPDX 3.0 and CycloneDX 1.7, and they pass the CISA 2026 Minimum Elements. Three gaps remain before the program reaches a full 2027 posture, and none of them block this pull request.
I have one review finding in ci/write_sbom_manifests.sh. The version of sha1collisiondetection is hardcoded to 1.0.3, while every other component version is resolved from a file. If the submodule is bumped without editing the script, the manifest would silently declare a wrong version. Please resolve it from the submodule in the same manner as the sexpp version, or add it to ci/prebuilt-versions.env as a single source of truth. |
…SA Build L3 evidence
ronaldtse
left a comment
There was a problem hiding this comment.
Thank you for addressing the review findings so completely, @kwkwan. The sha1collisiondetection version now resolves from ci/prebuilt-versions.env in both script flavors, and the new release-workflow documentation makes the Build Level 3 claim auditable. The merge order you suggest works.
Implements Phase 1, Stage 2 of the release-provenance program (riboseinc/provenance#3, parent issue riboseinc/provenance#1).
Summary
.github/workflows/release.ymland.github/workflows/prebuilt.ymlso release provenance covers both the source tarball and all prebuilt static-library tarballs (needs: [release, prebuilt]).stage-provenance-artifactsin.github/workflows/release.ymlto download everyrnp-*.tar.gzasset attached to the release and stage them as a single workflow artifact for provenance generation and SLSA attestation.riboseinc/provenance-release/.github/workflows/release.yml@ee9153324c45246fa4319cdbebc3ceb9865aa527(full 40-character commit SHA) withcontents: write,id-token: write, andattestations: write, passingsupport-until(overridable viaworkflow_dispatchinput, defaulting to 2 years from release date) andauthor/supplier(Ribose Inc.)..github/workflows/release.ymlto full 40-character commit SHAs.ci/write_sbom_manifests.shand wires it intoci/build_tarball.sh,ci/build_prebuilt.sh, andci/build_prebuilt.ps1to emit deterministic per-componentshare/rnp/components/<name>/vcpkg.jsonmanifests inside release tarballs sosyft's defaultvcpkg-manifest-catalogeraccurately captures component identities, versions, and SPDX license expressions across both SPDX 3.0 and CycloneDX 1.7:rnp,sexpp,nlohmann-json(which replacedjson-conmain),sha1collisiondetection.zlib,bzip2, and the selected crypto backend (botanoropenssl).ci/write_sbom_manifests.shto thepull_request.pathsfilter in.github/workflows/prebuilt.yml.Verification
bash -n) and workflow YAML parsing for.github/workflows/release.ymland.github/workflows/prebuilt.yml.riboseinc/provenance-release@ee9153324c45246fa4319cdbebc3ceb9865aa527(syft 1.57.2) end-to-end against staged source, Botan prebuilt, and OpenSSL prebuilt tarballs:*.spdx.jsonSPDX 3.0 and 3 x*.cdx.jsonCycloneDX 1.7) pass 17/17 CISA 2026 Minimum Elements.NOTICEaccurately enumerates all 8 components with their versions and SPDX license expressions.lifecycle.jsonand release-notes support-period footer stamping verified.gh attestation verifyand GitHub Release upload verification await owner approval for a pre-release or release tag.