tpm_nvread(8)
π tpm_nvread π
okay bestie, welcome to the tpm_nvread page β it's the tpm_nvread(8) manual, but make it cute. let's GO β¨
πΈ SYNOPSIS πΈ
tpm_nvread [OPTIONS]
π¦ DESCRIPTION π¦
so tpm_nvread reads data out of an NVRAM area and then either shows it to you or writes it into a file. that's the whole vibe π
you must give it the index of the NVRAM area β non-negotiable, it's the main character requirement π
if you also tell it how many bytes to read, that number becomes the maximum number of bytes it'll pull from the NVRAM area. if you don't give a size, it reads the whole NVRAM area. no cap.
heads up: some NVRAM areas only allow read sizes of zero, i.e., an NVRAM area with index 0. that's just how they are, not a bug π«Ά
optionally you can hand it an offset into the NVRAM area, which is where the reading starts. and if the NVRAM area has permission bits set that require owner or NVRAM area authentication, then bestie you have to provide the password via the password option. no password, no data, it's giving locked door π
the following options are supported:
β¨ OPTIONS β¨
-h,--helpβ displays the command usage info. when you're lost, she's there π§-v,--versionβ displays the command version info. identity check β-l,--log [none|error|info|debug]β sets the logging level. pick your yap volume π£οΈ-u,--unicodeβ use TSS UNICODE encoding for passwords, to comply with applications using TSS popup boxes. compatibility queen π-z,--well-knownβ use a secret of all zeros (20 bytes of zeros) as either the NVRAM area or owner secret. yes, literally twenty zeros, that's the whole secret π-p,--passwordβ depending on what type of authentication the NVRAM area requires, this has to be either the NVRAM area password or the owner password.
a password may be directly provided, for example by using --password=password or -ppassword. if no password is provided then the program will prompt the user for the password. so either you hand it over or she asks you nicely π¬
-i,--indexβ the index of the NVRAM area. the parameter may either be a decimal number or a hexadecimal number starting with0x. π’-s,--sizeβ the number of bytes to read from the NVRAM area. the parameter may either be a decimal number or a hexadecimal number starting with0x. π-n,--offset(optional parameter) β the offset into the NVRAM area from where to start reading. the parameter may either be a decimal number or a hexadecimal number starting with0x. β©-f,--filename(optional parameter) β the name of a file the read data will be written into. if no filename is given the data will be printed tostdout. choose your destiny: file or screen π
π SEE ALSO π
tpm_nvdefine(8), tpm_nvinfo(8), tpm_nvrelease(8), tpm_nvwrite(8)
the whole NVRAM friend group, they all hang out together, iykyk π
π REPORTING BUGS π
found a bug? report bugs to <trousers-users@lists.sourceforge.net> β be nice, be specific, be iconic π«Ά
okay that's the whole page!! this was the TPM Management manual, dated 2011-07-11, and honestly? iconic of it. go read your NVRAM bestie, ily, bye π β¨π
π¦ where this page comes from
- debian bookworm: tpm-tools 1.3.9.2-0.1 Β· CPL
- debian trixie: tpm-tools 1.3.9.2-0.2 Β· CPL
- epel 10: tpm-tools 1.3.9-19.el10_0 Β· CPL-1.0
- epel 9: tpm-tools 1.3.9-13.el9 Β· CPL
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 43: tpm-tools 1.3.9.2-5.fc43 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- fedora 44: tpm-tools 1.3.9.2-6.fc44 Β· CPL-1.0
- nixos 26.05: tpm-tools 1.3.9.2
- nixpkgs unstable: netbsd-source 11.0
- nixpkgs unstable: tpm-tools 1.3.9.2
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- opensuse-leap 16.0: tpm-tools 1.3.9.2-160000.2.2 Β· IPL-1.0
- ubuntu jammy: tpm-tools 1.3.9.1-0.2ubuntu4
- ubuntu noble: tpm-tools 1.3.9.2-0.2build2 Β· CPL
- ubuntu questing: tpm-tools 1.3.9.2-0.2build2
- ubuntu resolute: tpm-tools 1.3.9.2-0.2build3 Β· CPL
- ubuntu stonking: tpm-tools 1.3.9.2-0.2build4 Β· CPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms