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