tpm2-software / tpm2-tss-engine

OpenSSL Engine for TPM2 devices
https://tpm2-software.github.io
BSD 3-Clause "New" or "Revised" License
151 stars 100 forks source link

tpm2tss-genkey: TPM key import #202

Closed williamcroberts closed 3 years ago

williamcroberts commented 3 years ago

Introduce a possibility to import keys created e.g. with tpm2_create. Consumes the public (-u) and private (-r) portion of the TPM key and produces the 'TSS2 PRIVATE KEY' file.

Signed-off-by: Petr Gotthard petr.gotthard@centrum.cz Co-authored-by: Andreas Fuchs andreas.fuchs@sit.fraunhofer.de Co-authored-by: Takahide Higuchi takahidehiguchi@gmail.com