Questions tagged [tpm-2.0]

5 questions
1
vote
1 answer

Get a persistant string in and out of the TPM2 module

I'm trying to save a small amount of data in the TPM2 over power cycles. So that this small string will only be tied to one specific machine. Here is what I have working. # put data in file that is to be sealed echo "my sealed data" > seal.dat #…
user846566
  • 373
  • 1
  • 3
  • 12
0
votes
0 answers

what is the unixio socket for swtpm

I followed the information about qemu with tpm simulation from the arch wiki https://wiki.archlinux.org/title/QEMU#Trusted_Platform_Module_emulation I also checked the previous section. If I now try to create the module I got the following…
MaKaNu
  • 762
  • 8
  • 25
0
votes
0 answers

Windows TPM 2.0 storage root key (SRK) public key location and size

What is the correct way to read the SRK public key in Windows. In Linux it was simple to use tpm2_readpublic -c 0x81010001 I see a standard RSA 2048 public key. I didn't find any easy way to read it in Windows. I searched in the registry and…
0
votes
0 answers

extending PCRs in TPM with pcr_extend of pytss

I am trying to extend PCRs on my Raspberry Pi with external TPM installed and using guidance from here. The code is following: def decode_objects(selection_obj.pcrSelections): for index, pcr_sel in enumerate(selection_obj.pcrselections): …
Tabz
  • 137
  • 1
  • 11
0
votes
0 answers

Generate and store Symmetric AES keys in TPM2

I would like to generate 100s if not 1000s of AES-256 keys and store it in TPM or atleast maintained by TPM so that I can retreive the keys whenever I need and these keys should persist reboots. tpm2_startup -c tpm2_createprimary -C o -G…
Harsha
  • 323
  • 1
  • 17