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, ordebugπ
π₯ 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 -oor-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 first20bytes 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 random20bytes 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 πΈβ¨
π¦ where this page comes from
- debian bookworm: tpm-tools 1.3.9.2-0.1 Β· CPL
- debian trixie: tpm-tools 1.3.9.2-0.2 Β· CPL
- epel 10: tpm-tools 1.3.9-19.el10_0 Β· CPL-1.0
- epel 9: tpm-tools 1.3.9-13.el9 Β· CPL
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- nixos 26.05: tpm-tools 1.3.9.2
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: tpm-tools 1.3.9.2
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- ubuntu jammy: tpm-tools 1.3.9.1-0.2ubuntu4
- ubuntu noble: tpm-tools 1.3.9.2-0.2build2 Β· CPL
- ubuntu questing: tpm-tools 1.3.9.2-0.2build2
- ubuntu resolute: tpm-tools 1.3.9.2-0.2build3 Β· CPL
- ubuntu stonking: tpm-tools 1.3.9.2-0.2build4 Β· CPL
- Copyright (C) 2005 International Business Machines Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms