Home GnuPG

Display correct key ID for V5 keys

Description

Display correct key ID for V5 keys

Don't derive the key ID from the fingerprint ourselves. Instead take the
key ID of the primary subkey.

Moreover, remove useless checks for length of fingerprint and number of
user IDs. A non-null key always has a user ID.