On Wed, Nov 18, 2026 at 11:06:55AM -0500, James Bottomley wrote:
> The better mechanisms to address this are probably:
> 
>    1. Detect that PCR5 has been disrupted (get the kernel to store the
>       on-boot value and check they match) and if so refuse signed
>       suspend to disk with a message (this is easy).
>    2. Capture the additional writes to PCR5 and store them as part of
>       the attestation so the resuming system can prove the current boot
>       value of PCR5 matches the attested one when the additional
>       extends are replayed (this is a bit more complex).

(2) is a great suggestion IMHO; did not cross my mind.

That approach would also help to debug any possible issues.

I think it also might make sense to drift away from kernel config flag
to kernel-command line parameter when it comes to pre-existing integrity
code. It's time consuming to test and improve right now.


> 
> Regards,
> 
> James

Br, Jarkko

Reply via email to