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=FILENAME or - (for stdin) β€” the JSON-encoded cipherText πŸ“
  • -f, --force β€” force overwriting the output file πŸ’€ (careful, she will overwrite it fr fr)
  • -o, --plainText=FILENAME or - (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 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 β€” display version information for this tool, supported tctis, 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