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 This tool takes no tool specific options.
20
21 · ARGUMENT The command line argument is the path to a binary TPM2
22 eventlog.
23
24 References
26 This collection of options are common to many programs and provide in‐
27 formation that many users may expect.
28
29 · -h, --help=[man|no-man]: Display the tools manpage. By default, it
30 attempts to invoke the manpager for the tool, however, on failure
31 will output a short tool summary. This is the same behavior if the
32 "man" option argument is specified, however if explicit "man" is re‐
33 quested, the tool will provide errors from man on stderr. If the
34 "no-man" option if specified, or the manpager fails, the short op‐
35 tions will be output to stdout.
36
37 To successfully use the manpages feature requires the manpages to be
38 installed or on MANPATH, See man(1) for more details.
39
40 · -v, --version: Display version information for this tool, supported
41 tctis and exit.
42
43 · -V, --verbose: Increase the information that the tool prints to the
44 console during its execution. When using this option the file and
45 line number are printed.
46
47 · -Q, --quiet: Silence normal tool output to stdout.
48
49 · -Z, --enable-errata: Enable the application of errata fixups. Useful
50 if an errata fixup needs to be applied to commands sent to the TPM.
51 Defining the environment TPM2TOOLS_ENABLE_ERRATA is equivalent. in‐
52 formation many users may expect.
53
55 # display eventlog from provided file
56 tpm2_eventlog eventlog.bin
57
59 Tools can return any of the following codes:
60
61 · 0 - Success.
62
63 · 1 - General non-specific error.
64
65 · 2 - Options handling error.
66
67 · 3 - Authentication error.
68
69 · 4 - TCTI related error.
70
71 · 5 - Non supported scheme. Applicable to tpm2_testparams.
72
74 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
75
77 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
78
79
80
81tpm2-tools tpm2_eventlog(1)