Re: mutt, gpg, inline, attachments
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wednesday, January 31 at 04:18 PM, quoth Stefan Märkl:
> I know that officially this isn't possible, but can I make mutt sign
> and encrypt messages with attachments inline somehow? One of my
> contacts uses broken software so he can't handle PGP/MIME messages.
Make mutt sign them? Not without seriously patching it yourself.
Here's why: Mutt signs the ENTIRE email, not just the message. That's
one of the reasons PGP/MIME was invented: to allow entire MIME blocks,
including attachments, to be signed and/or encrypted.
However, it IS possible to encrypt/sign just the text-part of a
message that includes attachments, you just have to be aware that an
encrypted message with an attachment CANNOT encrypt the attachment.
The way you'd encrypt just the text part is to, for example in your
text editor, pipe that message to gpg with the appropriate flags. You
can also do that from within mutt, after a fashion, by using the
"pipe-entry" command. You can macro this to make it more convenient,
but... you'll need to be careful not to make the macro too easily
broken (e.g. it shouldn't rely on your current cursor position in the
attachment list).
~Kyle
- --
A tyrant must put on the appearance of uncommon devotion to religion.
Subjects are less apprehensive of illegal treatment from a ruler whom
they consider God-fearing and pious. On the other hand, they do less
easily move against him, believing that he has the gods on his side.
-- Aristotle
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFFwLySBkIOoMqOI14RAr2UAJ91+aqmAKyG0qm1NR4HWxiubGI12wCfcuuq
o4Kl3yOZJ27obyRy41d3cMI=
=g8Sw
-----END PGP SIGNATURE-----