Skip to content

Commit de1d4a0

Browse files
Copilotkvinwang
andauthored
fix: clarify include_hash_inputs only applies to runtime events in proto comment
Agent-Logs-Url: https://github.com/Dstack-TEE/dstack/sessions/042b74ec-8b33-465d-bd29-2871b0cfd72c Co-authored-by: kvinwang <6442159+kvinwang@users.noreply.github.com>
1 parent f191603 commit de1d4a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

guest-agent/rpc/proto/agent_rpc.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,8 @@ message TdxQuoteArgs {
170170
message RawQuoteArgs {
171171
// 64 bytes of report data
172172
bytes report_data = 1;
173-
// If true, include the digest hash input for each event in the response.
173+
// If true, include the digest hash input for each runtime event in the response.
174+
// Non-runtime events (boot-time/TCG events) will have hash_input unset.
174175
// The hash_input is hex-encoded bytes of the digest pre-image:
175176
// - v2 runtime events: hex of UTF-8 JCS canonical JSON
176177
// - v1 runtime events: hex of binary concat (event_type_le || ":" || name || ":" || payload)

0 commit comments

Comments
 (0)