TPM2 (Trusted Platform Module) userspace development
 help / color / mirror / Atom feed
From: Hanson Char <hanson.char at gmail.com>
To: tpm2@lists.01.org
Subject: [tpm2] Re: tpm2_getpubek
Date: Mon, 05 Oct 2020 08:57:27 -0700	[thread overview]
Message-ID: <25672C46-FF36-44FD-AB32-F45B3B0AD0C4@gmail.com> (raw)
In-Reply-To: CAO4D2DNvyg-2O8rJwEFHA-_L6yA_eGPV-5VqcuXsD6PQ+4CgvQ@mail.gmail.com

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

I think you are looking for tpm2_getekcertificate.  (http://manpages.ubuntu.com/manpages/focal/man1/tpm2_getekcertificate.1.html <http://manpages.ubuntu.com/manpages/focal/man1/tpm2_getekcertificate.1.html>)
Regards,
Hanson

> On Oct 5, 2020, at 7:43 AM, Graham Bartlett <graham.ietf(a)gmail.com> wrote:
> 
> Hi
> 
> I'm new to TPMs and am trying to follow some of the online examples.
> 
> In many of these the command 'tpm2_getpubek' is shown, however I'm running this on Ubuntu, I built this from source and I have a number of TPM2 commands, but not 'tpm2_getpubek'.
> 
> Would anyone know if I'm missing something? Or if there's a new CLI for 'tpm2_getpubek'.
> 
> The following is the commands I have;
> 
> many thanks
> 
> $ tpm2 --help
> ERROR: --help: unknown tool. Available tpm2 commands:
> certifyX509certutil
> checkquote
> eventlog
> print
> rc_decode
> activatecredential
> certify
> changeauth
> changeeps
> changepps
> clear
> clearcontrol
> clockrateadjust
> create
> createak
> createek
> createpolicy
> setprimarypolicy
> createprimary
> dictionarylockout
> duplicate
> getcap
> gettestresult
> encryptdecrypt
> evictcontrol
> flushcontext
> getekcertificate
> getrandom
> gettime
> hash
> hierarchycontrol
> hmac
> import
> incrementalselftest
> load
> loadexternal
> makecredential
> nvdefine
> nvextend
> nvincrement
> nvreadpublic
> nvread
> nvreadlock
> nvundefine
> nvwrite
> nvwritelock
> nvsetbits
> pcrallocate
> pcrevent
> pcrextend
> pcrread
> pcrreset
> policypcr
> policyauthorize
> policyauthorizenv
> policynv
> policycountertimer
> policyor
> policynamehash
> policytemplate
> policycphash
> policypassword
> policysigned
> policyticket
> policyauthvalue
> policysecret
> policyrestart
> policycommandcode
> policynvwritten
> policyduplicationselect
> policylocality
> quote
> readclock
> readpublic
> rsadecrypt
> rsaencrypt
> send
> selftest
> setclock
> shutdown
> sign
> certifycreation
> nvcertify
> startauthsession
> startup
> stirrandom
> testparms
> unseal
> verifysignature
> setcommandauditstatus
> getcommandauditdigest
> getsessionauditdigest
> geteccparameters
> ecephermal
> commit
> ecdhkeygen
> ecdhzgen
> zgen2phase
> _______________________________________________
> 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


[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 4405 bytes --]

                 reply	other threads:[~2020-10-05 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=25672C46-FF36-44FD-AB32-F45B3B0AD0C4@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox