tannhauser wrote: > i have various email accounts and various gpg key pairs. When i get > an encrypted email, mutt just outputs "Enter passphrase: ", without > giving any hint for which secret key. As long as i decrypt specific > emails, that behaviour is ok: i know which key pair i use for that > adress. > The problem begins when i want to search emails. I use the > "thorough_search"-option to decrypt encrypted messages before > searching.
Huh, I managed to have missed that option. Thanks for mentioning it.
> But now, i don't know for which key pair mutt is asking me the
> passphrase for.
> Is there a possibility to get a more verbose output? Something like
> "Enter passphrase for id xyz: "?
If you use gpg-agent you will get this sort of prompt. To use the
agent with mutt, you need to be sure to export GPG_AGENT_INFO and
GPG_TTY. You then just add "set pgp_use_gpg_agent=yes" to your
.muttrc. See the gpg-agent docs for how to setup the agent to run.
> And actually, is mutt/gpg capable of handling more than one
> passphrase at once?
Using gpg-agent I know this is possible. It's been ages since I tried
it with mutt's builtin passphrase caching.
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The ultimate result of shielding men from the effects of folly is to
fill the world with fools.
-- Herbert Spencer
pgpWSPGXhobgY.pgp
Description: PGP signature
