diff options
| author | Werner Koch <[email protected]> | 2019-05-27 08:40:38 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2019-05-27 08:40:38 +0000 |
| commit | cc6069ac6ecd57dcbb808f28d54fd9f89dc55014 (patch) | |
| tree | 82fd37bf1dd0a417e9c145d7f8c8d9e348168052 /g10/main.h | |
| parent | agent: Stop scdaemon after reload when disable_scdaemon. (diff) | |
| download | gnupg-cc6069ac6ecd57dcbb808f28d54fd9f89dc55014.tar.gz gnupg-cc6069ac6ecd57dcbb808f28d54fd9f89dc55014.zip | |
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
Diffstat (limited to 'g10/main.h')
| -rw-r--r-- | g10/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/main.h b/g10/main.h index 134d8b950..67d7e8060 100644 --- a/g10/main.h +++ b/g10/main.h @@ -414,6 +414,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, |
