Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ERROR (ResponseNotReady)? #27

Open
imlk0 opened this issue Feb 15, 2024 · 1 comment
Open

Support for ERROR (ResponseNotReady)? #27

imlk0 opened this issue Feb 15, 2024 · 1 comment

Comments

@imlk0
Copy link

imlk0 commented Feb 15, 2024

The SPDM doc mentioned that if a Responder is not ready to return response, it may return a ERROR (ResponseNotReady) message.

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.

if context
.send_receive_spdm_challenge(
0,
SpdmMeasurementSummaryHashType::SpdmMeasurementSummaryHashTypeNone,
)
.await
.is_err()
{
panic!("send_receive_spdm_challenge failed!");
}

@jyao1
Copy link
Member

jyao1 commented Feb 21, 2024

It is not supported yet.
Do you want to propose a patch?

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

No branches or pull requests

2 participants