Re: [PATCH v1.2 3/4] keys: add new trusted key-type

From: David Safford
Date: Mon Nov 08 2010 - 13:20:32 EST


On Mon, 2010-11-08 at 10:09 -0700, Jason Gunthorpe wrote:
> On Mon, Nov 08, 2010 at 10:30:45AM -0500, Mimi Zohar wrote:
>
> > pcrlock=n extends the designated PCR 'n' with a random value,
> > so that a key sealed to that PCR may not be unsealed
> > again until after a reboot.
>
> Nice, but this seems very strange to me, since it has nothing to do
> with the key and could be done easially in userspace?
>
> Jason

This is strictly for convenience in initramfs, so that the trusted
key can be loaded and locked in a single command, with no need for
an additional application to extend a PCR. As the the TPM driver
already has support for extend, it's a trivial addition.

dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/