All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roberts, William C <william.c.roberts at intel.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: Is there a way to get the name for an NV index in tpm2_tools?
Date: Mon, 25 Nov 2019 23:52:56 +0000	[thread overview]
Message-ID: <476DC76E7D1DF2438D32BFADF679FC5649E47F5A@ORSMSX101.amr.corp.intel.com> (raw)
In-Reply-To: 476DC76E7D1DF2438D32BFADF679FC5649E47F20@ORSMSX101.amr.corp.intel.com

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

This patch should do what you want:

https://github.com/williamcroberts/tpm2.0-tools/commit/d69fcfb0c05141fac1668f4b2a9665041ab13e73

Ill get this cleaned up and merged to tools

> -----Original Message-----
> From: Roberts, William C [mailto:william.c.roberts(a)intel.com]
> Sent: Monday, November 25, 2019 5:02 PM
> To: Steven Clark <davolfman(a)gmail.com>
> Cc: tpm2(a)lists.01.org
> Subject: [tpm2] Re: Is there a way to get the name for an NV index in
> tpm2_tools?
> 
> 
> 
> > -----Original Message-----
> > From: Steven Clark [mailto:davolfman(a)gmail.com]
> > Sent: Monday, November 25, 2019 10:56 AM
> > To: Roberts, William C <william.c.roberts(a)intel.com>
> > Cc: tpm2(a)lists.01.org
> > Subject: Re: [tpm2] Is there a way to get the name for an NV index in
> > tpm2_tools?
> >
> > 4.0.0 and 4.1.0rc1 when I've chosen to install it for testing.  So no
> > -c option in
> 
> That went away in 4.0 and is now just an argument to tpm2_getcap. So just
> remove -c and it should work.
> 
> > getcap anymore.  Besides, I'm looking for the name of an NV index not
> > a key or sealed "keyed hash", so there's no context blob.
> 
> Ahh ok, nv index. Currently not output, but that’s an easy fix.
> 
> _______________________________________________
> tpm2 mailing list -- tpm2(a)lists.01.org
> To unsubscribe send an email to tpm2-leave(a)lists.01.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

             reply	other threads:[~2019-11-25 23:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-25 23:52 Roberts, William C [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-27 23:27 [tpm2] Re: Is there a way to get the name for an NV index in tpm2_tools? Steven Clark
2019-11-25 23:02 Roberts, William C
2019-11-25 16:56 Steven Clark
2019-11-25 16:47 Roberts, William C
2019-11-22 22:03 Steven Clark
2019-11-21 21:57 Roberts, William C

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=476DC76E7D1DF2438D32BFADF679FC5649E47F5A@ORSMSX101.amr.corp.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.