Skip to content
This repository was archived by the owner on Aug 3, 2026. It is now read-only.

proof: pin/exclude container_measurement sources (B) - #63

Merged
bitzic merged 1 commit into
mainfrom
feat/measurement-pinning
Jun 26, 2026
Merged

proof: pin/exclude container_measurement sources (B)#63
bitzic merged 1 commit into
mainfrom
feat/measurement-pinning

Conversation

@bitzic

@bitzic bitzic commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • exclude eval/private/ (the validator's secret held-out eval) from list_proof_sources — it was hashed into the measurement, so no miner could ever reproduce the validator's value -> every real_tdx_nvcc submission rejected at op2 "container measurement mismatch"
  • bundle manifest now declares ralph_source_commit/recipe_source_commit (env-stamped by the image, git fallback for dev)
  • op2: RALPH_CANONICAL_SOURCE_COMMITS gives an actionable "built against the wrong version" rejection instead of an opaque measurement mismatch (off by default; measurement hash stays the security gate)
  • Dockerfile: ARG/ENV the source commits; document reproducible-build + no-eval/private pinning
  • tests: secret eval doesn't affect measurement; version-drift check

- exclude eval/private/ (the validator's secret held-out eval) from
  list_proof_sources — it was hashed into the measurement, so no miner
  could ever reproduce the validator's value -> every real_tdx_nvcc
  submission rejected at op2 "container measurement mismatch"
- bundle manifest now declares ralph_source_commit/recipe_source_commit
  (env-stamped by the image, git fallback for dev)
- op2: RALPH_CANONICAL_SOURCE_COMMITS gives an actionable "built against
  the wrong version" rejection instead of an opaque measurement mismatch
  (off by default; measurement hash stays the security gate)
- Dockerfile: ARG/ENV the source commits; document reproducible-build +
  no-eval/private pinning
- tests: secret eval doesn't affect measurement; version-drift check

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bitzic
bitzic merged commit d4ecc8e into main Jun 26, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant