Usage#
To run the cc_admin module, use the following command:
python3 -m verifier.cc_admin [-h] [-v] [--test_no_gpu] [--driver_rim DRIVER_RIM] [--vbios_rim VBIOS_RIM] [--user_mode] [--nonce] [--allow_hold_cert]
Option |
Description |
|---|---|
|
Show this help message and exit |
|
Print more detailed output |
|
If there is no GPU and we need to test the verifier, no NVML APIs will be available, so the verifier will use hardcoded GPU info |
|
The path to the driver RIM. If not provided, it will use the default file: |
|
The path to the VBIOS RIM. If not provided, it will try to find the appropriate file in |
|
Runs the GPU attestation in user mode |
|
Continue attestation if the OCSP revocation status of the certificate in the RIM files is ‘certificate_hold’ |
|
Specify a Nonce for Attestation Report |
|
The absolute path to the root certificate is to be used for verifying the certificate chain of the driver and VBIOS RIM certificate chain |
|
The URL to be used for fetching driver and VBIOS RIM files (e.g., |
|
The URL to be used for checking the revocation status of a certificate (e.g., |
|
Flag which indicates whether to include a nonce when calling OCSP. Only applicable for local GPU attestation. False by default |
|
Service key which is used to auth remote service calls to attestation services. None by default. Note: No valid service keys have been created by admins yet - using any key will result in attestation failure. |
|
Specify the claims version to retrieve version-specific attestation claims (e.g., 2.0). Please refer to the Claims Guide for the claims. If the claims version is not set, it defaults to 2.0. |
If you need information about any function, use
help(function_name)
For example:
e.g. help(verify_measurement_signature)
Additional Resources#
For local and remote verifier claims information for NVIDIA GPUs and switches, see the Claims Guide.
For troubleshooting related information, see the Attestation Troubleshooting Guide.
Review attestation examples for more scenarios and advanced usage. See the Attestation Examples for a complete list.