
Hey all, new here and kinda new to all of the TPM subject. i have a rather simple scenario that i need to...
Hey all, new here and kinda new to all of the TPM subject.
i have a rather simple scenario that i need to implement:
i have a C# program that communicates over SNMP V3 with some hardware device,
i need to be able to safely store the SNMP credentials (AES keys) on the computer and i was told to do some research about TPM to see if it can help with this issue. so my questions are:
A. does this make sense to 'seal' (or wrap - whats the difference?) the AES key using the TPM and storing the wrapped key on the file system
B. if this makes sense, can anyone point me to an example using the Microsoft.TSS library (or any other .NET library)?
i tried playing around with the examples here https://github.com/microsoft/TSS.MSR/tree/master/TSS.NET/...
but i couldn't make it work and there are a lot of stuff going on that i do not fully understand like policy, PCR selection and so on.
also i would love if someone can point me to some documentation that shows what is needed to simply seal some data using a TPM. all the documentation i found were for much complex use cases.
thanks in advance,
๐
1โค๏ธ
๐
๐ก
๐
๐
Explore More Posts

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


Comments
Start the Conversation