You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix test_certify_key_extended and test_invoke_dpe_get_profile_cmd
The CertifyKeyExtendedResp type has a huge fixed-size payload buffer
(~25KB) that the mailbox truncates to the actual response size. The
tests were calling read_from_bytes which requires an exact size match
and failed with SizeError against the truncated slice.
Copy the truncated mailbox data into a zeroed fixed-size response
buffer, then use try_read_from_prefix on the inner CertifyKeyP384Resp
which has its own fixed-size cert buffer larger than any real DPE
response.
Also update test_invoke_dpe_get_profile_cmd to expect max_tci_nodes=64
after the DPE 64-context change (backport of main commit c3fced9).
0 commit comments