1tpm_nvwrite(8)                                                  tpm_nvwrite(8)
2
3
4

NAME

6       tpm_nvwrite
7

SYNOPSIS

9       tpm_nvwrite [OPTIONS]
10

DESCRIPTION

12       tpm_nvwrite writes data to an NVRAM area.  The user must provide the
13       index of the NVRAM area as well as the data to write into the NVRAM
14       area. Optionally an offset into the NVRAM area can be given where the
15       writing of the data is to start. Similarly the use may provide the
16       number of bytes to write into the NVRAM area. Some NVRAM areas only
17       allow write sizes of zero, i.e., NVRAM area index 0.  If the NVRAM area
18       has permission bits set that require owner or NVRAM area
19       authentication, then the password must be provided via the password
20       option.
21
22       The following options are supported:
23
24       -h, --help
25           Display command usage info.
26
27       -v, --version
28           Display command version info.
29
30       -l, --log [none|error|info|debug]
31           Set logging level.
32
33       -u, --unicode
34           Use TSS UNICODE encoding for passwords to comply with applications
35           using TSS popup boxes
36
37       -z, --well-known
38           Use a secret of all zeros (20 bytes of zeros) as either the NVRAM
39           area or owner secret.
40
41       -p, --password
42           Depending on what type of authentication is required for the NVRAM
43           area, this must either be the NVRAM area or owner password.
44
45           A password may be directly provided for example by using
46           '--password=password' or -ppassword. If no password is provided
47           then the program will prompt the user for the password.
48
49       -i, --index (optional parameter)
50           The index of the NVRAM area.  The parameter may either be a decimal
51           number or a hexadecimal number starting with '0x'.
52
53       -s, --size
54           The number of bytes to write to the NVRAM area. This parameter may
55           be used to truncating the data that are for example read from a
56           file.  The parameter may either be a decimal number or a
57           hexadecimal number starting with '0x'.
58
59       -n, --offset (optional parameter)
60           The offset into the NVRAM area where to start writing.  The
61           parameter may either be a decimal number or a hexadecimal number
62           starting with '0x'.
63
64       -f, --filename (optional parameter)
65           The name of a file from which to read data and copy them into the
66           NVRAM area.
67
68       -d, --data (optional parameter)
69           The data to write into the NVRAM area passed in the command line.
70
71       -m, --fill-value (optional parameter)
72           The byte to fill the NVRAM area with.
73

SEE ALSO

75       tpm_nvdefine(8), tpm_nvinfo(8), tpm_nvread(8), tpm_nvrelease(8)
76

REPORTING BUGS

78       Report bugs to <trousers-users@lists.sourceforge.net>
79
80
81
82TPM Management                    2011-07-11                    tpm_nvwrite(8)
Impressum