1tss2_pcrread(1)             General Commands Manual            tss2_pcrread(1)
2
3
4

NAME

6       tss2_pcrread(1) -
7

SYNOPSIS

9       tss2_pcrread [OPTIONS]
10

SEE ALSO

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

DESCRIPTION

21       tss2_pcrread(1)  - This command provides a PCRs value and corresponding
22       event log.  The PCR bank to be used per PCR is defined in  the  crypto‐
23       graphic profile (cf., fapi-profile(5)).
24

OPTIONS

26       These are the available options:
27
28-o, --pcrValue=FILENAME or - (for stdout):
29
30         Returns PCR digest.  Optional parameter.
31
32-x, --pcrIndex=INTEGER:
33
34         Identifies the PCR to read.
35
36-f, --force:
37
38         Force overwriting the output files.
39
40-l, --pcrLog=FILENAME or - (for stdout):
41
42         Returns the PCR log for that PCR.  Optional parameter.
43
44         PCR  event  logs  are a list (arbitrary length JSON array) of log en‐
45         tries with the following content.
46
47                - recnum: Unique record number
48                - pcr: PCR index
49                - digest: The digests
50                - type: The type of event. At the moment the only possible value is: "LINUX_IMA" (legacy IMA)
51                - eventDigest: Digest of the event; e.g. the digest of the measured file
52                - eventName: Name of the event; e.g. the name of the measured file.
53

COMMON OPTIONS

55       This collection of options are common to all tss2 programs and  provide
56       information that many users may expect.
57
58-h,  --help  [man|no-man]: Display the tools manpage.  By default, it
59         attempts to invoke the manpager for the  tool,  however,  on  failure
60         will  output  a short tool summary.  This is the same behavior if the
61         "man" option argument is specified, however if explicit "man" is  re‐
62         quested,  the  tool  will  provide errors from man on stderr.  If the
63         "no-man" option if specified, or the manpager fails,  the  short  op‐
64         tions will be output to stdout.
65
66         To  successfully use the manpages feature requires the manpages to be
67         installed or on MANPATH, See man(1) for more details.
68
69-v, --version: Display version information for this  tool,  supported
70         tctis and exit.
71

EXAMPLE

73              tss2_pcrread --pcrIndex=16 --pcrValue=pcrValue.file --pcrLog=pcrLog.file
74

RETURNS

76       0 on success or 1 on failure.
77

BUGS

79       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
80

HELP

82       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
83
84
85
86tpm2-tools                        APRIL 2019                   tss2_pcrread(1)
Impressum