1tpm2_eventlog(1) General Commands Manual tpm2_eventlog(1)
2
3
4
6 tpm2_eventlog(1) - Display tpm2 event log.
7
9 tpm2_eventlog [ARGUMENT]
10
12 tpm2_eventlog(1) - Parse a binary TPM2 event log. The event log may be
13 passed to the tool as the final positional parameter. If this parame‐
14 ter is omitted the tool will return an error. The format of this log
15 documented in the “TCG PC Client Platform Firmware Profile Specifica‐
16 tion”.
17
19 • --eventlog-version=NATURAL_NUMBER:
20
21 Specifies the yaml version of parsed event log. Currently version 1
22 and 2 are supported. The default is 1.
23
24 • ARGUMENT The command line argument is the path to a binary TPM2
25 eventlog.
26
27 References
29 This collection of options are common to many programs and provide in‐
30 formation that many users may expect.
31
32 • -h, --help=[man|no-man]: Display the tools manpage. By default, it
33 attempts to invoke the manpager for the tool, however, on failure
34 will output a short tool summary. This is the same behavior if the
35 “man” option argument is specified, however if explicit “man” is re‐
36 quested, the tool will provide errors from man on stderr. If the
37 “no-man” option if specified, or the manpager fails, the short op‐
38 tions will be output to stdout.
39
40 To successfully use the manpages feature requires the manpages to be
41 installed or on MANPATH, See man(1) for more details.
42
43 • -v, --version: Display version information for this tool, supported
44 tctis and exit.
45
46 • -V, --verbose: Increase the information that the tool prints to the
47 console during its execution. When using this option the file and
48 line number are printed.
49
50 • -Q, --quiet: Silence normal tool output to stdout.
51
52 • -Z, --enable-errata: Enable the application of errata fixups. Useful
53 if an errata fixup needs to be applied to commands sent to the TPM.
54 Defining the environment TPM2TOOLS_ENABLE_ERRATA is equivalent. in‐
55 formation many users may expect.
56
58 # display eventlog from provided file
59 tpm2_eventlog eventlog.bin
60
62 Tools can return any of the following codes:
63
64 • 0 - Success.
65
66 • 1 - General non-specific error.
67
68 • 2 - Options handling error.
69
70 • 3 - Authentication error.
71
72 • 4 - TCTI related error.
73
74 • 5 - Non supported scheme. Applicable to tpm2_testparams.
75
77 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
78
80 See the Mailing List (https://lists.linuxfoundation.org/mailman/listin‐
81 fo/tpm2)
82
83
84
85tpm2-tools tpm2_eventlog(1)