Infineon lifts the veto on 9678 and I added back the information to our PQC Readiness page in our TPMdev tutorials - https://github.com/tpm2dev/tpm.dev.tutorials/blob/master/PQC/pqc-ready-tpm.md
#TPMDEV2026 Registration is now open. Online seats are limited (not a joke, streaming capacity). Secure your spot by registering today - https://events.zoom.us/ev/At5hYcw-lZoyOdB5W0MEy8olBvqgyR47DA3r7yptfWG5xHDZ2Y3V~AtG0Iepwg5qMqLJOT7QHCwcl7aai2M3qEMQYdmAof_9bJbjErQlhygjd5A
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
Yes, I think that would also work, and it would require one fewer loaded entity, so that might be necessary, but I think the PolicySecret thing will probably work. First I may want to write a simple language for β¦more
I guess I wasn't clear. I said specifically it doesn't prevent that. But it does require that whoever does the duplication has to have access to the first TPM. Since they have access to the first TPM, presumably β¦more
You have to really specify what you want, not how you want to do it. You have a well controlled TPM, and want to make sure that only someone who controls it can duplicate a key on it. So make a tpmfixed key on that TPM, and requires its β¦more
Comments
Start the Conversation
Do you want to duplicate a key from first-tpm to second-tpm, but stop it from being duplicated from second-tpm to yet another TPM?
Yes, I think that would also work, and it would require one fewer loaded entity, so that might be necessary, but I think the PolicySecret thing will probably work. First I may want to write a simple language for β¦more
To help me construct complex policies, I wrote a bit of code to implement a simple language for writing policies in: https://github.com/osresearch/safeboot/pull/134
It is possible to create a policy that will only allow duplicating a key to specific TPMs. PolicyDuplicationSelect, as I recall...
I guess I wasn't clear. I said specifically it doesn't prevent that. But it does require that whoever does the duplication has to have access to the first TPM. Since they have access to the first TPM, presumably β¦more
You have to really specify what you want, not how you want to do it. You have a well controlled TPM, and want to make sure that only someone who controls it can duplicate a key on it. So make a tpmfixed key on that TPM, and requires its β¦more
FWIW, I believe I got it working. I wasted some time from over-flushing of loaded sessions, which is a bad habit I've picked up.
The policy I ended up using is a conjunction β¦more
So in practice I had to create a primary for this. Here's a github gist demonstrating this: https://gist.github.com/nicowilliams/d7ff7e7351358a0fc207d1ccd6ef112c