Skip to content

Debug Output for Measurement Verification #3609

@ismaws

Description

@ismaws

This is just an ask for a nice-to-have debug output to see in the log while performing the signature verification by the requester at the end of the get measurements flow.

Same way L1/L2 and its hash is printed:
https://github.com/DMTF/libspdm/blob/main/library/spdm_common_lib/libspdm_com_crypto_service.c#L165

We should see printed the Public Key used to Auth the signature:
https://github.com/DMTF/libspdm/blob/main/library/spdm_requester_lib/libspdm_req_get_measurements.c#L83

And also see the Signature payload and format that passed the check (code tries both endianness):
https://github.com/DMTF/libspdm/blob/main/library/spdm_crypt_lib/libspdm_crypt_asym.c#L970

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions