Re: [PATCH v2 5/5] util/grub-protect: Add new tool

2022-03-21 Thread Michael Chang via Grub-devel
On Tue, Feb 01, 2022 at 05:02:57AM -0800, Hernan Gatta wrote: [snip] > +static grub_err_t > +grub_protect_tpm2_get_policy_digest (struct grub_protect_args *args, > + TPM2B_DIGEST *digest) > +{ [snip] > + for (i = 0; i < args->tpm2_pcr_count; i++) > +{ >

[PATCH v2 5/5] util/grub-protect: Add new tool

2022-02-01 Thread Hernan Gatta
To utilize the key protectors framework, there must be a way to protect full-disk encryption keys in the first place. The grub-protect tool includes support for the TPM2 key protector but other protectors that require setup ahead of time can be supported in the future. For the TPM2 key protector,