TPM_MKAIK(8)

πŸ’– tpm_mkaik β€” make a TPM Attestation Identity Key πŸ’–

okay bestie, welcome to tpm_mkaik from the MAKE TPM AIK manual (section 8, system administration girlies rise up 🫢). this is the little program that ✨generates✨ you a TPM Attestation Identity Key, and no cap, it's giving main character energy for your whole attestation setup.


🌸 SYNOPSIS 🌸

tpm_mkaik [-zuhv] BLOB-FILE PUBKEY-FILE

two file arguments, four lil flags, that's the whole vibe check πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜•: the program generates a TPM Attestation Identity Key and stores it in the file BLOB-FILE. the public key gets stored in the file PUBKEY-FILE. and the public key? it's DER encoded, periodt. πŸŽ€

  • -z β€” use the well known secret as the owner secret. (iykyk πŸ‘‘)
  • -u β€” use TSS UNICODE encoding for passwords. 🌈
  • -h β€” display command usage info. (help me help you bestie πŸ’–)
  • -v β€” display command version info. ⭐

πŸ’€ BUGS πŸ’€

not me having to tell you this but 😭 β€” sometimes, when tpm_mkaik is invoked without the -z option, no password prompt appears. like, it just... doesn't show up. awkward. πŸ™ˆ

the work around, bestie, is a whole three-step ritual: use tpm_changeownerauth to set the secret to the well known one, generate the key, and then use tpm_changeownerauth again to set the secret to its original value. slay, but make it a detour. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


that's the whole page, bestie β€” this one's from Oct 2010, out of the MAKE TPM AIK(8) manual, and yeah she's an elder but she still ate. πŸ“ go make some keys, you got this fr fr πŸ’œπŸ§š