agent: Send the new SETKEYINFO command to the Pinentry.
authorWerner Koch <wk@gnupg.org>
Tue, 14 Apr 2015 16:41:05 +0000 (18:41 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 14 Apr 2015 16:41:05 +0000 (18:41 +0200)
commit2180845959839705200e3172dbafc94b70b9007f
tree0eb486b7b07af489c51efb72b54bde991cadbc4e
parent971d558e862db878a7310e06ed7116dbe36886ab
agent: Send the new SETKEYINFO command to the Pinentry.

* agent/call-pinentry.c (agent_askpin): Add args keyinfo and
cache_mode.  Change all callers to pass (NULL,0) for them.  Send
SETKEYINFO command.
* agent/findkey.c (unprotect): Pass the keygrip and the cache_mode for
the new args.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/agent.h
agent/call-pinentry.c
agent/command-ssh.c
agent/cvt-openpgp.c
agent/divert-scd.c
agent/findkey.c
agent/genkey.c