Katello/katello — pull request #2879 by jhadvig (2013-09-04 11:26:00+00:00)
Title: 867435 - [RFE] Importing GPG file with some random text shouldn't be allowed

Adding an validator for GpgKey creation so the imported or pasted string contained a header and footer typical for gpg public keys

e.g.
"-----BEGIN PGP PUBLIC KEY BLOCK-----"
GPG KEY
"-----END PGP PUBLIC KEY BLOCK-----"