mirror of
git://git.gnupg.org/gnupg.git
synced 2024-10-30 19:58:44 +01:00
gpg: Add --import-option "no-seckeys".
* g10/import.c (parse_import_options): Add "no-seckeys". -- GnuPG-bug-id: 7146
This commit is contained in:
parent
c489bf7e7e
commit
7788aba7d8
@ -2037,6 +2037,9 @@ are available for all keyserver types, some common options are:
|
||||
this option is not used with HKP keyservers, as they do not support
|
||||
retrieving keys by subkey id.
|
||||
|
||||
@item no-seckeys
|
||||
Do now allow to import secret keys.
|
||||
|
||||
@item timeout
|
||||
@itemx http-proxy=@var{value}
|
||||
@itemx verbose
|
||||
|
@ -207,6 +207,8 @@ parse_import_options(char *str,unsigned int *options,int noisy)
|
||||
{"show-only", (IMPORT_SHOW | IMPORT_DRY_RUN), NULL,
|
||||
NULL},
|
||||
|
||||
{"no-seckeys", IMPORT_NO_SECKEY, NULL, NULL},
|
||||
|
||||
/* Aliases for backward compatibility */
|
||||
{"allow-local-sigs",IMPORT_LOCAL_SIGS,NULL,NULL},
|
||||
{"repair-hkp-subkey-bug",IMPORT_REPAIR_PKS_SUBKEY_BUG,NULL,NULL},
|
||||
|
Loading…
Reference in New Issue
Block a user