Conversation
sgrams
force-pushed
the
fix/migtd-bind-local-quote-report
branch
from
September 22, 2026 10:27
61995bd to
d8e48ee
Compare
Verify that locally generated quote data matches the TD report supplied to the quote service before using it in RA-TLS or SPDM flows. Cover matching, mismatched, and malformed evidence with focused tests while preserving explicit test-only bypass modes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Stanislaw Grams <stanislaw.grams@intel.com>
sgrams
force-pushed
the
fix/migtd-bind-local-quote-report
branch
from
September 22, 2026 10:27
d8e48ee to
4c7a33c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
The local policy input should describe the same TD report generated for the current quote request. Rejecting inconsistent quote-service responses keeps the local evidence source aligned across RA-TLS and SPDM.
Testing
cargo test -p migtd --lib --features maincargo check -p migtd --lib --features maincargo check -p migtd --lib --features main,spdm_attestationcargo check -p migtd --lib --features main,policy_v2cargo check -p migtd --lib --features main,use-mock-quotecargo check -p migtd --lib --features main,test_disable_ra_and_accept_allcargo check -p migtd --lib --no-default-features --features AzCVMEmu,test_mock_report,test_disable_ra_and_accept_all