Dave Ewart asked:
% Interesting ... I get a similar problem.  I want to make Mutt
% auto-select the right key, but it doesn't seem to do it and prompts me
% with a "select the key" screen as above ...

And David T-G piped in with:
> That one I *don't* know how to fix, and I'd like to see the same myself.
> I tried setting pgp-hooks to tie a recipient to a key, but I still get
> the list.

So, to further clutter the thread, let me add my name to the list of 
folks who would like to see an answer/solution to this issue.  To
clarify:

mutt does a great job selecting my key, for signing mails, and even
does a remarkable job at automatically using my RSA key when I'm mailing
people who I know prefer RSA over DH when receiving pgp signed or 
encrypted mails.

( ref my .muttrc at http://members.slacker.com/~nugget/stuff/.muttrc )

What's frustrating is when I'm sending mail that is encrypted to someone.
Even if there is no ambiguity as to which key is "theirs" in my keyring,
I'm prompted to select their key from a menu before encryption.  As in:

If I'm sending an encrypted mail to [EMAIL PROTECTED]

          To: [EMAIL PROTECTED]
     Subject: Testing
         Fcc: =sent-items
         PGP: Sign, Encrypt
     sign as: 0xE43C5FC3                    MIC algorithm: pgp-md5

When I hit 'y' to whoosh the mail out over the net, mutt then pulls up
a key selection menu as follows:

   1 +  1024/0x32513627 DSA  -s Daniel A. Baker <[EMAIL PROTECTED]>
   2 +  4096/0x4B0D5093 ElG  e- Daniel A. Baker <[EMAIL PROTECTED]>
   3 +  1024/0x32513627 DSA  -s Daniel A. Baker <[EMAIL PROTECTED]>
   4 +  4096/0x4B0D5093 ElG  e- Daniel A. Baker <[EMAIL PROTECTED]>
   5 +  1024/0x32513627 DSA  -s Daniel A. Baker <[EMAIL PROTECTED]>
   6 +  4096/0x4B0D5093 ElG  e- Daniel A. Baker <[EMAIL PROTECTED]>

Which, as you can see, are simply multiple identities all on the same
key.  There's really only one key there, so no matter which I select
the end result is the same.

The desireable behavior for mutt would be to detect when this is the case
and simply select the single appropriate key from my keyring and only 
require user input when there is ambiguity.

-- 
 ________________________________________________________________________
|David McNett      |To ensure privacy and data integrity this message has|
|[EMAIL PROTECTED]|been encrypted using dual rounds of ROT-13 encryption|
|Birmingham, AL USA|Please encrypt all important correspondence with PGP!|

PGP signature

Reply via email to