Skip to content

feat(nvidia): validate H100 GPU CC verification on real silicon - #54

Merged
imran-siddique merged 1 commit into
mainfrom
feat/nvidia-gpu-verifier-validated
Jul 28, 2026
Merged

imran-siddique merged 1 commit into
mainfrom
feat/nvidia-gpu-verifier-validated

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

What

Flips the NVIDIA H100 GPU-CC verifier from PROVISIONAL to validated, against a real confidential-compute attestation captured on live silicon (a Standard_NCC40ads_H100_v5, cross-checked with NVIDIA's own local verifier). Completes the real-silicon matrix: SEV-SNP + TDX + H100 CC.

The real format (confirmed empirically, encoded here)

  • The report echoes the raw 32-byte nonce at offset 4 (not sha256(nonce), which is the CPU SEV-SNP/TDX REPORT_DATA convention).
  • The signature is the last 96 bytes: ECDSA P-384 raw r||s over report[:-96], SHA-384, by the attestation leaf key.
  • The device cert chain (leaf GH100 ... GSP FMC LF) roots in the self-signed NVIDIA Device Identity CA.

Changes

  • wcm.nvidia rewritten: parse_gpu_report, verify_gpu_report_signature, NvidiaGpuVerifier (cert chain to pinned NVIDIA root + report signature + raw-nonce binding), build_gpu_verifier. Removed the 0.20.0 placeholder that reused the generic QuoteVerifier (its sha256-nonce/DER-signature assumptions do not fit NVIDIA).
  • kbs.py: gpu_report_verifier now typed to NvidiaGpuVerifier; GPU evidence bundles the report + device cert chain in GpuReport.quote_b64 (no manifest-schema change).
  • Fixtures: real capture python/tests/fixtures/gpu_h100_attestation.json + pinned root nvidia_device_identity_ca.pem (root only, mirroring the AMD stance).
  • SDK 0.22.0, spec v0.15 (maturity note; no normative protocol change).

Verification (the point)

test_real_h100_attestation_verifies_offline verifies the real captured H100 report offline against the pinned NVIDIA Device Identity CA: verified True. Negatives fail as they must: wrong nonce, a tampered report byte (signature fails), and an untrusted root (chain fails). Synthetic NVIDIA-format tests drive the KBS integration with controllable nonces.

pytest 279 passed, mypy --strict clean (24 files), bandit clean, mkdocs build --strict clean, no em dashes.

🤖 Generated with Claude Code

Rewrite wcm.nvidia around the real NVIDIA H100 attestation format,
confirmed against a live Standard_NCC40ads_H100_v5 capture (cross-checked
with NVIDIA's own local verifier) and committed as a fixture:
- the report echoes the RAW 32-byte nonce at offset 4 (not sha256(nonce)
  like the CPU SEV-SNP/TDX path);
- the signature is the last 96 bytes, ECDSA P-384 raw r||s over
  report[:-96], SHA-384, by the leaf key;
- the device cert chain roots in the self-signed NVIDIA Device Identity CA.

New NvidiaGpuVerifier / build_gpu_verifier verify the cert chain to the
pinned NVIDIA root + the report signature + the raw-nonce binding;
parse_gpu_report + verify_gpu_report_signature are the primitives. The KBS
gpu_report_verifier takes this verifier; GPU evidence bundles the report
plus its device cert chain in GpuReport.quote_b64 (no manifest-schema
change). Replaces the 0.20.0 PROVISIONAL placeholder that reused the
generic QuoteVerifier with CPU sha256-nonce/DER-signature conventions.

WCM ships only the public NVIDIA device root. Completes the real-silicon
matrix: SEV-SNP + TDX + H100 CC. SDK 0.22.0, spec v0.15.

pytest 279 passed, mypy --strict clean, bandit clean, mkdocs --strict
clean, no em dashes.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@imran-siddique
imran-siddique merged commit 285c236 into main Jul 28, 2026
3 checks passed
@imran-siddique
imran-siddique deleted the feat/nvidia-gpu-verifier-validated branch July 29, 2026 23:22
@imran-siddique imran-siddique mentioned this pull request Aug 4, 2026
8 of 17 tasks
imran-siddique added a commit that referenced this pull request Sep 14, 2026
…ix (#131)

docs/roadmap.md still listed NVIDIA CC quote verification and Intel TDX
validation under Next, pending hardware. ROADMAP.md, the canonical copy,
already records SEV-SNP, TDX and H100 CC validated on real silicon, and H100
landed in #54 on 2026-07-28. The docs copy now matches it.

Also: SPONSORS.md and docs/sponsors.md name OPAQUE as sponsor without the
ownership disclaimer.


Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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