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

NAME

6       tss2_nvwrite(1) -
7

SYNOPSIS

9       tss2_nvwrite [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_nvwrite(1) - This command writes data to a “regular” (not pin, ex‐
22       tend or counter) NV index.  Only the full index can be written, partial
23       writes  are  not  allowed.  If the provided data is smaller than the NV
24       index’s size, then it is padded up with zero bytes at the end.
25

OPTIONS

27       These are the available options:
28
29-i, --data=FILENAME or - (for stdin):
30
31         The data to write to the NV space.
32
33-p, --nvPath=STRING:
34
35         Identifies the NV space to write to.
36

COMMON OPTIONS

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

EXAMPLE

56              tss2_nvwrite --nvPath=/nv/Owner/myNV --data=data.file
57

RETURNS

59       0 on success or 1 on failure.
60

BUGS

62       Github Issues (https://github.com/tpm2-software/tpm2-tools/issues)
63

HELP

65       See the Mailing List (https://lists.01.org/mailman/listinfo/tpm2)
66
67
68
69tpm2-tools                        APRIL 2019                   tss2_nvwrite(1)
Impressum