[PATCH] tpm2dtests: add missing start_sw_tpm.sh script

James Bottomley James.Bottomley at HansenPartnership.com
Mon Mar 15 17:26:33 CET 2021

On Mon, 2021-03-15 at 17:12 +0100, Werner Koch via Gnupg-devel wrote:
> On Mon, 15 Mar 2021 07:16, James Bottomley said:
> > This accidentally got left out of the initial commit for testing
> > 6720f1343 ("tpm2d: add tests for the tpm2daemon")
> I just pushed it and added it to the Makefile.
> > + ${SWTPM} socket --tpm2 --server type=tcp,port=2321 --ctrl
> > type=tcp,port=2322 --tpmstate dir=`pwd` &
> That line was broken; I used
>     ${SWTPM} socket --tpm2 --server type=tcp,port=2321 \
>          --ctrl type=tcp,port=2322 --tpmstate dir=`pwd` &

That's fine.  Thanks for fixing this.

> instead.
> Note that this patch is not in the beta I released today.

I'm afraid there are going to be many more teething troubles with the
TPM testing infrastructure.  The distribution I use most frequently
(openSUSE) has both the Intel and the IBM TSS, but the Intel one is too
old to work, which is why I've only production tested the IBM one.

We also have two separate software TPM projects (both from IBM)
produced by Ken Goldman and Stefan Berger.  OpenSUSE only packages the
Ken Goldman one currently, so that's the one I've tested the best. 
However, you can't power on and start the Ken Goldman one without the
IBM TSS tools.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20210315/3ae82d7f/attachment.sig>

More information about the Gnupg-devel mailing list