Skip to contentSkip to conversation

Question: is there a way to test if a key handle (generated by tpm2tss-genkey) belongs to this TPM?

tpm2 daniel.wang at intusurg.com 1 participant 3 messages Jun 2, 2020 – Jun 3, 2020

lore
Share & tools
lore

daniel.wang at intusurg.com

#0 lore raw

I created a key handle using tpm2tss-genkey, is there a way (e.g. a command) to test if a key handle (generated by tpm2tss-genkey) belongs to a certain TPM? Thanks!

#2 lore raw
Quoted 11 lines

-----Original Message-----
From: nicolasoliver03(a)gmail.com <nicolasoliver03(a)gmail.com>
Sent: Tuesday, June 2, 2020 5:10 PM
To: tpm2(a)lists.01.org
Subject: [tpm2] Re: Question: is there a way to test if a key handle (generated by tpm2tss-genkey) belongs to this TPM?

Did you looked at tpm2_certify and tpm2_certifycreation?

Quoted 7 lines

https://github.com/tpm2-software/tpm2-
tools/blob/master/man/tpm2_certify.1.md
https://github.com/tpm2-software/tpm2-
tools/blob/master/man/tpm2_certifycreation.1.md

I believe that you should be able to use tpm2tss generated keys in PEM format in the as if it were a context or handle in the command invocation.

Not in tpm2-tools. I don't think anything but the tss engine will read those pem files. We need to get support into the tools for interoperability.

Quoted 4 lines

_______________________________________________
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