[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:35:34 -0500 |
Thanks a lot, I will take a look!
On Thu, May 23, 2024 at 11:07 PM Andrei Borzenkov <arvidjaar@gmail.com>
wrote:
> On 24.05.2024 00:38, David Elie-Dit-Cosaque 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?
> >
>
> https://github.com/okirch/pcr-oracle
>
>