Skip to content

Instantly share code, notes, and snippets.

@clauverjat
Last active August 20, 2024 13:44
Show Gist options
  • Save clauverjat/988f9ec351ec3d1bd448ddaab53a3659 to your computer and use it in GitHub Desktop.
Save clauverjat/988f9ec351ec3d1bd448ddaab53a3659 to your computer and use it in GitHub Desktop.
Output of nvtrust/guest_tools/attestation_sdk/tests/SmallCombinedTest.py
node name : thisNode44
[['LOCAL_GPU_CLAIMS', <Devices.GPU: 2>, <Environment.LOCAL: 2>, '', '', '']]
[['LOCAL_GPU_CLAIMS', <Devices.GPU: 2>, <Environment.LOCAL: 2>, '', '', ''], ['TEST_CPU_CLAIMS', <Devices.CPU: 1>, <Environment.TEST: 1>, '', '', '']]
call attest() - expecting True
Number of GPUs available : 1
-----------------------------------
Fetching GPU 0 information from GPU driver.
Using the Nonce specified by user
VERIFYING GPU : 0
Driver version fetched : 550.90.07
VBIOS version fetched : 96.00.9f.00.01
Validating GPU certificate chains.
The firmware ID in the device certificate chain is matching with the one in the attestation report.
GPU attestation report certificate chain validation successful.
The certificate chain revocation status verification successful.
Authenticating attestation report
The nonce in the SPDM GET MEASUREMENT request message is matching with the generated nonce.
Driver version fetched from the attestation report : 550.90.07
VBIOS version fetched from the attestation report : 96.00.9f.00.01
Attestation report signature verification successful.
Attestation report verification successful.
Authenticating the RIMs.
Authenticating Driver RIM
Fetching the driver RIM from the RIM service.
RIM Schema validation passed.
driver RIM certificate chain verification successful.
The certificate chain revocation status verification successful.
driver RIM signature verification successful.
Driver RIM verification successful
Authenticating VBIOS RIM.
Fetching the VBIOS RIM from the RIM service.
RIM Schema validation passed.
vbios RIM certificate chain verification successful.
The certificate chain revocation status verification successful.
vbios RIM signature verification successful.
VBIOS RIM verification successful
Comparing measurements (runtime vs golden)
The runtime measurements are matching with the golden measurements.
GPU is in expected state.
GPU 0 verified successfully.
GPU Attested Successfully
True
my token is : [["JWT", "redacted"], {"LOCAL_GPU_CLAIMS": "redacted"}]
call validate_token() - expecting True
True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment