Skip to content

MigTd/spdm: fall back to local init data for rebind#739

Open
haitaohuang wants to merge 1 commit intointel:mainfrom
haitaohuang:spdm
Open

MigTd/spdm: fall back to local init data for rebind#739
haitaohuang wants to merge 1 commit intointel:mainfrom
haitaohuang:spdm

Conversation

@haitaohuang
Copy link
Contributor

In send_and_receive_sdm_rebind_attest_info(), the code previously returned an error when RebindingInfo.init_migtd_data was None. This is inconsistent with the RA-TLS rebinding path which falls back to InitData::get_from_local(). Apply the same fallback pattern so SPDM rebind-prepare works when init_migtd_data is not provided.

@haitaohuang haitaohuang requested a review from jyao1 as a code owner March 6, 2026 21:09
In send_and_receive_sdm_rebind_attest_info(), the code previously
returned an error when RebindingInfo.init_migtd_data was None. This
is inconsistent with the RA-TLS rebinding path which falls back to
InitData::get_from_local(). Apply the same fallback pattern so SPDM
rebind-prepare works when init_migtd_data is not provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
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