1. 19 Aug, 2015 2 commits
    • Daiki Ueno's avatar
      pinentry.el: Add debugging support · 85bc1074
      Daiki Ueno authored
      * lisp/net/pinentry.el (pinentry-debug): New variable.
      (pinentry-debug-buffer): New variable.
      (pinentry--process-filter): Send input to the debug buffer, if
      `pinentry-debug' is set.
    • Daiki Ueno's avatar
      pinentry.el: Improve multiline prompt · 93fb1783
      Daiki Ueno authored
      * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
      (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
  2. 18 Aug, 2015 4 commits
    • Daiki Ueno's avatar
      Revert "pinentry.el: Support external passphrase cache" · 9a1175cb
      Daiki Ueno authored
      This reverts commit e086e55a.
      pinentry.el shouldn't directly interact with the secrets service,
      but ask the caller to cache the passphrase.
    • Daiki Ueno's avatar
      pinentry.el: Support external passphrase cache · e086e55a
      Daiki Ueno authored
      * 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):
      (pinentry--send-passphrase): New function, split from
      (pinentry--process-filter): Use secrets.el to retrieve passphrase
      from login keyring.
    • Daiki Ueno's avatar
    • Daiki Ueno's avatar
      pinentry.el: Popup window for multiline prompt · 9bc75783
      Daiki Ueno authored
      * lisp/net/pinentry.el (pinentry): New custom group.
      (pinentry-popup-prompt-window): New user option.
      (pinentry-prompt-window-height): New user option.
      (pinentry--prompt-buffer): New variable.
      (pinentry-prompt-mode-map): New variable.
      (pinentry-prompt-mode): New function.
      (pinentry--prompt): New function.
      (pinentry--process-filter): Use `pinentry--prompt' instead of
      `read-passwd' and `y-or-n-p'.
  3. 18 Jun, 2015 1 commit