tpm_createek(8)

🌸 tpm_createek β€” from the tpm_createek(8) page, System Manager's Manual energy ✨

okay bestie, sit down, we're doing TPM stuff and honestly? it's giving "one-time setup ritual" and I'm obsessed 🫢


πŸ’– NAME

tpm_createek β€” make an Endorsement Key Pair on the TPM. yes, the whole point. main character behavior only πŸ’…


πŸ¦‹ SYNOPSIS

tpm_createek [OPTION]

✨ DESCRIPTION

So here's the tea: tpm_createek creates an Endorsement Key Pair on the TPM β€” and it does it through the TPM_CreateEndorsementKeyPair API, no cap. πŸŽ€

Lowkey you should almost never need this, because the Endorsement Key is normally already installed as part of manufacturing. Like, it comes pre-loaded, the factory did that, periodt. But β€” and this is the important bit β€” you might need to run this command once if commands like tpm_getpubek are returning error code 35 from the TPM layer. so if you're seeing 35, this is your girl πŸ’œ

Here's your general option lineup:

  • -h, --help β€” show me the usage info, bestie, tell me what I'm doing πŸ™ˆ
  • -v, --version β€” display the command version info ⭐
  • -l, --log [none|error|info|debug] β€” set the logging level. pick your vibe: none, error, info, or debug 🌈

πŸ”₯ OPTIONS VALID ONLY FOR TPM VERSION 1.2

heads up bestie, everything in this section is specifically for TPM version 1.2. not 2.0. we're being vintage here πŸ‘‘

  • -r, --revocable β€” creates a revocable key pair instead of a non-revocable one. ⚠️ requires secret data, so you need either -g -o or -i β€” see below, don't skip that part fr fr
  • -i, --infile [input file] β€” names the file holding the secret data that gets used as revoke data for the new revocable EK pair. careful though: only the first 20 bytes of this file are used and the remaining ones are ignored πŸ’€ like the rest of the file is just... there
  • -g, --generate-secret β€” generates a random 20 bytes value that becomes the EK pair's revocable secret data. requires -o (see below) 🧚
  • -o, --outfile [output file] β€” names the file where the generated revocable secret data gets written, so you can actually use it later πŸ’Ύ

πŸ‘‘ SEE ALSO

tpm_version(1), tpm_getpubek(8), tcsd(8) β€” go read these too, they're iconic πŸ¦‹


πŸ› REPORTING BUGS

found a bug? report it to <trousers-users@lists.sourceforge.net> β€” they want to hear from you, fr fr 🫢


and that's the whole page, bestie!! TPM Management, 2005-05-05 β€” yeah this page is old enough to have its own driver's license but it still ate πŸ’… go create that Endorsement Key Pair, you got this 🌸✨