RSADECRYPT(1)

πŸ“¦
version 1045 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble, ubuntu questing

✨ NAME ✨

rsadecrypt β€” runs TPM2_RsaDecrypt. that's it, that's the whole vibe πŸ’–


πŸ’… DESCRIPTION πŸ’…

okay bestie, first thing first, and I need you to hear me on this: --version-string=v1045 is not a valid option. like. at all. πŸ™ˆ it's literally in the manual as a warning and I'm passing it on to you unedited, no cap.

so. rsadecrypt

Runs TPM2_RSA_Decrypt. (note the capitals, she's fancy ✨)

Here's the whole rundown of the flags, one by one, no skipping, I promise:

  • -hk β€” key handle πŸ—οΈ
  • -pwdk β€” password for key (default empty) πŸ”
  • -ie β€” encrypt file name πŸ“₯
  • -od β€” decrypt file name (default: do not save) πŸ“€
  • [-oid (sha1, sha256, sha384) β€” optionally add OID and PKCS1 padding to the encrypt data (it's a demo of signing with arbitrary OID) πŸŽ€
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue

and then, plot twist πŸ‘‘, --version is not a valid option either. nope. not a thing. don't try her.

so anyway. rsadecrypt

Runs TPM2_RSA_Decrypt. yes I'm saying it again because the page says it again, fr fr πŸ’€

  • -hk β€” key handle πŸ—οΈ
  • -pwdk β€” password for key (default empty) πŸ”
  • -ie β€” encrypt file name πŸ“₯
  • -od β€” decrypt file name (default: do not save) πŸ“€
  • [-oid (sha1, sha256, sha384) β€” optionally add OID and PKCS1 padding to the encrypt data (demo of signing with arbitrary OID, iykyk) πŸŽ€
  • -se[0-2] β€” session handle / attributes (default PWAP)
    • 01 continue
lowkey this manpage repeats itself word for word and I'm not gonna pretend it doesn't. keeping it 100, bestie. πŸ’–

🌈 SEE ALSO 🌈

the full documentation for rsadecrypt is maintained as a Texinfo manual. if the info and rsadecrypt programs are properly installed at your site, this command:

info rsadecrypt

should give you access to the complete manual. slay. go read the real thing if you want the director's cut πŸ“


that's the whole page, bestie β€” rsadecrypt, page of the manual, dated July 2017, version RSADECRYPT(1). go decrypt something iconic πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from