CHALLENGE succeeds even when Root CA is not installed on requester #3337
-
|
Hi team, In the SPDM requester application I’m developing (based on libspdm), I observe that the CHALLENGE command succeeds even when the Root CA is not installed. Steps
Observation
My expecation Question
Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Root-CA is irrelevant to CHALLENGE. Where is the document saying: the requester must have the right root-ca to make CHALLENGE success? |
Beta Was this translation helpful? Give feedback.
When an Integrator adds a root certificate via
LIBSPDM_DATA_PEER_PUBLIC_ROOT_CERTthat means that they trust the certification authority and any certificate chained to that CA. The flow then isLIBSPDM_DATA_PEER_PUBLIC_ROOT_CERT.libspdm_get_certificate*for each populated certificate slot.LIBSPDM_STATUS_VERIF_NO_AUTHORITY) then presumably the Integrator will not specify this certificate slot when issuingCHALLENGE.libspdm_challengeusing a certificate slot whose root certificate is trusted.