Repository navigation
Conversation
Preserve binary hashes while stripping checksum-format markers from signed subject names. Require the expected SHA-256 subject for every release archive.
This branch has not been deployed
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.
Summary
The published FlatBuffers provenance for
v25.12.19-2026-02-06-03fffb2names the Windows subject*Windows.flatc.binary.zip. The SHA-256 digest matches the published archive. The leading*is the binary-mode marker from Windowssha256sumoutput, which the generator includes in the subject name. Published release SLSA generator checksum formatNormalize each checksum line in the merge step while preserving its SHA-256 value. Require one valid checksum for each expected archive so missing or mismatched digests stop the job before it emits a provenance input.
Validation
A hosted fork run fed the exact PR checksum script into the same SLSA generator at v2.1.0. The Windows runner produced a binary-mode checksum for the synthetic Windows ZIP. SLSA Verifier 2.7.1 independently verified all five synthetic archives against the pinned builder and fork source branch, and the verified statement contained all five exact filenames and matching SHA-256 digests. The Windows subject was
Windows.flatc.binary.zip. The release-upload job was disabled. Hosted run Fixture workflowRan the exact merge step with the five published SHA-256 values, including Windows binary mode and CRLF. The resulting subjects used all five exact archive names.
The same step rejected missing, whitespace-only, invalid base64, unexpected filename, multiple-subject, and invalid SHA-256 fixtures before writing a provenance output.
SLSA Verifier 2.7.1 verified all five existing archives by digest, source repository, and release tag. Native Windows
sha256sumproduced the marked filename for the published ZIP. The patched step normalized that native output to the published filename and preserved the verified digest. Published releasegit diff --checkpassed. Actionlint reported the same two disabled-job warnings on the base and patched workflows.Of the 30 most recent releases checked, 16 had both the Windows ZIP and in-toto provenance. All 16 provenance records used the leading
*and recorded the correct SHA-256 for the downloaded ZIP. SLSA Verifier 2.7.1 verified 14 against the repository and release tag. It rejected the legacy build type inv22.9.24andv2.0.8. Release history Oldest verified exampleThe upstream zizmor reporting check failed on 53 existing unpinned action references. All 89 findings in its report point to unchanged source regions. A separate offline run of zizmor 1.25.2 with the uploaded policy produced the same 108 findings on the exact PR base and head. Upstream reporting check Scan artifacts
Prepared and tested with OpenAI Codex.