veraison / corim

CoRIM and CoMID manipulation library and CLI
Apache License 2.0
9 stars 7 forks source link

fix(comid): bring ValueTriple into alignment with rev05 #124

Closed setrofim closed 3 months ago

setrofim commented 3 months ago

At rev00, for reference/endorsed value triples, the CoRIM spec associated an environment with one or more measurements, allowing for two layers of multiplicity.

Since rev01, and up to (current) rev05, the spec removed the second layer, now associating an environment with exactly one measurement.

This commit brings our implementation into alignment with the spec, replacing ValueTriple.Measurements collection with the single ValueTriple.Measurement.

This addresses https://github.com/veraison/corim/issues/123