mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
agent: allow removal of the shadowed key.
* agent/findkey.c (agent_delete_key): Remove the key when asked. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
b752d2c937
commit
8588c2dbc4
@ -1311,7 +1311,7 @@ agent_delete_key (ctrl_t ctrl, const char *desc_text,
|
||||
break;
|
||||
|
||||
case PRIVATE_KEY_SHADOWED:
|
||||
err = gpg_error (GPG_ERR_KEY_ON_CARD);
|
||||
err = remove_key_file (grip);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user