mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: New import and keyserver option "self-sigs-only"
* g10/options.h (IMPORT_SELF_SIGS_ONLY): New.
* g10/import.c (parse_import_options): Add option "self-sigs-only".
(read_block): Handle that option.
--
This option is intended to help against importing keys with many bogus
key-signatures. It has obvious drawbacks and is not a bullet-proof
solution because a self-signature can also be faked and would be
detected only later.
GnuPG-bug-id: 4591
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 15a425a1df
)
This commit is contained in:
parent
15a425a1df
commit
adb120e663
3 changed files with 47 additions and 2 deletions
|
@ -356,6 +356,7 @@ EXTERN_UNLESS_MAIN_MODULE int memory_stat_debug_mode;
|
|||
#define IMPORT_RESTORE (1<<10)
|
||||
#define IMPORT_REPAIR_KEYS (1<<11)
|
||||
#define IMPORT_DRY_RUN (1<<12)
|
||||
#define IMPORT_SELF_SIGS_ONLY (1<<14)
|
||||
|
||||
#define EXPORT_LOCAL_SIGS (1<<0)
|
||||
#define EXPORT_ATTRIBUTES (1<<1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue