Andre Arantes
Andre Arantes

Reputation: 1

How can I persist tpm keys on disk using .NET and Tpm2Lib?

Instead use the tpm limited non-volatile memory, I want to persist a generated tpm key on my hard disk. What is the best way to this?

I'm using the Tpm2Lib to .NET from Microsoft, and I'm implementing that solution at linux OS.

Upvotes: 0

Views: 330

Answers (1)

watts
watts

Reputation: 127

You wouldn't persist them on disk but recreate them on demand with exactly the same key template. If you call TPM2_CreatePrimary with the same key template (and the same internal seed) you would recreate exactly the same key.

Upvotes: 0

Related Questions