#973: encrypt mail with more keys than recipient list (think mailinglist) ----------------------------------------+----------------------------------- Reporter: Marco d'Itri <m...@…> | Owner: mutt-dev Type: enhancement | Status: new Priority: trivial | Milestone: Component: crypto | Version: Keywords: #1610 + #1897 | ----------------------------------------+-----------------------------------
Comment(by Martin Sander): If you are looking for a workaround rather than a fix, here is how you can pull this off: For every user on your mailinglist that you want to encrypt to, add his key to a group in ~/.gnupg/gpg.conf: group 0x55555555=14A32316 group 0x55555555=29B3135D ... where the name of the group _has_ to be a hex-key, where usually it would be the address of the mailing list - mutt does not accept anything else. You can make one up, just make sure it does not collide with a key in your keyring. Now for every group that you have defined this way, add a crypt-hook to your .muttrc: crypt-hook my-mail...@list.com 0x55555555 Two caveats: Mutt will ask you if you want to use the "key" 0x55555555 for encryption, instead of just encrypting. Also the nice feature that mutt asks if you really want to encrypting with an untrusted public key does obviously not work, as mutt does not know which keys gpg will use.. -- Ticket URL: <http://dev.mutt.org/trac/ticket/973#comment:7> Mutt <http://www.mutt.org/> The Mutt mail user agent