Re: [PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops

From: David Woodhouse
Date: Tue Sep 18 2018 - 03:01:04 EST




On Sat, 2018-09-08 at 16:26 +0100, David Howells wrote:
> Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
>
> >
> > so I have reviewed and tested this code. In addition, we have test cases for
> > it in ELL (embedded linux library).
>
> I wonder if there's any practical way to add a test for this to the keyutils
> test suite.ÂÂI'm guessing it's quite tricky, given the extra bits you need to
> emulate the TPM.

Right, for a lot of userspace stuff we have the TPM emulator but for
the kernel you might need to run in qemu, which I believe can emulate a
TPM now (or at least, can talk to the TPM emulator, which has the same
effect).

Attachment: smime.p7s
Description: S/MIME cryptographic signature