diff options
author | Werner Koch <[email protected]> | 2021-04-25 18:03:07 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-04-25 18:03:07 +0000 |
commit | 100037ac0f558e8959fc065d4703c85c2962489e (patch) | |
tree | 67bbdbb9102b4c8b1701fbb054280b64f25af184 /g10/trustdb.c | |
parent | scd:p15: Fix last commit and improve D-TRUST detection. (diff) | |
download | gnupg-100037ac0f558e8959fc065d4703c85c2962489e.tar.gz gnupg-100037ac0f558e8959fc065d4703c85c2962489e.zip |
gpg: Auto import keys specified with --trusted-keys.
* g10/getkey.c (get_pubkey_with_ldap_fallback): New.
* g10/trustdb.c (verify_own_keys): Use it.
Diffstat (limited to 'g10/trustdb.c')
-rw-r--r-- | g10/trustdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/trustdb.c b/g10/trustdb.c index 0b9625ea6..43bce0769 100644 --- a/g10/trustdb.c +++ b/g10/trustdb.c @@ -340,7 +340,7 @@ verify_own_keys (ctrl_t ctrl) PKT_public_key pk; memset (&pk, 0, sizeof pk); - rc = get_pubkey (ctrl, &pk, k->kid); + rc = get_pubkey_with_ldap_fallback (ctrl, &pk, k->kid); if (rc) log_info(_("key %s: no public key for trusted key - skipped\n"), keystr(k->kid)); |