1tss2_pcrextend(1) General Commands Manual tss2_pcrextend(1)
2
3
4
6 tss2_pcrextend(1) -
7
9 tss2_pcrextend [OPTIONS]
10
12 tss2_pcrextend(1) - This command extends the data into the PCR listed.
13 The parameter logData is extended into the PCR log. If the logData is
14 NULL, only the PCR extend takes place. All PCRs currently active in
15 the TPM are extended.
16
18 These are the available options:
19
20 · -x, --pcr INTEGER:
21
22 The PCR to extend.
23
24 · -i, --data FILENAME or - (for stdin):
25
26 The event data to be extended.
27
28 · -l, --logData FILENAME or - (for stdin):
29
30 Contains a JSON representation of data to be written to the PCR’s
31 event log. Optional parameter.
32
34 This collection of options are common to all tss2 programs and provide
35 information that many users may expect.
36
37 · -h, --help [man|no-man]: Display the tools manpage. By default, it
38 attempts to invoke the manpager for the tool, however, on failure
39 will output a short tool summary. This is the same behavior if the
40 “man” option argument is specified, however if explicit “man” is re‐
41 quested, the tool will provide errors from man on stderr. If the
42 “no-man” option if specified, or the manpager fails, the short op‐
43 tions will be output to stdout.
44
45 To successfully use the manpages feature requires the manpages to be
46 installed or on MANPATH, See man(1) for more details.
47
48 · -v, --version: Display version information for this tool, supported
49 tctis and exit.
50
52 tss2_pcrextend --pcr 16 --data data.file --logData logData.file
53
55 0 on success or 1 on failure.
56
58 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
59
61 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
62
63
64
65tpm2-tools APRIL 2019 tss2_pcrextend(1)