tss2_decrypt(1)
π tss2_decrypt(1) β the decrypt girlie π
okay so bestie, welcome to the General Commands Manual page for tss2_decrypt(1), and let me tell you, she is lowkey iconic β¨
πΈ NAME πΈ
tss2_decrypt(1) β decrypts data π«Ά
β¨ SYNOPSIS β¨
tss2_decrypt [OPTIONS]
π¦ SEE ALSO π¦
like, please go read these too, they're part of the lore π
fapi-config(5)β use this to adjust Fapi parameters, like the cryptographic profile you're using, and the TCTI, or the directories for the Fapi metadata storages. it's giving configuration queen πfapi-profile(5)β use this one to determine the cryptographic algorithms and parameters for all keys and operations of a specific TPM interaction β think the name hash algorithm, the asymmetric signature algorithm, scheme and parameters, and PCR bank selection. literally the whole vibe spec π
π DESCRIPTION π
tss2_decrypt(1) β bestie, this command decrypts data that was encrypted using tss2_encrypt, using the TPM decryption schemes as specified in the cryptographic profile (cf., fapi-profile(5)). no cap, that's the whole thing π
π OPTIONS π
These are the available options, and yes we're going through every single one π
-p,--keyPath=STRINGβ identifies the decryption key π-i,--cipherText=FILENAMEor-(for stdin) β the JSON-encoded cipherText π-f,--forceβ force overwriting the output file π (careful, she will overwrite it fr fr)-o,--plainText=FILENAMEor-(for stdout) β returns the decrypted data. optional parameter, no pressure π«Ά
β COMMON OPTIONS β
okay so this collection of options is common to all tss2 programs and provides information that many users may expect. shared bestie behaviour π
-h,--help [man|no-man]β display 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, however if explicit βmanβ is requested, the tool will provide errors frommanon 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β display version information for this tool, supportedtctis, and exit βοΈ
π EXAMPLE π
tss2_decrypt --keyPath=HS/SRK/myRSACrypt --cipherText=cipherText.file --plainText=plainText.file
look at her go π
π₯ RETURNS π₯
0 on success or 1 on failure. that's it, that's the whole mood π
π BUGS π
Github Issues β go open one if something's cursed, bestie π
π HELP π
See the Mailing List π¬
π License π
This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). slay, legally β¨
and that's the whole page, bestie π this one came from tpm2-tools, dated APRIL 2019 β a lil vintage moment, ngl, but she still ate ππ¦
π¦ 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