mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
agent: New option --stub-only for DELETE_KEY
* agent/findkey.c (agent_delete_key): Add arg 'only_stubs'. * agent/command.c (cmd_delete_key): Add option --stub-only. -- This option can be used to savely remove stub keys.
This commit is contained in:
parent
26086b362f
commit
6fab7bba87
3 changed files with 30 additions and 16 deletions
|
@ -406,7 +406,8 @@ 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, int force);
|
||||
const unsigned char *grip,
|
||||
int force, int only_stubs);
|
||||
|
||||
/*-- call-pinentry.c --*/
|
||||
void initialize_module_call_pinentry (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue