diff --git a/pallets/attestation/src/lib.rs b/pallets/attestation/src/lib.rs index 50aed8270..fad9c5d86 100644 --- a/pallets/attestation/src/lib.rs +++ b/pallets/attestation/src/lib.rs @@ -169,7 +169,7 @@ pub mod pallet { Error::::IncorrectInputData ); - // Check measurements match current release of entropy-tss + // Check build-time measurement matches a current-supported release of entropy-tss ensure!(ACCEPTED_MRTD_VALUES.contains("e.mrtd()), Error::::BadMrtdValue); // TODO #982 Check that the attestation public key matches that from PCK certificate