1tpm_nvread(8)                                                    tpm_nvread(8)
2
3
4

NAME

6       tpm_nvread
7

SYNOPSIS

9       tpm_nvread [OPTIONS]
10

DESCRIPTION

12       tpm_nvread reads data from an NVRAM area and either displays them or
13       writes them into a file. The user must provide the index of the NVRAM
14       area. If the user provided the number of bytes to read then this will
15       be the maximum number of bytes that will be read from the NVRAM area,
16       otherwise the whole NVRAM area will be read. Some NVRAM areas only
17       allow read sizes of zero, i.e., NVRAM area with index 0. Optionally an
18       offset into the NVRAM area can be given where the reading of the data
19       is to start. If the NVRAM area has permission bits set that require
20       owner or NVRAM area authentication, then the password must be provided
21       via the password option.
22
23       The following options are supported:
24
25       -h, --help
26           Display command usage info.
27
28       -v, --version
29           Display command version info.
30
31       -l, --log [none|error|info|debug]
32           Set logging level.
33
34       -u, --unicode
35           Use TSS UNICODE encoding for passwords to comply with applications
36           using TSS popup boxes
37
38       -z, --well-known
39           Use a secret of all zeros (20 bytes of zeros) as either the NVRAM
40           area or owner secret.
41
42       -p, --password
43           Depending on what type of authentication is required for the NVRAM
44           area, this must either be the NVRAM area or owner password.
45
46           A password may be directly provided for example by using
47           '--password=password' or '-ppassword'. If no password is provided
48           then the program will prompt the user for the password.
49
50       -i, --index
51           The index of the NVRAM area.  The parameter may either be a decimal
52           number or a hexadecimal number starting with '0x'.
53
54       -s, --size
55           The number of bytes to read from the NVRAM area.  The parameter may
56           either be a decimal number or a hexadecimal number starting with
57           '0x'.
58
59       -n, --offset (optional parameter)
60           The offset into the NVRAM area from where to start reading.  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 the read data will be written into. If no
66           filename is given the data will be printed to stdout.
67

SEE ALSO

69       tpm_nvdefine(8), tpm_nvinfo(8), tpm_nvrelease(8), tpm_nvwrite(8)
70

REPORTING BUGS

72       Report bugs to <trousers-users@lists.sourceforge.net>
73
74
75
76TPM Management                    2011-07-11                     tpm_nvread(8)
Impressum