All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2 at infradead.org>
To: tpm2@lists.01.org
Subject: [tpm2] Conflicting TPM2 engines and storage formats
Date: Mon, 01 Oct 2018 21:10:06 +0100	[thread overview]
Message-ID: <6c6befe2ac9f9966b6a2ffb84b2fd0ae1c229b1a.camel@infradead.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

I'd like to add TPMv2 support to the OpenConnect VPN client. It's had
TPMv1.2 support since 2008, and I'm a bit late to the party with TPMv2.

For the OpenSSL build, it was trivial to support James's engine at
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/

That was as simple as this:
http://git.infradead.org/users/dwmw2/openconnect.git/commitdiff/7edab6c6c

However, I've now discovered there's another, incompatible TPM2 engine
at https://github.com/tpm2-software/tpm2-tss-engine

Not only does the engine name seem to be different, but the label of
the PEM file ('BEGIN TSS2 KEY BLOB') is different. And possibly the
ASN.1 therein? Neither seem to have a definition outside the source
code, as far as I can tell.

I was actually looking for some code I could re-use to implement the
support in the GnuTLS build, much as I did the TPMv1.2 version¹ some
time ago. I'd settle for getting some consensus on what a wrapped key
actually looks like on the disk first, though....

-- 
dwmw2


¹ http://git.infradead.org/users/dwmw2/openconnect.git/blob/HEAD:/gnutls_tpm.c


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 5213 bytes --]

             reply	other threads:[~2018-10-01 20:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-01 20:10 David Woodhouse [this message]
2018-10-02 16:20 [tpm2] Conflicting TPM2 engines and storage formats Fuchs, Andreas
2018-10-02 16:38 David Woodhouse
2018-10-02 17:18 Fuchs, Andreas
2018-10-02 17:21 Fuchs, Andreas
2018-10-02 18:58 David Woodhouse
2018-10-03 10:35 David Woodhouse
2018-10-03 10:47 David Woodhouse
2018-10-03 11:06 David Woodhouse
2018-10-03 20:47 David Woodhouse
2018-10-04 10:58 Roberts, William C
2018-10-04 16:04 Fuchs, Andreas
2018-10-04 16:17 David Woodhouse
2018-10-05  9:44 Fuchs, Andreas
2018-10-05 10:19 Fuchs, Andreas
2018-10-05 10:27 David Woodhouse
2018-10-05 11:59 David Woodhouse
2018-10-05 14:36 Fuchs, Andreas
2018-10-05 14:59 David Woodhouse
2018-10-05 15:22 Fuchs, Andreas
2018-10-05 15:24 Fuchs, Andreas
2018-10-05 15:31 David Woodhouse
2018-10-05 15:34 Fuchs, Andreas
2018-10-05 15:46 David Woodhouse
2018-10-08 10:15 David Woodhouse
2018-10-11 15:41 Fuchs, Andreas
2018-10-11 17:34 David Woodhouse
2018-10-11 18:07 David Woodhouse
2018-10-11 18:31 David Woodhouse
2018-10-11 18:40 David Woodhouse
2018-10-11 18:48 David Woodhouse
2018-10-11 20:15 David Woodhouse
2018-10-11 22:25 David Woodhouse
2018-10-12  5:55 David Woodhouse
2018-10-12  6:08 David Woodhouse
2018-10-12  9:16 Fuchs, Andreas
2018-10-12 15:19 David Woodhouse
2018-10-12 15:54 Fuchs, Andreas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c6befe2ac9f9966b6a2ffb84b2fd0ae1c229b1a.camel@infradead.org \
    --to=tpm2@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.