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

Re: How does mutt know which key to use to encrypt to the sender?



Charles Curley wrote:
> Let me ask a related question: How does mutt know which key to use
> to encrypt (not sign) to the sender?

It doesn't encrypt to the sender at all.  You can use some options in
your gpg config to get messages encrypted to yourself by default
though.

> I can figure out how it knows which key to use for the recipient. It
> either uses the email address, or prompts the user. But I don't see
> any mechanism for selecting the key to associate with the From:
> address, other than pgp-hook, which I am not using for this.

Actually, the pgp-hook is for recipients as well, not the sender.

-- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
No oppression is so heavy or lasting as that which is inflicted by the
perversion and exorbitance of legal authority.
    -- Joseph Addison

Attachment: pgp3ab9aVnd5g.pgp
Description: PGP signature