public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF
@ 2018-08-01 17:33 Ricardo Araújo
  2018-08-01 17:50 ` Ricardo Araújo
  0 siblings, 1 reply; 13+ messages in thread
From: Ricardo Araújo @ 2018-08-01 17:33 UTC (permalink / raw)
  To: edk2-devel

Hi everyone, 

I'm using OVMF with a simulated TPM 2.0 (from https://github.com/stefanberger/swtpm) and I noticed lately that PCRs 0-7 are zeroed after booting the vm (ubuntu 18.04) and the only message related to this in dmesg is: 

[ 2.286690] tpm_tis 00:06: 2.0 TPM (device-id 0x1, rev-id 1) 
[ 2.303753] tpm tpm0: A TPM error (256) occurred continue selftest 
[ 2.314199] tpm tpm0: starting up the TPM manually 

I found this started to happen after this commit , previous commits to that are showing boot time measurements on PCR 0-7 normally and the error message is gone. Has anyone experienced the same behavior? I followed the instructions here for building OVMF but I added the parameters -D TPM2_ENABLE=TRUE -D SECURE_BOOT_ENABLE=TRUE -D HTTP_BOOT_ENABLE=TRUE. Is there anything else I need to add to enable these measurements? 

Regards, 

Ricardo Araujo 
www.lsd.ufcg.edu.br/~ricardo 



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-08-09 16:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-01 17:33 Missing boot related measurements at TPM 2.0 PCRs 0-7 with OVMF Ricardo Araújo
2018-08-01 17:50 ` Ricardo Araújo
2018-08-01 21:49   ` Laszlo Ersek
2018-08-02  2:04     ` Zhang, Chao B
2018-08-02 13:14       ` Laszlo Ersek
2018-08-03  0:22         ` Zhang, Chao B
2018-08-03 13:39           ` Ricardo Araújo
2018-08-03 14:45             ` Laszlo Ersek
2018-08-06 15:26               ` Zhang, Chao B
2018-08-09 14:09                 ` Marc-André Lureau
2018-08-09 14:55                   ` Laszlo Ersek
2018-08-09 15:46                     ` Zhang, Chao B
2018-08-09 16:09                       ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox