DMTF / SPDM-Responder-Validator

BSD 3-Clause "New" or "Revised" License
9 stars 13 forks source link

MeasurementSummaryHash calculation is changed in SPDM 1.1 spec #114

Closed jyao1 closed 9 months ago

jyao1 commented 10 months ago

1.1.1 says: it is MeasurementBlock[i].measurement, but 1.1.2 says: it is MeasurementBlock[i].

We probably need to remove the check for MeasurementSummaryHash. Or if we really want to, then we need try-fail mechanism.

Ref: https://github.com/DMTF/SPDM-WG/issues/3218

jyao1 commented 10 months ago

It seems "the measurements can change between CHAL and GET_MEAS, so the endpoint cannot assume that they will stay the same." according to https://github.com/DMTF/SPDM-WG/issues/3219.

We need to remove the consistency check.