PGPAINLESS-CLI(1)

πŸ“¦
version 1.6.9 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing

🌸 PGPAINLESS-CLI(1) β€” the PGPainless-CLI Manual, but make it bestie-coded 🌸

okay so. hi. welcome to the manual for pgpainless-cli, which the official docs call Stateless OpenPGP Protocol πŸ’œ. that's the NAME, that's the whole vibe. it's a CLI, it does OpenPGP, and it does it statelessly, which is a very main character way to live.


✨ SYNOPSIS ✨

pgpainless-cli [--stacktrace] [COMMAND]

that's it. that's the whole entrance. you either run it with a COMMAND or you get yelled at (gently, via exit code 19, more on that later πŸ‘€).


πŸ¦‹ DESCRIPTION πŸ¦‹

so... the DESCRIPTION section is literally empty. the original manpage wrote the heading and then said absolutely nothing. it's giving mystery. it's giving enigmatic. no cap, there is genuinely no content here, so i'm not about to invent any β€” we move πŸ’….


πŸ’– OPTIONS πŸ’–

  • --stacktrace β€” prints the stacktrace. that's it, that's the option. when things go feral, this is how you get the receipts 🫢.

πŸ‘‘ COMMANDS πŸ‘‘

okay bestie, here's the roster. every single one, no skips:

  • version β€” shows you version info about the tool. the "who am i" moment.
  • list-profiles β€” spits out a list of profiles supported by the subcommand you identified. profile girlies rise ✨.
  • generate-key β€” makes you a secret key πŸ”‘. iconic. necessary. slay.
  • change-key-password β€” updates the password on a key.
  • revoke-key β€” generates revocation certificates. it's the breakup certificate πŸ’”.
  • extract-cert β€” pulls a public key certificate out of a secret key. like separating the public persona from the private life.
  • sign β€” creates a detached message signature.
  • verify β€” verifies a detached signature.
  • encrypt β€” encrypts a message from standard input.
  • decrypt β€” decrypts a message.
  • inline-detach β€” splits signatures out of a clearsigned message.
  • inline-sign β€” creates an inline-signed message.
  • inline-verify β€” verifies an inline-signed message.
  • armor β€” adds ASCII Armor to standard input πŸ›‘οΈ.
  • dearmor β€” removes ASCII Armor from standard input.
  • help β€” Stateless OpenPGP Protocol.
  • generate-completion β€” Stateless OpenPGP Protocol.
not me pointing out that the last two are literally described as "Stateless OpenPGP Protocol" in the source. i'm not editing that, that's what it says, i'm just holding space for it 😭

πŸ’€ EXIT CODES πŸ’€

this is the part where the program tells you how it's feeling. memorize these or keep the page open, your call πŸ“:

  • 0 β€” Successful program execution. the dream. the goal. periodt.
  • 1 β€” Generic program error.
  • 3 β€” Verification requested but no verifiable signature found.
  • 13 β€” Unsupported asymmetric algorithm.
  • 17 β€” Certificate is not encryption capable.
  • 19 β€” Usage error: Missing argument.
  • 23 β€” Incomplete verification instructions.
  • 29 β€” Unable to decrypt.
  • 31 β€” Password is not human-readable.
  • 37 β€” Unsupported Option.
  • 41 β€” Invalid data or data of wrong type encountered.
  • 53 β€” Non-text input received where text was expected.
  • 59 β€” Output file already exists.
  • 61 β€” Input file does not exist.
  • 67 β€” Cannot unlock password protected secret key.
  • 69 β€” Unsupported subcommand.
  • 71 β€” Unsupported special prefix (e.g. "@ENV/@FD") of indirect parameter.
  • 73 β€” Ambiguous input (a filename matching the designator already exists).
  • 79 β€” Key is not signing capable.
  • 83 β€” Options were supplied that are incompatible with each other.
  • 89 β€” The requested profile is unsupported, or the indicated subcommand does not accept profiles.
🚨 real talk, bestie: exit codes are how scripts find out something went wrong. 0 is the only happy one. everything else is a little cry for help. don't ignore them fr fr.

that's the whole page!! every option, every command, every exit code, untouched and accounted for πŸ’–

cute sign-off time: this was the PGPainless-CLI Manual πŸŽ€ β€” the manual name, folded in right at the top like i promised, and yes the page header said PGPAINLESS-CLI(1) and the footer said the same thing, so consider yourself fully oriented πŸ¦‹. no date was given on the page, so i'm not making one up β€” i would never 🫢. go forth, encrypt things, and remember: stateless is a lifestyle πŸ’…βœ¨

πŸ“¦ where this page comes from