Expected behavior for identical GET_CAPABILITIES or NEGOTIATE_ALGORITHMS requests #2943
-
As per the SPDM 1.2.1 specification document: a requester can send multiple requests for GET_CAPABILITIES and NEGOTIATE_ALGORITHMS. And it is written that in case of non-identical requests, responder shall either discard the requests or return SPDM_ERROR with Unexpected Request error code. For the identical requests, what should be the responder's behavior? Current implementation of the libspdm code does not check whether the request has come before and returns SPDM_ERROR_CODE_UNEXPECTED_REQUEST for both identical and non-identical requests, which does not seem to align with the specification. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Retries have long been a point of ambiguity in the SPDM specification and are ill-defined. In addition, they add unnecessary complexity to the SPDM layer of a Responder. To alleviate this @xiaoyuruan filed https://github.com/DMTF/SPDM-WG/issues/3092 against the specification which led to
in the 1.2.2 specification. In particular libspdm assumes that the transport is reliable. |
Beta Was this translation helpful? Give feedback.
Retries have long been a point of ambiguity in the SPDM specification and are ill-defined. In addition, they add unnecessary complexity to the SPDM layer of a Responder. To alleviate this @xiaoyuruan filed DMTF/SPDM-WG#3092 against the specification which led to
in the 1.2.2 specification. In particular libspdm assumes that the transport is reliable.