diff options
| author | Werner Koch <[email protected]> | 2021-04-26 12:15:21 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2021-04-26 12:15:21 +0000 |
| commit | 99db4b0c7fd128ea5b2e251fe854bd57f6322238 (patch) | |
| tree | 8e6c56eb3c6c25d8883122d364b7435dee0e5183 /g10/options.h | |
| parent | gpg: Auto import keys specified with --trusted-keys. (diff) | |
| download | gnupg-99db4b0c7fd128ea5b2e251fe854bd57f6322238.tar.gz gnupg-99db4b0c7fd128ea5b2e251fe854bd57f6322238.zip | |
gpg: Do not use import-clean for LDAP keyserver imports.
* g10/options.h (opts): New field expl_import_only.
* g10/import.c (parse_import_options): Set it.
* g10/keyserver.c (keyserver_get_chunk): Add special options for LDAP.
--
I can be assumed that configured LDAP servers are somehow curated and
not affected by rogue key signatures as the HKP servers are. Thus we
don't clean the key anymore so that key certifications are kept even
if the public key has not yet been imported.
See-commit: 6c26e593df51475921410ac97e9227df6b258618
GnuPG-bug-id: 5387
Diffstat (limited to 'g10/options.h')
| -rw-r--r-- | g10/options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index fca23cb5c..2c558d2e7 100644 --- a/g10/options.h +++ b/g10/options.h @@ -259,6 +259,9 @@ struct /* The next flag is set internally iff IMPORT_SELF_SIGS_ONLY has * been set by the user and is not the default value. */ unsigned int expl_import_self_sigs_only:1; + /* The next flag is set internally iff IMPORT_CLEAN has + * been set by the user and is not the default value. */ + unsigned int expl_import_clean:1; } flags; /* Linked list of ways to find a key if the key isn't on the local |
