From 97acdfa297f05fda9342ea63d7fc9e1be0b7ecee Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Tue, 8 Nov 2022 22:26:28 +0100 Subject: [PATCH] config: align pre-filled AWS measurements --- internal/config/measurements.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/config/measurements.go b/internal/config/measurements.go index 0376874f7..a82891e3b 100644 --- a/internal/config/measurements.go +++ b/internal/config/measurements.go @@ -45,8 +45,10 @@ var ( // awsPCRs are the PCR values for an AWS Nitro Constellation node that are initially set in a generated config file. awsPCRs = Measurements{ - uint32(vtpm.PCRIndexOwnerID): {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, - uint32(vtpm.PCRIndexClusterID): {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, + 11: zero, + 12: zero, + 13: zero, + uint32(vtpm.PCRIndexClusterID): zero, } qemuPCRs = Measurements{