tpm2_eventlog(1)
β¨ NAME β¨
tpm2_eventlog(1) β Display tpm2 event log.
Okay so this is the tpm2_eventlog(1) page from the General Commands Manual, and it's literally here to help you parse a binary TPM2 event log. We're gonna walk through it together, bestie π.
π SYNOPSIS π
tpm2_eventlog [ARGUMENT]
yes, that's the whole vibe: pass it an ARGUMENT when you use it. π¦
πΈ DESCRIPTION πΈ
tpm2_eventlog(1) parses a binary TPM2 event log. The event log may be passed to the tool as the final positional parameter. If this parameter is omitted, the tool will return an error β no silent guessing, bestie π. The format of this log is documented in the βTCG PC Client Platform Firmware Profile Specificationβ. That's the official lore π¦.
π OPTIONS π
--eventlog-version=NATURAL_NUMBERβ specifies theyamlversion of the parsed event log. Currently versions1and2are supported. The default is1. β¨ARGUMENTβ the command line argument is the path to a binary TPM2 eventlog. That's your file, bestie π«Ά.
π References
No extra reference entries are listed here in the original. It's literally just the heading hanging out, so no extra refs to add.
π«Ά COMMON OPTIONS π«Ά
This collection of options is common to many programs and gives you information that many users may expect. Group-chat fave behavior, honestly. π
-h,--help=[man|no-man]β displays the tool's manpage. By default, it attempts to invoke the manpager for the tool, however, on failure it will output a short tool summary. This is the same behavior if themanoption argument is specified, however if explicitmanis requested, the tool will provide errors from man on stderr. If theno-manoption is specified, or the manpager fails, the short options will be output to stdout. To successfully use the manpages feature requires the manpages to be installed or onMANPATH; seeman(1)for more details. π-v,--versionβ displays version information for this tool and supported tctis, then exits. π-V,--verboseβ increases the information that the tool prints to the console during its execution. When using this option, the file and line number are printed. π₯-Q,--quietβ silences normal tool output to stdout. π€«-Z,--enable-errataβ enables the application of errata fixups. Useful if an errata fixup needs to be applied to commands sent to the TPM. Defining the environment variableTPM2TOOLS_ENABLE_ERRATAis equivalent. β-z,--pwd-sessionβ uses a password session instead of a HMAC session for authentication. A clear text password is passed to the TPM to authorize the action. This option can be used to avoid problems when unsalted sessions are used in OpenSSL FIPS mode. If auth values are used, a salted session should be used for authentication. π-R,--autoflushβ enables autoflush for transient objects created by the command. If a parent object is loaded from a context file, also the transient parent object will be flushed. Autoflush can also be activated if the environment variableTPM2TOOLS_AUTOFLUSHis set toyesortrue. And the original page literally tacks oninformation many users may expect.at the end of this bullet, so I'm keeping that little loose thread too, bestie ππ«Ά.
π EXAMPLES π
Here's the example, exactly as the page gives it, no cap:
# display eventlog from provided file
tpm2_eventlog eventlog.bin
π₯ Returns π₯
Tools can return any of the following codes:
0β Success. β1β General non-specific error. π2β Options handling error. π3β Authentication error. π4β TCTI related error. π5β Non supported scheme. Applicable totpm2_testparams. π
π BUGS π
Github Issues β that's what the page says, bestie. No extra bug lore listed here. π«Ά
π§ HELP π§
See the Mailing List. That's the whole help section, iykyk π.
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
k bye bestie π β source/version: tpm2-tools; page: tpm2_eventlog(1); date: not listed in the original footer. π
π¦ where this page comes from
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms