On Friday, October 28 at 07:22 PM, quoth Javier Fernández-Sanguino Peña:

Package: mutt
Version: 1.5.11-2
Priority: wishlist

(This bug has been reported upstream as bug #2122, I'm sending this to the
Debian maintainer in case he thinks it would be reasonable to include this
into sid to get wider testing)

Currently, GPG only encrypts messages to the To:, CC: or Bcc: but *not* to the
From: of an email message. This means that any user that sends an encrypted
mail to any other user will not be able to read the e-mail in the future if
he is under default configuration in Debian.

Why not simply add yourself to the pgp_encrypt_sign_command and pgp_encrypt_command? For example, I use:

set pgp_encrypt_sign_command="pgpewrap gpg --encrypt-to kyle --charset utf-8 --force-mdc %?p?--passphrase-fd 0? --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"

By adding the "--encrypt-to kyle" I've ensured that it will always also encrypt the message to me (I could also use "--encrypt-to ca8e235e").

This seems like something to be handled in the muttrc, not something to be handled by patching the source.

~Kyle
--
If an elderly respected expert in a given field tells you that something can be done he is almost certainly right. If an elderly respected expert in a given field tells you that something is impossible, he is almost certainly wrong.
                                                  -- Robert A. Heinlein

Attachment: pgpVNxfRxrNXg.pgp
Description: PGP signature

Reply via email to