1tss2_nvread(1) General Commands Manual tss2_nvread(1)
2
3
4
6 tss2_nvread(1) -
7
9 tss2_nvread [OPTIONS]
10
12 tss2_nvread(1) - This command reads the entire data from an NV index of
13 the TPM.
14
16 These are the availabe options:
17
18 · -f, --force:
19
20 Force overwriting the output file.
21
22 · -o, --data FILENAME or - (for stdout):
23
24 Returns the value read from the NV space.
25
26 · -p, --nvPath STRING:
27
28 Identifies the NV space to read.
29
30 · -l, --logData FILENAME or - (for stdout):
31
32 Returns the JSON encoded log, if the NV index is of type “extend” and
33 an empty string otherwise. Optional parameter.
34
36 This collection of options are common to all tss2 programs and provide
37 information that many users may expect.
38
39 · -h, --help [man|no-man]: Display the tools manpage. By default, it
40 attempts to invoke the manpager for the tool, however, on failure
41 will output a short tool summary. This is the same behavior if the
42 “man” option argument is specified, however if explicit “man” is re‐
43 quested, the tool will provide errors from man on stderr. If the
44 “no-man” option if specified, or the manpager fails, the short op‐
45 tions will be output to stdout.
46
47 To successfully use the manpages feature requires the manpages to be
48 installed or on MANPATH, See man(1) for more details.
49
50 · -v, --version: Display version information for this tool, supported
51 tctis and exit.
52
54 tss2_nvread --nvPath /nv/Owner/myNV --data data.file
55
57 0 on success or 1 on failure.
58
60 Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
61
63 See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
64
65
66
67tpm2-tools APRIL 2019 tss2_nvread(1)