LOAD_TPM2_KEY(1)
π LOAD_TPM2_KEY(1) π
okay so bestie, welcome to the load_tpm2_key page β it's a User Commands girlie and she's here to make your TPM life cute and permanent β¨
π NAME π
load_tpm2_key β load a tpm2 key at a permanent index π«Ά
πΈ SYNOPSIS πΈ
load_tpm2_key [options] <filename> <nvindex>
π¦ DESCRIPTION π¦
So like, this is the tool you use to load up keys that were made by create_tpm2_key(1) into a permanent NV index. Yes, permanent β she's not a guest, she's moving in π
Why would you even do that? Two whole reasons, and honestly both slay:
- you want an unrestricted key that's always accessible to the TPM without needing a key file lying around, or
- you want a new restricted decryption key parent, so other keys can be created as its children. main character energy, honestly π
β¨ OPTIONS β¨
-b,--auth-parent <pwd>β specify the parent key password. the default isEmptyAuth(yes, no password, she's lowkey unlocked π)-f,--forceβ force loading of a key with policy. literally forcing it, no cap π-h,--helpβ print this help message. the classic, the icon, the one everyone runs first π
π EXAMPLES π
Example one: create a TPM internal key and load it at index 81000101
create_tpm2_key -p 81000001 tmp.key
load_tpm2_key tmp.key 81000101
Example two: create a wrapped restricted decryption key at 81000101 and use it as the parent of a new key πΈ
openssl genrsa 2048 > key.priv
create_tpm2_key --restricted -w key.priv key.tpm
load_tpm2_key key.tpm 81000101
create_tpm2_key -p 81000101 newkey.tpm
π AUTHOR π
Written by James Bottomley <James.Bottomley@HansenPartnership.com> β we stan π«Ά
π REPORTING BUGS π
Report bugs to <openssl-tpm2-engine@groups.io>. not me asking you to be nice about it, but likeβ¦ be nice about it π₯Ί
π COPYRIGHT π
Copyright 2019 by James Bottomley License LGPL-2.1-only
fr fr, if something's broken, tell the mailing list before you tell me π
okay that's the whole page bestie, go load some keys, mwah π§π
β load_tpm2_key version 4.3.0, dated August 2024, signing off βπ
π¦ where this page comes from
- opensuse-leap 16.0: openssl_tpm2_engine 4.3.0-bp160.1.8 Β· LGPL-2.1-only
- opensuse-leap 16.0: openssl_tpm2_engine 4.3.0-bp160.1.8 Β· LGPL-2.1-only
- opensuse-leap 16.0: openssl_tpm2_engine 4.3.0-bp160.1.8 Β· LGPL-2.1-only
- opensuse-leap 16.0: openssl_tpm2_engine 4.3.0-bp160.1.8 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms