Fix multiple uids in gpg keys

Currently, gpg keys with multiple uid won't work for the following use case:

  • Package import:

    Package import will fail as the regexp matching gpg uids only match the primary uid.

  • Begin added to user profile:

    Only the primary uid will be matched using uid fingerprint:

gpg --with-colons < key.gpg fails to print uid fingerprint

gpg --with-colons --import --import-options show-only < key.gpg succeed

https://unix.stackexchange.com/questions/335669/gnupg-2-1-16-with-fingerprint-no-longer-works-to-show-fingerprints

Merge request reports

Loading