puzzleos / stubby

UEFI bootloader stub
GNU Lesser General Public License v2.1
13 stars 8 forks source link

Feature: Add a tpm to test harness and show PCR7 values #25

Closed smoser closed 1 year ago

smoser commented 2 years ago

Several changes, all around being able to see PCR7 values in the guest.

smoser commented 2 years ago

we see this in the logs now:

$ tail -n 9 test-results/efi-shell/sb-shim-allowed/serial.log
==== MINI INITRAMFS INIT ====
[    4.559375] fbcon: Taking over console
[    4.576928] Console: switching to colour frame buffer device 100x37
/INIT COMMAND LINE: /init
/INIT ENVIRON: HOME=/ TERM=linux 
KERNEL COMMAND LINE: root=atomix console=ttyS0
PCR7: 89D502D880A384D838E2FAF2B8E2916EE3F538937B6F414C9D5B7341A56072D4
[    4.774666] sysrq: Power Off
[    4.785032] reboot: Power down