1tss2_pcrextend(1) General Commands Manual tss2_pcrextend(1)
2
3
4
6 tss2_pcrextend(1) -
7
9 tss2_pcrextend [OPTIONS]
10
12 fapi-config(5) to adjust Fapi parameters like the used cryptographic
13 profile and TCTI or directories for the Fapi metadata storages.
14
15 fapi-profile(5) to determine the cryptographic algorithms and parame‐
16 ters for all keys and operations of a specific TPM interaction like the
17 name hash algorithm, the asymmetric signature algorithm, scheme and pa‐
18 rameters and PCR bank selection.
19
21 tss2_pcrextend(1) - This command extends the data into the PCR listed.
22 The parameter logData is extended into the PCR log. If the logData is
23 NULL, only the PCR extend takes place. All PCRs currently active in
24 the TPM are extended.
25
27 These are the available options:
28
29 • -x, --pcr=INTEGER:
30
31 The PCR to extend.
32
33 • -i, --data=FILENAME or - (for stdin):
34
35 The event data to be extended.
36
37 • -l, --logData=FILENAME or - (for stdin):
38
39 Contains a JSON representation of data to be written to the PCR’s
40 event log. Optional parameter.
41
43 This collection of options are common to all tss2 programs and provide
44 information that many users may expect.
45
46 • -h, --help [man|no-man]: Display the tools manpage. By default, it
47 attempts to invoke the manpager for the tool, however, on failure
48 will output a short tool summary. This is the same behavior if the
49 “man” option argument is specified, however if explicit “man” is re‐
50 quested, the tool will provide errors from man on stderr. If the
51 “no-man” option if specified, or the manpager fails, the short op‐
52 tions will be output to stdout.
53
54 To successfully use the manpages feature requires the manpages to be
55 installed or on MANPATH, See man(1) for more details.
56
57 • -v, --version: Display version information for this tool, supported
58 tctis and exit.
59
61 tss2_pcrextend --pcr=16 --data=data.file --logData=logData.file
62
64 0 on success or 1 on failure.
65
67 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
68
70 See the Mailing List (https://lists.linuxfoundation.org/mailman/listin‐
71 fo/tpm2)
72
73
74
75tpm2-tools APRIL 2019 tss2_pcrextend(1)