Bug 197720

Summary: yum info gpg-pubkey.None inserts a space in the first line of displayed gpg key
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-05 20:13:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Till Maas 2006-07-05 19:12:00 UTC
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):

2.6.1-0

How reproducible:

always

Steps to Reproduce:
1. yum info gpg-pubkey.None | grep BEGIN

  
Actual results:
" -----BEGIN PGP PUBLIC KEY BLOCK-----"
 ^- this space is too much

Expected results:
"-----BEGIN PGP PUBLIC KEY BLOCK-----"

Additional info:

rpm refuses to import gpg keys that start with " -----BEGIN PGP PUBLIC KEY
BLOCK-----" (with extra space)

Comment 1 Seth Vidal 2006-07-05 20:13:58 UTC
checked in the fix into yum 2.6 branch and yum head.

thanks.