diff options
author | Ben Kibbey <[email protected]> | 2011-09-11 20:55:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-09-12 07:54:16 +0000 |
commit | fb1cdd7b0ebece16ffe60a30e4d01c5dbb1ca92b (patch) | |
tree | 3b5768e1b8efe24ac70e3797638347095cede82a /agent/agent.h | |
parent | Mark component descriptions for translation. (diff) | |
download | gnupg-fb1cdd7b0ebece16ffe60a30e4d01c5dbb1ca92b.tar.gz gnupg-fb1cdd7b0ebece16ffe60a30e4d01c5dbb1ca92b.zip |
Handle pinentry-mode=loopback.
When this mode is set an inquire will be sent to the client to retrieve
the passphrase. This adds a new inquire keyword "NEW_PASSPHRASE" that the
GENKEY and PASSWD commands use when generating a new key.
Diffstat (limited to '')
-rw-r--r-- | agent/agent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index fbd71d51e..b323718fc 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -252,6 +252,9 @@ gpg_error_t agent_write_status (ctrl_t ctrl, const char *keyword, ...) void bump_key_eventcounter (void); void bump_card_eventcounter (void); void start_command_handler (ctrl_t, gnupg_fd_t, gnupg_fd_t); +gpg_error_t pinentry_loopback(ctrl_t, const char *keyword, + unsigned char **buffer, size_t *size, + size_t max_length); /*-- command-ssh.c --*/ void start_command_handler_ssh (ctrl_t, gnupg_fd_t); |