#3597: more feedback on wrong GPG keys
--------------------+-------------------------------------------------------
 Reporter:  miekg   |       Owner:  me      
     Type:  defect  |      Status:  accepted
 Priority:  major   |   Milestone:          
Component:  mutt    |     Version:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by me):

  * owner:  mutt-dev => me
  * status:  new => accepted


Comment:

 pgp_ask_for_key() uses pgp_getkeybystr() to parse the pubring.
 pgp_getkeybystr() does not assume that the search string is a keyID, it
 just passes it along as a hint in $pgp_listkeys_command.

 In the case of this bug, I presume that there was a single match, so we
 could give some  sort of feedback.  But I'm not sure what to do about the
 more general case where there may be multiple matches.

 The feedback would need to be returned via a function parameter, since it
 appears pgp_getkeybystr() is called in situations where invoking
 mutt_error() directly would not work.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3597#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to