[BUG] tcg2 measurement fails(0x800000000000000e) if BootOrder not defined

Hello Masahisa,
The UEFI specification does not require that BootOrder is defined. Instead /EFI/BOOT/BOOT<ARCH>.EFI will be booted if not BootOrder is defined.
Currently tcg2 measurement fails with EFI_NOT_FOUND in this case.
Please, correct tcg2_measure_boot_variable() to correctly handle booting without BootOrder.
Best regards
Heinrich

Hi Heinrich,
On Sun, 7 Nov 2021 at 23:27, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Hello Masahisa,
The UEFI specification does not require that BootOrder is defined. Instead /EFI/BOOT/BOOT<ARCH>.EFI will be booted if not BootOrder is defined.
Currently tcg2 measurement fails with EFI_NOT_FOUND in this case.
Please, correct tcg2_measure_boot_variable() to correctly handle booting without BootOrder.
I will fix this issue.
Regards, Masahisa Kojima
Best regards
Heinrich
participants (2)
-
Heinrich Schuchardt
-
Masahisa Kojima