From 100037ac0f558e8959fc065d4703c85c2962489e Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 25 Apr 2021 20:03:07 +0200 Subject: 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. --- g10/trustdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/trustdb.c') 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)); -- cgit v1.2.3