diff options
author | Werner Koch <wk@gnupg.org> | 2014-04-15 16:40:48 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-04-15 17:03:54 +0200 |
commit | e3a4ff89a0b106e678bf9d0a4d47917123071140 (patch) | |
tree | 16ce4dca4a890a8d79a41c3a76d74a2ca4771221 /agent/agent.h | |
parent | scd: EdDSA support. (diff) | |
download | gnupg2-e3a4ff89a0b106e678bf9d0a4d47917123071140.tar.xz gnupg2-e3a4ff89a0b106e678bf9d0a4d47917123071140.zip |
agent: Add command DELETE_KEY.
* agent/command.c (cmd_delete_key): New.
* agent/findkey.c (modify_description): Add '%C' feature.
(remove_key_file): New.
(agent_delete_key): New.
* agent/command-ssh.c (search_control_file): Make arg R_DISABLE
optional.
* configure.ac: Require libgpg-error 1.13.
Diffstat (limited to 'agent/agent.h')
-rw-r--r-- | agent/agent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/agent.h b/agent/agent.h index 58e584132..4ed8c7fe6 100644 --- a/agent/agent.h +++ b/agent/agent.h @@ -334,6 +334,8 @@ int agent_key_available (const unsigned char *grip); gpg_error_t agent_key_info_from_file (ctrl_t ctrl, const unsigned char *grip, int *r_keytype, unsigned char **r_shadow_info); +gpg_error_t agent_delete_key (ctrl_t ctrl, const char *desc_text, + const unsigned char *grip); /*-- call-pinentry.c --*/ void initialize_module_call_pinentry (void); |