Skip to content

remove redundant rebind peer-peer messages#873

Open
haitaohuang wants to merge 3 commits into
intel:mainfrom
haitaohuang:upstream/pr3-remove-redundant-rebind
Open

remove redundant rebind peer-peer messages#873
haitaohuang wants to merge 3 commits into
intel:mainfrom
haitaohuang:upstream/pr3-remove-redundant-rebind

Conversation

@haitaohuang
Copy link
Copy Markdown
Contributor

fixes #871 and #872
Also unifies pre-session messages for both rebinding and migration

haitaohuang and others added 3 commits May 29, 2026 22:18
The old side no longer sends init_tdinfo as a separate presession
packet, and the new side no longer receives or packs it into the
return buffer. Also remove the dead init_tdinfo decode from the
SPDM rebinding responder (it was parsed then discarded).

init_tdinfo is already exchanged via TdReportInit in the SPDM
attest-info VDM message and as a TLS cert extension in TLS mode.

Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…d attest-info

Stop encoding, parsing, and verifying the MigPolicyInit element
(mrowner hash) on the rebind path. Both MigPolicyInit and TdReportInit
originate from the same peer in the same message, so the mrowner
cross-check has no security value. Decrement rebind-req element
count from 6 to 5 and drop the MigPolicyInit enum variant.

Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…sion

Rebinding old/new presession exchanges were identical to the migration
pre_session_data_exchange. Replace both with a single call to the
shared function. The new-side length-prefix wrapping moves inline
to the caller.

Signed-off-by: Haitao Huang <haitaohuang@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@haitaohuang haitaohuang requested review from jyao1 and sgrams as code owners May 29, 2026 23:49
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.

init_tdinfo sent in two ways to responder/dest

1 participant