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

NAME

6       tss2_nvwrite(1) -
7

SYNOPSIS

9       tss2_nvwrite [OPTIONS]
10

DESCRIPTION

12       tss2_nvwrite(1) - This command writes data to a “regular” (not pin, ex‐
13       tend or counter) NV index.  Only the full index can be written, partial
14       writes  are  not  allowed.  If the provided data is smaller than the NV
15       index’s size, then it is padded up with zero bytes at the end.
16

OPTIONS

18       These are the available options:
19
20       · -i, --data FILENAME or - (for stdin):
21
22         The data to write to the NV space.
23
24       · -p, --nvPath STRING:
25
26         Identifies the NV space to write to.
27

COMMON OPTIONS

29       This collection of options are common to all tss2 programs and  provide
30       information that many users may expect.
31
32       · -h,  --help  [man|no-man]: Display the tools manpage.  By default, it
33         attempts to invoke the manpager for the  tool,  however,  on  failure
34         will  output  a short tool summary.  This is the same behavior if the
35         “man” option argument is specified, however if explicit “man” is  re‐
36         quested,  the  tool  will  provide errors from man on stderr.  If the
37         “no-man” option if specified, or the manpager fails,  the  short  op‐
38         tions will be output to stdout.
39
40         To  successfully use the manpages feature requires the manpages to be
41         installed or on MANPATH, See man(1) for more details.
42
43       · -v, --version: Display version information for this  tool,  supported
44         tctis and exit.
45

EXAMPLE

47              tss2_nvwrite --nvPath /nv/Owner/myNV --data data.file
48

RETURNS

50       0 on success or 1 on failure.
51

BUGS

53       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
54

HELP

56       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
57
58
59
60tpm2-tools                        APRIL 2019                   tss2_nvwrite(1)
Impressum