Skip to content

docs(guest-agent): correct the report_data length in RawQuoteArgs - #1359

Merged
kvinwang merged 1 commit into
nextfrom
test/guest-agent-report-data-contract
Sep 24, 2026
Merged

kvinwang merged 1 commit into
nextfrom
test/guest-agent-report-data-contract

Conversation

@kvinwang

@kvinwang kvinwang commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

The RawQuoteArgs.report_data comment said "64 bytes", but GetQuote and Attest accept 0..=64 bytes and zero-pad, while Tappd.RawQuote (and TdxQuote with hash_algorithm = "raw") require exactly 64 (invalid content length). Comment-only fix in agent_rpc.proto; no behaviour change.

Verification: checked against pad64 in guest-agent/src/rpc_service.rs and the "raw" branch in dstack-attest/src/attestation.rs.

@kvinwang
kvinwang force-pushed the test/guest-agent-report-data-contract branch from 097082b to 1a86bdf Compare September 24, 2026 09:06
@kvinwang kvinwang changed the title test(guest-agent): pin the report_data length contract on every surface docs(guest-agent): correct the report_data length in RawQuoteArgs Sep 24, 2026
@kvinwang
kvinwang merged commit 2edf048 into next Sep 24, 2026
11 checks passed
@kvinwang
kvinwang deleted the test/guest-agent-report-data-contract branch September 24, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant