Home GnuPG

Fix check for newer key when looking for best key for an email address

Description

Fix check for newer key when looking for best key for an email address

Take the creation time of the newest suitable subkey instead of the
creation time of the last suitable subkey. The subkeys are not
necessarily sorted by creation time.
(cf. pubkey_cmp() in getkey.c in gnupg)