On Tue, Oct 29, 2019 at 11:15:35AM +0200, Jarkko Sakkinen wrote: > On Mon, Oct 28, 2019 at 04:45:13PM -0400, Mimi Zohar wrote: > > On Mon, 2019-10-28 at 22:30 +0200, Jarkko Sakkinen wrote: > > > On Thu, Oct 24, 2019 at 03:14:27PM -0400, Mimi Zohar wrote: > > > > Create, save and load trusted keys test > > > > > > > > Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> > > > > > > > > Change log v1: > > > > - Replace the directions for using Trousers to take ownership of the TPM > > > > with directions for using the IBM TSS. > > > > - Differentiate between different types of errors. Recent bug is causing > > > > "add_key: Timer expired". > > > > --- > > > > > > Is not really usable as a selftest because of 3rd party dependencies. > > > > As part of diagnosing trusted keys failure, there is some > > hints/directions as to how to take TPM 1.2 ownership, but it does not > > take ownership. The previous version included directions for using > > Trousers. This version provides directions for using the IBM TSS. > > Feel free to include additional hints/directions. > > You must write your own minimal user space that can be included > to the kernel. Otherwise, we cannot take it. I'll anyway try to setup user space with TrouSerS so that I can try it out. BuildRoot has recipe for that but not for IBM TSS 2.0 so I'll skip that and use my own test script for TPM2 trusted keys. /Jarkko