Composing ask From: address and arbitrary keys in PGP
Derek Martin
invalid at pizzashack.org
Fri Jul 26 18:36:53 UTC 2019
On Fri, Jul 26, 2019 at 05:12:08AM +0000, GTC at riseup.net wrote:
> 1. When composing messages, mutt ask To: or recipient adress and
> Subject and then go to editor. How to make mutt ask for From: or
> sender address only and then go to editor?
>
The typical way to do this is with send hooks or folder hooks. Use
my_hdr in one of those hooks to set the From: line.
> 2. In PGP, mutt has crypt_opportunistic_encrypt to select keys based
> on To: address to the recipient. But PGP also need From: address or
> sender's key to encrypt messages, sign messages or even attch their
> own public key. By default, mutt uses system default key or oldest
> key created for encryption, sign messages or attach public key.
Same answer as above, but instead set pgp_sign_as. If need be you can
use a hook to set your pgp_encrypt_only_command and/or
pgp_encrypt_sign_command (and set the ID to use in those, or use a
different gnupg options file, etc.).
--
Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address. Replying to it will result in
undeliverable mail due to spam prevention. Sorry for the inconvenience.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mutt.org/pipermail/mutt-users/attachments/20190726/e812ae9f/attachment.asc>
More information about the Mutt-users
mailing list