On Tue, Aug 31, 2021 at 06:49:27PM -0700, Will Yardley <mutt-us...@veggiechinese.net> wrote:
> On Tue, Aug 31, 2021 at 05:13:45PM -0400, D.J.J. Ring, Jr. wrote: > > Is there a way to get mutt to automatically search for a gpg key for an > > email sender and put it in my keychain? > > GPG can be configured to do this _if_ the key is on public keyservers > > See: > https://gitlab.com/muttmua/mutt/-/wikis/MuttGuide/UseGPG#retrieval-of-keys-from-a-keyserver That page doesn't mention it, but there are multiple places to get a key from. gpg's --auto-key-locate option lets you specify a comma-separated list of places to look (or multiple instances). See the gpg(1) manpage for details. e.g. --auto-key-locate local,wkd,dane,keyserver-URL (The default is local,wkd). Actually, the manpage says that this is for when encrypting (i.e. sending an email). It doesn't mention verifying a signature (i.e. receiving an email). That seems wierd. cheers, raf