Open imlk0 opened 9 months ago
The SPDM doc mentioned that if a Responder is not ready to return response, it may return a ERROR (ResponseNotReady) message.
Responder
ERROR (ResponseNotReady)
548 10.13 RESPOND_IF_READY request message format
and
Figure 14 — RESPOND_IF_READY flow leading to completion
For example, the Requester may receive a ERROR (ResponseNotReady) when a CHALLENGE_AUTH response is expected. However, this this mechanism does not seem to be implemented in spdm-rs. https://github.com/ccc-spdm-tools/spdm-rs/blob/a2aa7a6adf36b1f4cd3f4911542b1d45a64db38a/test/spdm-requester-emu/src/main.rs#L283-L292
CHALLENGE_AUTH
It is not supported yet. Do you want to propose a patch?
The SPDM doc mentioned that if a
Responder
is not ready to return response, it may return aERROR (ResponseNotReady)
message.and
For example, the Requester may receive a
ERROR (ResponseNotReady)
when aCHALLENGE_AUTH
response is expected. However, this this mechanism does not seem to be implemented in spdm-rs. https://github.com/ccc-spdm-tools/spdm-rs/blob/a2aa7a6adf36b1f4cd3f4911542b1d45a64db38a/test/spdm-requester-emu/src/main.rs#L283-L292