docs(testing): the TDX row covers the quote, not the TDREPORT (#370) - #529
Merged
Conversation
This page exists to enforce one rule: no document describes cMCP as hardware-attested for a platform until a genuine quote from that platform has been verified end to end and the run is recorded here. The TDX row was at risk of being read wider than the run behind it. The recorded run verifies a DCAP v4 quote: attestation-key signature over header plus TD report body, the QE report binding, the PCK signature, and the PCK chain to the pinned Intel SGX Root CA. verify_tdx_measurement() also parses the 1024-byte TDREPORT_STRUCT from the TDX_CMD_GET_REPORT0 ioctl, which is a different artifact, and no real TDREPORT has ever been checked against it. That matters now because #371 found both TDREPORT field offsets wrong, MRTD read from inside REPORTMACSTRUCT.report_data and REPORTDATA read from the leading RESERVED block, and #527 corrected them against the published ABI. The correction is asserted against the ABI and against a property that needs no hardware to state, that a measurement must not move when only the nonce moves. Neither is a capture, and synthetic self-consistency is exactly what this page says is not validation. Nothing about the offsets being wrong for that long would have been visible to a reader of the table as it stood. Refs #370, #371, #527 Signed-off-by: Imran Siddique <imran.siddique@opaque.co> Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
imran-siddique
enabled auto-merge (squash)
August 18, 2026 16:03
Member
Author
|
@Mayur021 — all required checks are green. Could you take the maintainer approval pass when you have a moment? |
|
Read the diff. The narrowing is right. The validated run covers the DCAP quote path and no TDREPORT capture exists yet, so the row should not read wider than that. Nothing I would change in the wording. On the approval itself I would rather not be the one to click it. Phase 2 says these stay in review until an independent maintainer approves, and I am one of the reviewers that record cites, with an issue in the same evidence set. An approval from me would not carry the independence that sentence is claiming. Better from someone outside the review. |
pforest
approved these changes
Aug 19, 2026
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.
Last piece of #370. Part of the CoSAI WS4 Phase 1 review (ws4 #149) close-out.
docs/testing/hardware-validation.mdexists to enforce one rule: no document describes cMCP as hardware-attested for a platform until a genuine quote from that platform has been verified end to end, and the run is recorded. The TDX row was at risk of being read wider than the run behind it.The recorded run verifies a DCAP v4 quote.
verify_tdx_measurement()also parses the 1024-byte TDREPORT_STRUCT from theTDX_CMD_GET_REPORT0ioctl — a different artifact — and no real TDREPORT has been checked against it.That matters now because #371 found both TDREPORT offsets wrong (
MRTDread from insideREPORTMACSTRUCT.report_data,REPORTDATAfrom the leading RESERVED block) and #527 corrected them against the published Intel ABI. The correction is asserted against the ABI and against a property that needs no hardware to state — a measurement must not move when only the nonce moves. Neither is a capture, and synthetic self-consistency is precisely what this page says is not validation.Nothing about those offsets being wrong for that long would have been visible to a reader of the table as it stood, which is the reason to write the caveat down rather than carry it in a PR description nobody re-reads.