Search for PGP subkeys in a keyserver-acceptable way
commitdef9e45affaf5212cd10b71a55f0b668f2e73ee4
authorDan McGee <dan@archlinux.org>
Thu, 5 Jan 2012 22:34:51 +0000 (5 16:34 -0600)
committerDan McGee <dan@archlinux.org>
Thu, 5 Jan 2012 22:34:51 +0000 (5 16:34 -0600)
tree2655de030e8d6159efd1c6c30bc112cd20e51320
parentf1d9b0a74a9e38dc9e6153eac76f4c2482fd24aa
Search for PGP subkeys in a keyserver-acceptable way

PGP keyservers are pieces of sh** when it comes to searching for
subkeys, and only allow it if you submit an 8-character fingerprint
rather than the recommended and less chance of collision 16-character
fingerprint.

Add a second remote lookup for the 8-character version of a key ID if we
don't find anything the first time we look up the key. This fixes
FS#27612 and the deficiency has been sent upstream to the GnuPG users
mailing list as well.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/signing.c