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

NAME

6       tpm2_rc_decode(1) - Decode TPM2 error codes to a human readable format.
7

SYNOPSIS

9       tpm2_rc_decode [OPTIONS] [ARGUMENT]
10

DESCRIPTION

12       tpm2_rc_decode(1)  -  Converts an RC_CODE from the TPM or TSS2 software
13       stack into human readable errors.  Analogous to  strerror(3),  but  for
14       the TPM2 stack.
15

OPTIONS

17       This tool takes no tool specific options.
18
19ARGUMENT  the  command  line  argument specifies the error code to be
20         parsed.
21
22   References

COMMON OPTIONS

24       This collection of options are common to many programs and provide  in‐
25       formation that many users may expect.
26
27-h,  --help=[man|no-man]:  Display the tools manpage.  By default, it
28         attempts to invoke the manpager for the  tool,  however,  on  failure
29         will  output  a short tool summary.  This is the same behavior if the
30         “man” option argument is specified, however if explicit “man” is  re‐
31         quested,  the  tool  will  provide errors from man on stderr.  If the
32         “no-man” option if specified, or the manpager fails,  the  short  op‐
33         tions will be output to stdout.
34
35         To  successfully use the manpages feature requires the manpages to be
36         installed or on MANPATH, See man(1) for more details.
37
38-v, --version: Display version information for this  tool,  supported
39         tctis and exit.
40
41-V,  --verbose:  Increase the information that the tool prints to the
42         console during its execution.  When using this option  the  file  and
43         line number are printed.
44
45-Q, --quiet: Silence normal tool output to stdout.
46
47-Z, --enable-errata: Enable the application of errata fixups.  Useful
48         if an errata fixup needs to be applied to commands sent to  the  TPM.
49         Defining  the environment TPM2TOOLS_ENABLE_ERRATA is equivalent.  in‐
50         formation many users may expect.
51

EXAMPLES

53              tpm2_rc_decode 0x1d5
54              tpm:parameter(1):structure is the wrong size
55

Returns

57       Tools can return any of the following codes:
58
59       • 0 - Success.
60
61       • 1 - General non-specific error.
62
63       • 2 - Options handling error.
64
65       • 3 - Authentication error.
66
67       • 4 - TCTI related error.
68
69       • 5 - Non supported scheme.  Applicable to tpm2_testparams.
70

BUGS

72       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
73

HELP

75       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
76
77
78
79tpm2-tools                                                   tpm2_rc_decode(1)
Impressum