help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help recalculating TPMv2 PCR8 value without actually booting


From: David Elie-Dit-Cosaque
Subject: Re: Help recalculating TPMv2 PCR8 value without actually booting
Date: Tue, 28 May 2024 14:36:03 -0500

Thanks, I'll check it out!

On Thu, May 23, 2024 at 10:03 PM Randy Goldenberg <
randy.goldenberg@gmail.com> wrote:

> Maybe helpful; I have no idea:
>
> https://dev.to/machinehunter/reading-pcr-value-from-uefi-4a82
>
> On Thu, May 23, 2024 at 3:06 PM David Elie-Dit-Cosaque <
> deliedit@redhat.com> wrote:
>
>> Hi,
>> I am trying to recalculate the value of TPM PCR 8 the way grub does it
>> during boot but I could not figure it out yet.
>> Grub seems to calculate a digest for every line of the grub.conf that is
>> rendered after executing every control structure such as if statement for
>> loops, etc...
>> Is there a way to generate such a rendered command list without actually
>> booting? The tpm2_eventlog lists all these commands as events measured for
>> PCR 8 after the fact.
>>
>> Was there any previous discussion to add a grub command to calculate the
>> value of PCR8 (and others) without actually rebooting?
>>
>> Thanks!
>> David.
>>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]