Skip to content

Intel TDX attestation for dataset generation bundles#22

Merged
ai-hpc merged 1 commit into
mainfrom
feat/dataset-intel-tdx
Jul 15, 2026
Merged

Intel TDX attestation for dataset generation bundles#22
ai-hpc merged 1 commit into
mainfrom
feat/dataset-intel-tdx

Conversation

@ai-hpc

@ai-hpc ai-hpc commented Jul 15, 2026

Copy link
Copy Markdown
Member

Summary

Dataset-track bundles now capture and verify Intel TDX measured-VM quotes alongside NVIDIA GPU CC attestation.

Miner side (sparkproof-prove):

  • After NRAS GPU attest, capture TDX quote via configfs-tsm bound to the dataset nonce
  • Store in gpu_attestation.tdx (quote_b64, report_data, mrtd)
  • Attestation fails if nonce-bound but TDX unavailable ("tdx": null)

Validator side (sparkproof-verify):

  • Production mode: require tdx with report_data matching dataset nonce
  • --online: Intel DCAP verification via dcap-qvl (added to dev/gpu extras)
  • Grandfather: bundles without tdx key (pre-ship registry entries) still pass offline

TDX provisioning (once per boot)

sudo chmod 0777 /sys/kernel/config/tsm/report
mkdir /sys/kernel/config/tsm/report/sparkproof
sudo chmod 0666 /sys/kernel/config/tsm/report/sparkproof/inblob
export SPARKPROOF_TSM_REPORT_PATH=/sys/kernel/config/tsm/report/sparkproof

Test plan

  • pytest tests/test_tdx.py tests/test_verify.py -k tdx
  • Pair with SparkDistill PR #122 (registry gate TDX check)

Capture TDX via configfs-tsm when attesting GPU CC, bind report_data to
the dataset nonce, verify offline in sparkproof-verify production mode,
and DCAP-verify quotes online alongside NRAS signatures.

Legacy bundles without a tdx field are grandfathered until republished.
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