diff options
author | Neal H. Walfield <[email protected]> | 2015-05-06 13:20:32 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-05-07 13:03:27 +0000 |
commit | 56b5c9f94f2e55d096be585ed061ccf1c9ec0de6 (patch) | |
tree | 1fa93938e1cfd7504520282f7b8cc1ff0f53adad /dirmngr/ks-engine-ldap.c | |
parent | agent: Or in the value; don't overwrite the variable. (diff) | |
download | gnupg-56b5c9f94f2e55d096be585ed061ccf1c9ec0de6.tar.gz gnupg-56b5c9f94f2e55d096be585ed061ccf1c9ec0de6.zip |
agent: Improve support for externally cached passwords.
* agent/call-pinentry.c (PINENTRY_STATUS_PASSWORD_FROM_CACHE): New
constant.
(pinentry_status_cb): Add it to *FLAGS if PASSWORD_FROM_CACHE was
provided.
(agent_askpin): Pass "OPTION allow-external-password-cache" to the
pinentry. Always pass SETKEYINFO to the pinentry. If there is no
stable identifier, then use "--clear". If the password is incorrect
and PINENTRY_STATUS_PASSWORD_FROM_CACHE is set in *PINENTRY_STATUS,
then decrement PININFO->FAILED_TRIES.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions