• Alexis Reigel's avatar
    improve gpg key validation · f1ccecc9
    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.
    f1ccecc9
gpg_key.rb 2.55 KB