]> git.eshelyaron.com Git - emacs.git/commit
pinentry.el: Support external passphrase cache
authorDaiki Ueno <ueno@gnu.org>
Tue, 18 Aug 2015 02:55:26 +0000 (11:55 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 18 Aug 2015 02:55:26 +0000 (11:55 +0900)
commite086e55a664ec27fbca7b3231c4b32cb78a89337
tree09a3caab25e4a6c8eb9bc9aa93fa00112f799807
parent3a23c477d90ce7401c24de8610be7d1340cd8ee3
pinentry.el: Support external passphrase cache

* lisp/net/pinentry.el (pinentry-use-secrets): New user option.
(pinentry--allow-external-password-cache): New local variable.
(pinentry--key-info): New local variable.
(secrets-enabled, secrets-search-items, secrets-get-secret):
Declare.
(pinentry--send-passphrase): New function, split from
`pinentry--process-filter'.
(pinentry--process-filter): Use secrets.el to retrieve passphrase
from login keyring.
lisp/net/pinentry.el