Red Hat Bugzilla – Bug 197720
yum info gpg-pubkey.None inserts a space in the first line of displayed gpg key
Last modified: 2014-01-21 17:54:54 EST
Description of problem:
yum info gpg-pubkey.None display all installed gpg keys, with the key ascii
armoured as description of the pseudo package. It inserts an space before the
leading "-----", which makes the key invalid for rpm import.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum info gpg-pubkey.None | grep BEGIN
" -----BEGIN PGP PUBLIC KEY BLOCK-----"
^- this space is too much
"-----BEGIN PGP PUBLIC KEY BLOCK-----"
rpm refuses to import gpg keys that start with " -----BEGIN PGP PUBLIC KEY
BLOCK-----" (with extra space)
checked in the fix into yum 2.6 branch and yum head.