Skip to content

feat(release): signed SBOM, signed tag and an independent rebuild; fix(admin): request bodies refuse unknown fields - #361

Merged
PQCrypta merged 1 commit into
mainfrom
governance
Dec 6, 2026
Merged

PQCrypta merged 1 commit into
mainfrom
governance

Conversation

@PQCrypta

@PQCrypta PQCrypta commented Dec 6, 2026 •

Copy link
Copy Markdown
Owner

release: each release attaches the binary's CycloneDX 1.5 bill of materials, attested against its digest; replaces Release Please's tag with one signed by gitsign under the release workflow's Sigstore identity; and rebuilds the binary on a fresh runner from the tag, comparing its SHA-256 with the published one. The upload uses gh, not a third-party action.
admin: every admin API request body (reload, canary weight, suspend and resume, WAF explain) refuses a field it does not define; a misspelt key is a 422, not a default.
ci: zizmor audits the workflows into code scanning, and the CodeQL and zizmor jobs fail on any open alert of their tool on the ref, so a finding blocks the merge on every pull request, release PRs included; a sign-off (DCO) check on every pull request; branch coverage beside line coverage (cargo-llvm-cov on the pinned nightly); concurrency groups; every checkout without persisted credentials; same-repository actions by the self-repository syntax; the composite action's cache pinned and its inputs passed as environment; rustup in place of a toolchain action; each job's permissions explained.
dependencies: one workflow, daily, with cargo-deny, cargo-audit of every lockfile, the vendored forks audited as the upstream releases they carry, and the SBOM made on every change; Dependabot waits seven days after a release.
licensing: every source file states its copyright and licence in an SPDX header; the Code of Conduct is CC-BY-SA-4.0 in REUSE.toml.
docs: GOVERNANCE.md (model, roles, access, granting access, secrets, continuity), CODE_OF_CONDUCT.md (Contributor Covenant 3.0), ROADMAP.md, docs/ASSURANCE-CASE.md (requirements, threat model, trust boundaries, argument, reviews); SECURITY.md sets disclosure dates, support and upgrade terms, the scanning policy and VEX; CONTRIBUTING.md adds the style guides, sign-off, review, dependency policy and small tasks; README adds Upgrading and how to verify the SBOM and the tag; docs/SECURITY.md corrected on secrets, OpenSSL and the Server header.

BEGIN_COMMIT_OVERRIDE
feat(release): each release attaches a CycloneDX bill of materials attested against its binary, is tagged with a signed tag, and is rebuilt independently to the same bytes
fix(admin): every admin API request body refuses fields it does not define
END_COMMIT_OVERRIDE

Checked locally: rustfmt, reuse lint (REUSE 3.3, 1505 files), zizmor 1.33.1 with the pedantic persona (no findings), and the vendored-fork audit (11 crates, no advisories). CI runs clippy and the full suite.

🤖 Generated with Claude Code

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

…x(admin): request bodies refuse unknown fields

release: each release attaches the binary's CycloneDX 1.5 bill of materials, attested against its digest; replaces Release Please's tag with one signed by gitsign under the release workflow's Sigstore identity; and rebuilds the binary on a fresh runner from the tag, comparing its SHA-256 with the published one. The upload uses gh, not a third-party action.
admin: every admin API request body (reload, canary weight, suspend and resume, WAF explain) refuses a field it does not define; a misspelt key is a 422, not a default.
ci: zizmor audits the workflows into code scanning, and the CodeQL and zizmor jobs fail on any open alert of their tool on the ref, so a finding blocks the merge on every pull request, release PRs included; a sign-off (DCO) check on every pull request; branch coverage beside line coverage (cargo-llvm-cov on the pinned nightly); concurrency groups; every checkout without persisted credentials; same-repository actions by the self-repository syntax; the composite action's cache pinned and its inputs passed as environment; rustup in place of a toolchain action; each job's permissions explained.
dependencies: one workflow, daily, with cargo-deny, cargo-audit of every lockfile, the vendored forks audited as the upstream releases they carry, and the SBOM made on every change; Dependabot waits seven days after a release.
licensing: every source file states its copyright and licence in an SPDX header; the Code of Conduct is CC-BY-SA-4.0 in REUSE.toml.
docs: GOVERNANCE.md (model, roles, access, granting access, secrets, continuity), CODE_OF_CONDUCT.md (Contributor Covenant 3.0), ROADMAP.md, docs/ASSURANCE-CASE.md (requirements, threat model, trust boundaries, argument, reviews); SECURITY.md sets disclosure dates, support and upgrade terms, the scanning policy and VEX; CONTRIBUTING.md adds the style guides, sign-off, review, dependency policy and small tasks; README adds Upgrading and how to verify the SBOM and the tag; docs/SECURITY.md corrected on secrets, OpenSSL and the Server header.

BEGIN_COMMIT_OVERRIDE
feat(release): each release attaches a CycloneDX bill of materials attested against its binary, is tagged with a signed tag, and is rebuilt independently to the same bytes
fix(admin): every admin API request body refuses fields it does not define
END_COMMIT_OVERRIDE

Signed-off-by: PQCrypta <contact@pqcrypta.com>
@PQCrypta
PQCrypta merged commit 3830e51 into main Dec 6, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants