You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(event-log): strip RTMR[0-2] payloads and document semantics
Strip boot-time event log payloads (RTMR 0-2) from GetQuote, Attest, and
TdxQuote responses to reduce response size. Only digests are retained for
verification purposes; runtime events (RTMR3) keep full payloads.
Add documentation explaining event_log_verified semantics: RTMR3 events
have both digest and payload verified, while RTMR 0-2 events only have
digests verified through replay comparison.
Copy file name to clipboardExpand all lines: sdk/curl/api-tappd.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,12 +128,15 @@ curl --unix-socket /var/run/tappd.sock -X POST \
128
128
```json
129
129
{
130
130
"quote": "<hex-encoded-quote>",
131
-
"event_log": "quote generation log",
131
+
"event_log": "<json-event-log>",
132
132
"hash_algorithm": "sha512",
133
133
"prefix": "app-data:"
134
134
}
135
135
```
136
136
137
+
**Note on Event Log:**
138
+
The `event_log` field contains a JSON array of TDX event log entries. For RTMR 0-2 (boot-time measurements), only the digest is included; the payload is stripped to reduce response size. For RTMR3 (runtime measurements), both digest and payload are included.
139
+
137
140
### 4. Raw Quote
138
141
139
142
Generates a TDX quote with raw report data. This is a low-level API that should be used with caution.
The `event_log` field contains a JSON array of TDX event log entries. For RTMR 0-2 (boot-time measurements), only the digest is included; the payload is stripped to reduce response size. For RTMR3 (runtime measurements), both digest and payload are included.
The `event_log` field contains a JSON array of TDX event log entries. For RTMR 0-2 (boot-time measurements), only the digest is included; the payload is stripped to reduce response size. For RTMR3 (runtime measurements), both digest and payload are included. To verify the event log, submit it along with the quote to the [verifier service](../../verifier/README.md).
The verifier performs three main verification steps:
179
179
180
180
1. **Quote Verification**: Validates the TDX quote using dcap-qvl, checking the quote signature and TCB status
181
-
2. **Event Log Verification**: Replays event logs to ensure RTMR values match and extracts app information
181
+
2. **Event Log Verification**: Replays event logs to ensure RTMR values match and extracts app information. For RTMR3 (runtime measurements), both the digest and payload integrity are verified. For RTMR 0-2 (boot-time measurements), only the digests are verified; the payload content is not validated as dstack does not define semantics for these payloads
182
182
3. **OS Image Hash Verification**:
183
183
- Automatically downloads OS images if not cached locally
0 commit comments