<<< Date Index >>>     <<< Thread Index >>>

Re: Deleting attachment from signed email



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, November 22 at 05:20 PM, quoth Stefan Klinger:
> Problem:
> I am not able to remove an attachment or the signature from a signed message.
>
> Reproduce:
> Use muttrc from below, which is quite minimal. Change to a mailbox 
> (on imap) that contains a signed message (indicated by an 's'). 
> Select that message. Press 'v'. Select attachment to be deleted. 
> Press 'd'. Message area displays "Deletion of attachments from 
> encrypted messages is unsupported." and the attachment is not marked 
> for deletion.
>
> How can I do this? Is it a principal problem, or a bug in mutt?

Well, for one thing, it's documented that mutt doesn't do it (in fact, 
as you demonstrated, mutt TELLS YOU that it's not supported), so it's 
not a bug.

Instead, it's a principle problem. How can you delete an attachment 
from a signed mail without invalidating the signature? Unless you have 
the original private key (to re-sign the message after  you modify 
it), it's technically impossible.

If you REALLY REALLY want to delete the attachment and you don't care 
about invalidating the signature, you can edit the email with your 
text editor (press E).

~Kyle
- -- 
Human beings, who are almost unique in having the ability to learn 
from the experience of others, are also remarkable for their apparent 
disinclination to do so.
                                                      -- Douglas Adams
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFHRh5gBkIOoMqOI14RAp/qAKCWbao5fRfGk3FB55kMrivYj5C+dQCeKKDW
BzxUeHNEnCY9rCiqEz34by0=
=9mTX
-----END PGP SIGNATURE-----