[PATCH 1/1] gpg-agent: add new option --cancel-card-pinentry

Werner Koch wk at gnupg.org
Fri Dec 16 18:27:01 CET 2016


On Fri, 16 Dec 2016 08:48, neal at walfield.org said:

> would iterate over all of the PK-ESK blocks, determine whether the
> user could potentially decrypt them, and then rank them according to
> the expected ease with which the user could do that.  One criteria

Right, we have this comment in gpg:

      /* FIXME: Store this all in a list and process it later so that
         we can prioritize what key to use.  This gives a better user
         experience if wildcard keyids are used.  */

Curt: I would change the code to have such an option in gpg and not in
gpg-agent.  Thus the flag needs to be stored in the CTRL object which is
initialized from a new Assuan OPTION (similar to pinentry-mode).

The option name in gpg should also reflect what it is about and not how
it technically works.  Something with like --no-card-change-prompt.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: </pipermail/attachments/20161216/f454065a/attachment.sig>


More information about the Gnupg-devel mailing list