All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Tricca <philip.b.tricca at intel.com>
To: tpm2@lists.01.org
Subject: Re: [tpm2] Problem with Infineon Iridium SLB 9670 TPM2.0
Date: Wed, 28 Mar 2018 10:40:16 -0700	[thread overview]
Message-ID: <20180328174016.GA25666@intel.com> (raw)
In-Reply-To: CAHUNapQacFucznccuXp5SeKm566wwXCGz91ckvJ-JcupuNqM1A@mail.gmail.com

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

Hey Trevor,

On Wed, Mar 28, 2018 at 11:51:26AM -0400, Trevor Woerner wrote:
> Wow, what a great time to come across this thread!
> 
> I also have been trying to use TPM on a RPi3 and was seeing the exact same
> problems. I, however, was using OE and meta-measured to build my images. It
> turns out that meta-measured/recipes-tpm/tpm2-tools wasn't DEPENDing on
> tpm2-abrmd, so all builds as a result were not enabling the tabrmd TCTI.
> 
> Hence: https://github.com/flihp/meta-measured/pull/68
> 
> By the way, what's the difference between "abrmd" and "tabrmd"?

There isn't one really. The daemon was named 'tpm2-abrmd' instead of
'tabrmd' based on some early user feedback. Having the 'tpm2' in the
name of the daemon made its purpose more clear according to this user.
'tabrmd' is the same name just with the 'tpm2' collapsed into the rest
of the acronym.

I can see where having an additional variation would cause confusion.

> It seems
> rather confusing that the tools list "tabrmd" as a TCTI, but in order to
> use it one specifies "abrmd". Something feels wrong.

Being consistent is important especially w/r/t documentation. Seems like
a worthy bug for the tools issue tracker.

Also thanks for giving meta-measured some love. I've been neglecting it
a bit on account of work on the impending 2.0 release of the core TSS2
libraries. Once we ship the next major release of all components my plan
is to work on upstreaming the recipes to whatever OE layer is
appropriate to get them properly supported.

Philip

> # tpm2_pcrlist -v
> tool="tpm2_pcrlist" version="" tctis="tabrmd,socket,device,"
> 
> # tpm2_pcrlist -T tabrmd
> ERROR: Unknown tcti, got: "tabrmd"
> 
> # tpm2_pcrlist -T abrmd
> sha1 :
>   0  : 0000000000000000000000000000000000000000
>   1  : 0000000000000000000000000000000000000000
> ...

> _______________________________________________
> tpm2 mailing list
> tpm2(a)lists.01.org
> https://lists.01.org/mailman/listinfo/tpm2


             reply	other threads:[~2018-03-28 17:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28 17:40 Philip Tricca [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-28 15:51 [tpm2] Problem with Infineon Iridium SLB 9670 TPM2.0 Trevor Woerner
2018-03-23 20:42 Roberts, William C
2018-03-23 20:11 madprops
2018-03-23 19:58 Roberts, William C
2018-03-20 19:19 Philip Tricca
2018-03-19 20:17 madprops
2018-03-19 15:31 Philip Tricca
2018-03-19 10:49 Javier Martinez Canillas
2018-03-19  5:07 Philip Tricca
2018-03-18 13:04 madprops

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=20180328174016.GA25666@intel.com \
    --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.