aboutsummaryrefslogtreecommitdiffstats
path: root/common/mbox-util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-03-20 12:29:20 +0000
committerWerner Koch <[email protected]>2015-03-20 12:29:20 +0000
commit783a4a98378fa1aa222d5cb7427dd37151feb08b (patch)
treedb187bef2a5be9751c78b4aae01c093f8075534a /common/mbox-util.h
parentcommon: Fix syntax error when building with gnutls (diff)
downloadgnupg-783a4a98378fa1aa222d5cb7427dd37151feb08b.tar.gz
gnupg-783a4a98378fa1aa222d5cb7427dd37151feb08b.zip
gpg: Find keys using mail addresses with garbage after the '>'
* kbx/keybox-search.c (blob_cmp_mail): Stop comparing at the '>'. -- This change allows to find mail addresses like Joe Doe <[email protected]> bar Joe Doe <[email protected]> (comment) using the command gpg -k '<[email protected]' or (with syntactic sugar) gpg -k '<[email protected]>' These UIDs are ill-formed according to gpg checks but nevertheless are seen in the wild. Note, that it does only work with the new keybox format. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/mbox-util.h')
0 files changed, 0 insertions, 0 deletions