Skip to content

ci: attest enforced repository controls in releases#48

Merged
loadingalias merged 2 commits into
mainfrom
ci/repository-controls-evidence
Jul 17, 2026
Merged

ci: attest enforced repository controls in releases#48
loadingalias merged 2 commits into
mainfrom
ci/repository-controls-evidence

Conversation

@loadingalias

Copy link
Copy Markdown
Owner

What changed

  • Codify the active protect-main ruleset as reviewed repository policy.
  • Fail maintainer release tagging when the live ruleset or effective default-branch rules drift from that policy.
  • Capture, checksum, attest, and publish repository-control evidence with each GitHub release.
  • Record GitHub workflow-token bypass redaction explicitly instead of overstating what the release job can verify.
  • Upgrade the dev-only libcrux ML-KEM oracle to 0.0.10, removing newly advised libcrux releases from the locked graph without suppressions.

Why

This closes the implementation side of roadmap T0.1: protected-main enforcement is reproducible, checked before tagging, and retained as release evidence. The task remains open until the first tagged release publishes and verifies the artifact.

No production cryptographic implementation or public API changed.

Validation

  • Direct and force pushes to main rejected by the live ruleset.
  • just check-repository-controls
  • just check-actions
  • just check-all
  • just test --all — 1,717 tests and 163 doctests passed.
  • just check
  • cargo deny check all
  • cargo test --all-features --test mlkem_types
  • Normal light pre-push gate, including cargo-rail unification and release-intent coverage.

Fail release tagging when the live default-branch ruleset drifts from the checked-in policy. Publish checksummed, attested evidence while explicitly recording GitHub's workflow-token bypass redaction.
Move the target-specific ML-KEM development oracle to 0.0.10 so the locked graph uses libcrux-secrets 0.0.6 and libcrux-sha3 0.0.10. This clears RUSTSEC-2026-0212, RUSTSEC-2026-0207, and RUSTSEC-2026-0208 without
    suppressions.
@loadingalias
loadingalias merged commit c2052e6 into main Jul 17, 2026
15 checks passed
@loadingalias
loadingalias deleted the ci/repository-controls-evidence branch July 17, 2026 18:27
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.

1 participant