Skip to content

warusadura/tpmsecret

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tpmsecret

a simple project to work with a TPM.

encrypting a file using TPM commands involves the following,

tpm2_createprimary -c primary.ctx

tpm2_create -C primary.ctx -G aes256 -u key.pub -r key.priv

tpm2_load -C primary.ctx -u key.pub -r key.priv -c key.ctx

tpm2_encryptdecrypt -c key.ctx -o cipher_text secret_data

tpm2_encryptdecrypt -d -c key.ctx -o plain_text cipher_text

goals:

programmatically (ESAPI) accomplish the same thing.

References: TPM TSS Quickstarter - Infineon Technologies

About

a simple project to work with a TPM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published