Re: [PATCH v13 20/20] tests: Add tpm2_test

2024-04-30 Thread Gary Lin via Grub-devel
On Mon, Apr 29, 2024 at 04:10:05PM +0800, Gary Lin wrote: > On Fri, Apr 26, 2024 at 05:18:04PM -0500, Glenn Washburn wrote: > > On Thu, 25 Apr 2024 16:02:06 +0800 > > Gary Lin wrote: > > > > > For the tpm2 module, the TCG2 command submission function is the only > > > difference between the a QEM

Re: [PATCH v13 20/20] tests: Add tpm2_test

2024-04-29 Thread Gary Lin via Grub-devel
On Fri, Apr 26, 2024 at 05:18:04PM -0500, Glenn Washburn wrote: > On Thu, 25 Apr 2024 16:02:06 +0800 > Gary Lin wrote: > > > For the tpm2 module, the TCG2 command submission function is the only > > difference between the a QEMU instance and grub-emu. To test TPM key > > unsealing with a QEMU ins

Re: [PATCH v13 20/20] tests: Add tpm2_test

2024-04-26 Thread Glenn Washburn
On Thu, 25 Apr 2024 16:02:06 +0800 Gary Lin wrote: > For the tpm2 module, the TCG2 command submission function is the only > difference between the a QEMU instance and grub-emu. To test TPM key > unsealing with a QEMU instance, it requires an extra OS image to invoke > grub-protect to seal the LU

[PATCH v13 20/20] tests: Add tpm2_test

2024-04-25 Thread Gary Lin via Grub-devel
For the tpm2 module, the TCG2 command submission function is the only difference between the a QEMU instance and grub-emu. To test TPM key unsealing with a QEMU instance, it requires an extra OS image to invoke grub-protect to seal the LUKS key, rather than a simple grub-shell rescue CD image. On t