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=FILENAME or - (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 the man option argument is specified β€” but if explicit man is requested, the tool will provide errors from man on stderr. If the no-man option 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