mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Allow deletion of subkeys with --delete-[secret-]key.
* common/userids.c (classify_user_id): Do not set the EXACT flag in the default case. * g10/export.c (exact_subkey_match_p): Make static, * g10/delkey.c (do_delete_key): Implement subkey only deleting. -- GnuPG-bug-id: 4457
This commit is contained in:
parent
9ccdd59e4e
commit
d9b31d3a20
5 changed files with 113 additions and 13 deletions
|
@ -394,6 +394,8 @@ void export_print_stats (export_stats_t stats);
|
|||
int parse_export_options(char *str,unsigned int *options,int noisy);
|
||||
gpg_error_t parse_and_set_export_filter (const char *string);
|
||||
|
||||
int exact_subkey_match_p (KEYDB_SEARCH_DESC *desc, kbnode_t node);
|
||||
|
||||
int export_pubkeys (ctrl_t ctrl, strlist_t users, unsigned int options,
|
||||
export_stats_t stats);
|
||||
int export_seckeys (ctrl_t ctrl, strlist_t users, unsigned int options,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue