• Alexis Reigel's avatar
    improve gpg key validation · 02d07c75595b
    Alexis Reigel authored
    when omitting the end part of the key ('-----END PGP PUBLIC KEY
    BLOCK-----') the error message was not about the key anymore, but about
    the missing fingerprint and primary_keyid, which was confusing for the
    user.
    the new validation checks that the end also matches the expected format.
    02d07c75595b