The DPU BMC attestation process enables secure verification of device identity and firmware integrity using standardized protocols. This implementation leverages SPDM (Security Protocol and Data Models) over MCTP (Management Component Transport Protocol) to provide remote attestation capabilities via the Redfish API.
Attestation Workflow Overview
To attest a target, do the following:
-
Send a
GETrequest to/redfish/v1/ComponentIntegrityto list the root of trust (RoT) devices. The list contains the devices that the NVIDIA® BlueField® BMC discovered during its last boot, for example,Bluefield_DPU_IRoTandBluefield_ERoT. -
Send a
POSTrequest to/redfish/v1/ComponentIntegrity/<target_id>/Actions/ComponentIntegrity.SPDMGetSignedMeasurements, where<target_id>is a device ID from step 1. Optionally, include a nonce (a random 64-character hexadecimal value used only once) and other parameters, as described in Get Measurements from Attestation Target. The request returns a task. -
Send
GETrequests to/redfish/v1/TaskService/Tasks/<id>, where<id>is the task ID from thePOSTresponse, untilTaskStateisCompleted. -
Send a
GETrequest to/redfish/v1/Chassis/<target_id>/Certificates/CertChainto get the target's certificate chain. The certificate chain is required to verify the measurement signature in step 6. -
Send a
GETrequest to/redfish/v1/ComponentIntegrity/<target_id>/Actions/ComponentIntegrity.SPDMGetSignedMeasurements/datato get the base64-encodedSignedMeasurementspayload. -
Verify the payload's signature against the certificate chain.
-
Verify the measurement values. This page doesn't describe how to verify them. For measurement descriptions and reference values, see the DPU Attestation documentation.
Redfish Commands
For detailed information about the DPU attestation process, measurement descriptions, and reference values, refer to the DPU Attestation documentation.
Get ComponentIntegrity Collection
curl -k -u root:'<password>' -H "Content-Type: application/json" -X GET https://<bmc ip>/redfish/v1/ComponentIntegrity
This command returns a collection of all attestation targets in the system.
In DPU BMC, the available attestation targets are:
-
Bluefield_DPU_IRoT– The BlueField IRoT (Initial Root of Trust), a Platform Security Controller (PSC) that stores measurements related to the Arm and NIC components -
Bluefield_ERoT– The BlueField BMC ERoT (External Root of Trust), which contains measurements related to the DPU BMC
Get Certificate Chain of Specific Attestation Target
curl -k -u root:'<password>' -H "Content-Type: application/json" -X GET https://<bmc ip>/redfish/v1/Chassis/<target_id>/Certificates/CertChain
This command retrieves the certificate chain for a specific attestation target. The response is a JSON structure containing the entire certificate chain, which can be used to verify the authenticity of the component.
Get Measurements from Attestation Target
# 1. Request all available measurements
curl -k -u root:'<password>' -H "Content-Type: application/json" -X POST \
https://<bmc ip>/redfish/v1/ComponentIntegrity/<target_id>/Actions/ComponentIntegrity.SPDMGetSignedMeasurements
# 2. Request specific measurements
curl -k -u root:'<password>' -H "Content-Type: application/json" -X POST \
-d '{"SlotId": 0, "MeasurementIndices": [2,5], "Nonce": "d42a0594c5cd5743ee08fe5ec3cf884b1fac4f106879cda98b7d1c51652b04b7"}' \
https://<bmc ip>/redfish/v1/ComponentIntegrity/HGX_IRoT_NIC_0/Actions/ComponentIntegrity.SPDMGetSignedMeasurements
This command retrieves signed measurements from the specified component.
|
Parameter |
Description |
Format |
|---|---|---|
|
|
A unique, randomly generated value used to prevent replay attacks. Usage:
|
32-byte (64-character) hexadecimal string. |
|
Certificate |
Indicates which slot contains the certificate chain used for signing. Only Slot 0 is supported, which holds the NVIDIA certificate chain.
|
Integers |
|
|
Specifies the measurement indices to request. If omitted, |
Array of integers |
Handling the Response
This operation is asynchronous and returns a task object rather than the measurement data itself.
Example response:
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"Id": "<id>",
"TaskState": "Running",
"TaskStatus": "OK"
}
Monitoring Task Progress
Periodically check the task until completion using:
curl -k -u root:'<password>' -H "Content-Type: application/json" -X GET https://<bmc ip>/redfish/v1/TaskService/Tasks/<id>
A completed task appears as
{
...
"PercentComplete": 100,
...
"TaskState": "Completed",
"TaskStatus": "OK"
}
Get Measurements Response Data
curl -k -u root:'<password>' -H "Content-Type: application/json" -X GET \
https://<bmc ip>/redfish/v1/ComponentIntegrity/<target_id>/Actions/ComponentIntegrity.SPDMGetSignedMeasurements/data
This command retrieves the signed measurement data previously requested via the SPDMGetSignedMeasurements action.
Example output:
{
"HashingAlgorithm": "TPM_ALG_SHA_512",
"SignedMeasurements": "<base64 encoded measurements>",
"SigningAlgorithm": "TPM_ALG_ECDSA_ECC_NIST_P384",
"Version": "1.1.0"
}
Redfish Event Log
Each time a new Get Measurements command is issued, a Redfish event log entry is generated.
Example entry:
{
"@odata.id": "/redfish/v1/Systems/Bluefield/LogServices/EventLog/Entries/<id>",
"@odata.type": "#LogEntry.v1_15_0.LogEntry",
"Created": "<date>",
"EntryType": "Event",
"Id": "<id>",
"Message": "Redfish attestation measurements POST request received",
"Modified": "<date>",
"Name": "System Event Log Entry",
"Resolved": false,
"Severity": "OK"
}
Last updated: