Repository navigation
feat(verify): check a genuine Intel TDX quote in the browser - #61
Merged
Merged
Conversation
The homepage is moving to lead with evidence a visitor can check without trusting us. This adds the page it points at. verify/tdx-verify.js ports agent_manifest._tdx_verify to WebCrypto: the same parse, the same checks on every declared length, the same four steps in the same order. /verify/ runs it on the two GCP C3 captures from 2026-07-21, or on a quote file the reader loads. A port that agrees on two genuine quotes can still disagree on everything else. verifier.yml installs agent-manifest 0.12.0, records its verdict on 3,684 inputs derived from the captures (byte flips across every length and type field and the PEM text, a stride over the rest, truncations at each structure edge) and fails if the port decides any of them differently. Locally 3,684 of 3,684 agree and 1,248 are accepted. Every accepted flip sits after the declared signature data or on a newline outside the certificate blocks, which both parsers ignore. The page states the limit first: these captures bind a manifest hash whose input was never published, so a pass proves genuine TDX silicon and does not tie a record to the machine. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
The MRTD, RTMR and REPORTDATA rows are 96 unbroken hex characters, so in a 400px frame the table pushed /verify/ to 1068px wide. Offer a break every 16 characters. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
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.
Adds /verify/, where a visitor checks a genuine Intel TDX quote in their own browser. The stacked homepage PR links to it from the hero.
What runs.
verify/tdx-verify.jsis a WebCrypto port ofagent_manifest._tdx_verify: the same parse, the same checks on every length the quote declares, the same four steps in the same order. The page runs it on the two GCP C3 captures from 2026-07-21 (sha256f9efbac1...and1ae04c74..., the values agent-manifest's tests pin), or on a quote file the reader loads. Nothing is uploaded.Holding the port to its original.
verifier.ymlinstalls agent-manifest 0.12.0, whose_tdx_verify.pyis byte-identical to main, records its verdict on 3,684 inputs derived from the captures, and fails if the port decides any of them differently. The inputs cover every byte of each length and type field, the PEM boundaries, every PEM newline and marker dash, a stride of 5 over the rest, and truncations at each structure edge. Locally 3,684 of 3,684 agree and 1,248 are accepted. Six accepted flips land inside the declared signature data, at offsets 3030, 3986 and 4934 in each capture. All six are newlines outside the certificate blocks, which both parsers ignore.What the page says it does not prove
Checked locally
node tools/check-tdx-verifier.mjs differential.json: 3,684 of 3,684 agreecheck-site.py,check-discovery.py,build-discovery.py --check,check-dashes.js, marketplace testsGenerated with Claude Code
https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2