[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1580338276.4790.8.camel@linux.ibm.com>
Date: Wed, 29 Jan 2020 17:51:16 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Petr Vorel <pvorel@...e.cz>
Cc: Jerry Snitselaar <jsnitsel@...hat.com>,
linux-integrity@...r.kernel.org,
James Bottomley <James.Bottomley@...senpartnership.com>,
linux-kernel@...r.kernel.org,
Roberto Sassu <roberto.sassu@...wei.com>
Subject: Re: [PATCH 1/2] ima: use the IMA configured hash algo to calculate
the boot aggregate
On Wed, 2020-01-29 at 09:30 +0100, Petr Vorel wrote:
> Hi Mimi,
>
> Reviewed-by: Petr Vorel <pvorel@...e.cz>
>
> > The original LTP ima_boot_aggregate.c test needed to be updated to
> > support TPM 2.0 before this change. For TPM 2.0, the PCRs are not
> > exported. With this change, the kernel could be reading PCRs from a
> > TPM bank other than SHA1 and calculating the boot_aggregate based on a
> > different hash algorithm as well. I'm not sure how a remote verifier
> > would know which TPM bank was read, when calculating the boot-
> > aggregate.
> Mimi, do you plan to do update LTP test?
In order to test Roberto's patches that calculates and extends the
different TPM banks with the appropriate hashes, we'll need some test
to verify that it is working properly. As to whether this will be in
LTP or ima-evm-utils, I'm not sure.
Mimi
Powered by blists - more mailing lists