tss2_getinfo(1)
π NAME π
tss2_getinfo(1) β okay bestie, this is the little command that spills the tea on your whole setup π«β¨ (the man page literally just says tss2_getinfo(1) -, so likeβ¦ the description section is where the real lore lives, keep scrolling π
)
β¨ SYNOPSIS β¨
tss2_getinfo [OPTIONS]
π¦ SEE ALSO π¦
fapi-config(5)β use this one to tweak Fapi parameters, like which cryptographic profile gets used, the TCTI, or the directories where the Fapi metadata storages live. πfapi-profile(5)β and this one is for nailing down the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction. We're talking the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. iykyk πΈ
π DESCRIPTION π
tss2_getinfo(1) β bestie, this command returns a UTF-8 string that identifies the version of the FAPI, the TPM, configurations and other relevant info, all in a human readable format. It's giving β¨receiptsβ¨ but make it legible. No cap, that's literally the whole job. π
π OPTIONS π
These are the available options, and yes there are only two, we love a low-effort queen:
-f,--forceβ force overwriting the output file. Like, it will clobber what's already there, so maybe don't aim it at something precious π-o,--info=FILENAMEor-(for stdout) β returns the FAPI and TPM information. Pass a filename to write it to a file, or pass-to get it on stdout like a normal person π«Ά
β COMMON OPTIONS β
This collection of options are common to all tss2 programs and provide information that many users may expect. So like, the shared group-chat of flags. π¬
-h,--help [man|no-man]β displays the tool's manpage. By default it attempts to invoke the manpager for the tool, however on failure it will output a short tool summary. This is the same behavior if themanoption argument is specified β but if explicitmanis requested, the tool will provide errors from man on stderr. If theno-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. See man(1) for more details. π
-v,--versionβ displays version information for this tool, supported tctis, and then exits. Slay, short and sweet. π
π EXAMPLE π
tss2_getinfo --info=info.file
Look at her go. Iconic. β¨
π₯ RETURNS π₯
0 on success or 1 on failure. That's it, that's the vibe check. β
πΈ BUGS πΈ
Github Issues. (Yes, that's all it says β go file one, bestie, they're waiting π)
π HELP π
See the Mailing List. π¬
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
and that's the whole page, bestie π this gem shipped with tpm2-tools back in APRIL 2019 β go touch some TPMs, ily π«Άβ¨
π¦ 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