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

2024-05-08 Thread Gary Lin via Grub-devel
On Wed, May 08, 2024 at 03:25:29PM -0500, Glenn Washburn wrote: > On Tue, 7 May 2024 16:19:19 +0800 > Gary Lin wrote: > > > On Mon, May 06, 2024 at 02:09:12PM -0500, Glenn Washburn wrote: > > > On Fri, 3 May 2024 14:48:56 +0800 > > > Gary Lin wrote: > > > > > > > For the tpm2 module, the TCG2

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

2024-05-08 Thread Glenn Washburn
On Tue, 7 May 2024 16:19:19 +0800 Gary Lin wrote: > On Mon, May 06, 2024 at 02:09:12PM -0500, Glenn Washburn wrote: > > On Fri, 3 May 2024 14:48:56 +0800 > > Gary Lin wrote: > > > > > For the tpm2 module, the TCG2 command submission function is the only > > > difference between the a QEMU inst

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

2024-05-07 Thread Gary Lin via Grub-devel
On Mon, May 06, 2024 at 02:09:12PM -0500, Glenn Washburn wrote: > On Fri, 3 May 2024 14:48:56 +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 v14 20/20] tests: Add tpm2_test

2024-05-06 Thread Glenn Washburn
On Fri, 3 May 2024 14:48:56 +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 v14 20/20] tests: Add tpm2_test

2024-05-02 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