aboutsummaryrefslogtreecommitdiffstats
path: root/scd/scdaemon.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-04-26 13:32:51 +0000
committerWerner Koch <[email protected]>2021-04-26 13:32:51 +0000
commit4fcfac6feb2a6c2b14883ba406afc917e8d4be42 (patch)
treeec4d6b9397db49f89da6a8f4d8af14857794852c /scd/scdaemon.c
parentgpg: Do not use import-clean for LDAP keyserver imports. (diff)
downloadgnupg-4fcfac6feb2a6c2b14883ba406afc917e8d4be42.tar.gz
gnupg-4fcfac6feb2a6c2b14883ba406afc917e8d4be42.zip
gpg: Fix mailbox based search via AKL keyserver method.
* g10/keyserver.c (keyserver_import_name): Rename to ... (keyserver_import_mbox): this. And use mail search mode. * g10/getkey.c (get_pubkey_byname): Change the two callers. -- In contrast to a search via keyserver_import_ntds the older keyserver_import_name used a full match of the provided name despite that it is only called with an addr-spec (mbox). Due to the mode the pattern send to dirmngr was prefixed with a '=' and thus dirmngr used an exact search;. This did only work for provided user ids like "[email protected]" but not for "<[email protected]>" or "Foo <[email protected]>". The old code dates back to 2010. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/scdaemon.c')
0 files changed, 0 insertions, 0 deletions