Home GnuPG
Diffusion GnuPG 2af217ecd7e4

gpg: Allow fingerprint based lookup with --locate-external-key.

Description

gpg: Allow fingerprint based lookup with --locate-external-key.

* g10/keyserver.c (keyserver_import_fprint_ntds): New.
* g10/getkey.c (get_pubkey_byname): Detect an attempt to search by
fingerprint in no_local mode.

See the man page. For testing use

gpg --auto-key-locate local,wkd,keyserver --locate-external-key  \
  FINGERPRINT

with at least one LDAP keyserver given in dirmngr.conf. On Windows
"ntds" may be used instead or in addtion to "keyserver".

(cherry picked from commit ec36eca08cdbf6653e7362e8e0e6c5f2c75b4a60)

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 21 2021, 6:32 PM
Parents
rGb59af0e2a05a: gpg: Lookup a missing public key of the current card via LDAP.
Branches
Unknown
Tags
Unknown