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: usetpm_changeownerauthto set the secret to the well known one, generate the key, and then usetpm_changeownerauthagain 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 ππ§
π¦ where this page comes from
- debian bookworm: tpm-quote-tools 1.0.4-1+b2 Β· BSD-3-Clause
- debian trixie: tpm-quote-tools 1.0.4-1+b3 Β· BSD-3-Clause
- nixos 26.05: tpm-quote-tools 1.0.4
- nixpkgs unstable: tpm-quote-tools 1.0.4
- ubuntu jammy: tpm-quote-tools 1.0.4-1build2 Β· BSD-3-Clause
- ubuntu noble: tpm-quote-tools 1.0.4-1build4 Β· BSD-3-Clause
- ubuntu questing: tpm-quote-tools 1.0.4-1build4
- ubuntu resolute: tpm-quote-tools 1.0.4-1build5 Β· BSD-3-Clause
- ubuntu stonking: tpm-quote-tools 1.0.4-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms