MHPGP(1mh)
π MHPGP β it's giving "let me read that secret message for you" β¨
okay so this is mhpgp, from the mhpgp(1mh) manual page in the mmh-0.4 era (dated 2019-01-06, we love a vintage moment π). She's a lil script bestie whose whole job is verifying and decrypting your PGP mail with gnupg. Let's get into it.
πΈ NAME πΈ
mhpgp β verify and decrypt a message with gnupg π
β¨ SYNOPSIS β¨
mhpgp [-write] [-Version] [-help] [+folder] [msg]
π«Ά DESCRIPTION π«Ά
so mhpgp is a script that exists purely to make verifying and decrypting PGP messages easier, and she does it all through gnupg. no cap, that's the whole vibe.
She can handle signatures and encryption in both MIME and plain (non-MIME) format. iconic range tbh.
- Signed messages? Verified. β
- Encrypted messages? Displayed with
showin decrypted form, and the signature gets verified too. π
With the -write switch, the decrypted message is stored into the current folder. like, she keeps it. for you. π₯°
If no msg is given, the current message is used. defaults really said "I got you."
π§Ό the trailing-whitespace situation (she's picky, and she's right)
Trailing blanks are stripped from the lines before signature verification. Why? Because none are expected to be present, as RFC 3156 requests:
[...] implementations MUST make sure that no trailing whitespace is present after the MIME encoding has been applied.
If there is trailing whitespace, it was likely added mistakenly during mail transfer. so yeah, that's a mail-transfer oopsie, not your fault, bestie π
π FILES π
None. she's low maintenance. π
π PROFILE COMPONENTS π
None. nothing to configure, nothing to babysit. obsessed.
π SEE ALSO π
β DEFAULTS β
+folderdefaults to the current foldermsgdefaults to the current message
π CONTEXT π
None.
π BUGS π
The order of the command line arguments is relevant, and this is the part where you have to listen to me:
The options must come first, the message specification last.
so it's mhpgp -write +inbox 3 energy, NOT mhpgp +inbox 3 -write. do not test her. she will not be flexible about this. periodt. π
and that's the whole page, bestie π¦ β this was mhpgp from mmh-0.4, manual page version MH.6.8, dated 2019-01-06. go forth and decrypt something cute ππΈβ¨
π¦ where this page comes from
- debian bookworm: mmh 0.4-4 Β· BSD-3-Clause
- ubuntu jammy: mmh 0.4-4 Β· BSD-3-Clause
- ubuntu noble: mmh 0.4-6 Β· BSD-3-Clause
- ubuntu questing: mmh 0.4-6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms