tss2_nvread(1)
NAME β¨
Okay so tss2_nvread(1) β straight from the General Commands Manual, bestie. The NAME line is literally tss2_nvread(1) - and thenβ¦ nothing else. That's the whole section. We move. π
SYNOPSIS π
tss2_nvread [OPTIONS]
SEE ALSO π¦
fapi-config(5)β use this to adjust Fapi parameters like the used cryptographic profile and TCTI, or directories for the Fapi metadata storages. π«Άfapi-profile(5)β use this to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction, like the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. π
DESCRIPTION π
tss2_nvread(1) reads the entire data from an NV index of the TPM. The way that it does exactly that? Iconic. Slay. β¨
OPTIONS πΈ
These are the options, and yes, we're keeping every one β no cap:
-f,--forceβ force overwriting the output file. π₯-o,--data=FILENAMEor-(for stdout) β returns the value read from the NV space. π«Ά-p,--nvPath=STRINGβ identifies the NV space to read. π-l,--logData=FILENAMEor-(for stdout) β returns the JSON encoded log, if the NV index is of type βextendβ and an empty string otherwise. Optional parameter. π
COMMON OPTIONS π
This collection of options is common to all tss2 programs and provides information that many users may expect. Highkey useful, ngl:
-h,--help [man|no-man]β displays the tool's manpage. Here's the whole saga:- By default, it attempts to invoke the manpager for the tool; on failure, it will output a short tool summary.
- This is the same behavior if the
manoption argument is specified. - However, if explicit
manis requested, the tool will provide errors frommanon stderr. - If the
no-manoption is specified, or the manpager fails, the short options will be output to stdout. - To successfully use the manpages feature requires the manpages to be installed or on
MANPATH; seeman(1)for more details. π
-v,--versionβ displays version information for this tool, supported tctis and exit. π
EXAMPLE π
A little example, served fresh β copy it exactly, iykyk:
tss2_nvread --nvPath=/nv/Owner/myNV --data=data.file
RETURNS β
0 on success or 1 on failure. That's the whole return vibe, fr fr.
BUGS π
Github Issues β that's the section, bestie. No cap.
HELP π«Ά
See the Mailing List.
License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Cute sign-off: tpm2-tools β’ APRIL 2019 β’ tss2_nvread(1) π
π¦ where this page comes from
- arch rolling: tpm2-tools 5.8-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms