tss2_list(1)
β¨ tss2_list(1) β the manual page, bestie β¨
Okay so literally, this is the manual for tss2_list, a General Commands Manual page. Let me break it down for you, no cap.
πΈ NAME πΈ
tss2_list(1) β the tool that lists stuff in your FAPI metadata store, fr fr.
β¨ SYNOPSIS β¨
tss2_list [OPTIONS]
That's it. Just the command and whatever options you're feeling.
π¦ SEE ALSO π¦
fapi-config(5)β use this to adjust Fapi parameters, like the cryptographic profile it's using, the TCTI, or the directories for the Fapi metadata storages. Super handy, iykyk.fapi-profile(5)β this one helps you set the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction. Think: name hash algorithm, asymmetric signature algorithm, scheme and parameters, and PCR bank selection. It's giving very config-heavy main character energy.
π DESCRIPTION π
tss2_list(1) β okay so basically, this command enumerates (that means lists, bestie) all the objects in the FAPI metadata store for whatever path you give it. Lowkey useful for seeing what's in there.
π OPTIONS π
These are the options you can use. Iconic.
-f,--forceβ forces overwriting of the output file. Like, it's gonna write over whatever's already there, whether you like it or not. No cap, be careful with this one.-p,--searchPath=STRINGβ this is the path that identifies the root of the search. It's optional! If you don't include it, it'll search all the entities. The way that it just defaults to everything is wild.-o,--pathList=FILENAMEor-(for stdout) β this returns the colon-separated list of paths. Also optional. If you omit it, the results will be printed to-(which means stdout, you know this). Slay.
π COMMON OPTIONS π
These are the options that are common to all tss2 programs. They provide info that many users might expect to have handy. Obsessed with consistency.
-h,--help [man|no-man]β displays the tool's manpage. By default, it tries to invoke the manpager for the tool. But if that fails, it'll output a short tool summary instead. That's the same behavior if you specify the"man"option argument, but if you explicitly ask for"man", the tool will provide errors from man on stderr. If you specify--help noneor"no-man", or if the manpager fails, the short options will be printed to stdout.
To actually use the manpages feature, you need the manpages installed or on yourMANPATH. Check outman(1)for more details, k?
-v,--versionβ displays version information for this tool, including supported tctis, and then exits. Periodt.
π«Ά EXAMPLES π«Ά
List all entities and print results to stdout
tss2_list
Literally just that. No extra flags needed. So clean.
List all entities under the HS path and print results to file
tss2_list --searchPath=HS --pathList=output.file
See how we used --searchPath=HS to only look under the HS path? And --pathList=output.file to send the colon-separated list to a file called output.file? Iconic behavior, truly.
π RETURNS π
0on success1on failure
That's it. Simple. If it worked, zero. If it didn't, one. No in-between, bestie.
π BUGS π
Github Issues. That's where the bugs live. Go check 'em out if something's giving you grief.
π HELP π
See the Mailing List. That's the move for help.
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). So like, you can share it, just give credit. Slay.
tpm2-tools Β· APRIL 2019 Β· tss2_list(1) β that's the source/version and date, bestie. Now go forth and list those entities. πβ¨
π¦ 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