TPM 2.0 and the Attestation Key So, this is still causing some confusion and after the last call I think it...
TPM 2.0 and the Attestation Key
So, this is still causing some confusion and after the last call I think it might be worth spending a little time clearing this up.
So, (AFAIU), back when TPM 2.0 tools was being written there was an effort to ease the transition to TPM 2.0 by making these somewhat consistent with 1.2 concepts ( William Roberts ) with things such as tpm2_takeownership etc.
One of these was tpm2_createak which created a signing key, according to a given template ( Ken Goldman is this specified in the TCG docs or is it a convention? ) from the EK. This key, known as "The AK" would be used to sign operations such quoting. This key however has a nice property in that it can be traced to the EK (and therefore the TPM itself) through the kay name and qualifiedsigner properties.
tpm2_quote however allows *any* suitable key to be used to sign, which allows effectively any key to be "an AK".
These other keys may not have all the desirable properties for ensuring that things such as quotes are from that given TPM, or do they?
#Tutorialsπ
1β€οΈ
π
π‘
π
π
Explore More Posts
The latest tpm2-tools 5.8 release addresses three GitHub security advisories. One is a heap overflow in tpm2_getekcertificate, and the other is an out-of-bounds write that happens when too many sessions are in use. I donβt have information on the third advisory. Beyond the fixes, 5.8 extends EK certificate handling. It adds the option to read EK certificates from NV RAM, introduces new EK templates and supports a marshaled quote format. https://github.com/tpm2-software/tpm2-tools/releases/tag/5.8
Sneak-peak at our #TPMDEV2026 Conference. One slide from each main talk. Expect the recordings soon as we are migrating to Youtube. The news from today is that we are resuming our monthly calls and we will have in-person #TPMDEV2027! Check TPM.dev for more info.
Earlier today we released tpm2-tss 4.2.2 and 4.1.6 with additional security fixes and compatibility improvements. https://github.com/tpm2-software/tpm2-tss/releases This is the third patch release for 4.1.x this year. I am happy we are picking up speed for faster security patches while sharing knowledge on the tpm2-tss release process among the maintainers.




Comments
Start the Conversation
This is the big question. Should we move away from AK that follow the TCG guidliness or not, since TPM2_Quote can work with any key. Nice article Ian Oliver ! I only changed the category from tools to tutorials. By the way Kevin G. Zhang Chris H β¦more
Kevin G. Zhang this is curious, however how many people have Bitcoin? I would go for a use case that is more common among people and/or developers.
tpm2_createek is the one covered by the provision spec. tpm2_createak is not, and just a child key to the EK with certain properties. When Imran Desai returns from leave, he would be an excellent candidate to go into details on these two β¦more
William Roberts that would be excellent. The properties of a/an/the are shrouded in mystery :-)
my email is [email protected] I do not mind to share in our forum since I am not a celebrity.
Hehe, it is more about your privacy, rather than being a celebrity. I also like to give people an easy way to reach me , my email is [email protected] I will check the Zoom recordings soon to find your video and send you a link over email
Kevin G. Zhang zoom cloud storage is limited at 1GB, so I have to download and manually store the raw videos. I will send you an email sometime next week.