I thnk it's crucial we start to measure Verity images as we activate
them, so that the event log has a full trace of the compisition of the
system. hence let's introduce a new NvPCR for this purpse, under the
name "verity".
'HAVE_TPM2',
],
},
-
]
if conf.get('ENABLE_BOOTLOADER') == 1 and conf.get('HAVE_OPENSSL') == 1 and conf.get('HAVE_TPM2') == 1
nvpcrs = [ 'cryptsetup',
- 'hardware' ]
+ 'hardware',
+ 'verity']
foreach n : nvpcrs
custom_target(
input : 'nvpcr/' + n + '.nvpcr.in',
--- /dev/null
+{
+ "name" : "verity",
+ "algorithm" : "sha256",
+ "nvIndex" : {{TPM2_NVPCR_BASE + 2}}
+}