Bug 197720 - yum info gpg-pubkey.None inserts a space in the first line of displayed gpg key
yum info gpg-pubkey.None inserts a space in the first line of displayed gpg key
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-05 15:12 EDT by Till Maas
Modified: 2014-01-21 17:54 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-05 16:13:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Till Maas 2006-07-05 15:12:00 EDT
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 16:13:58 EDT
checked in the fix into yum 2.6 branch and yum head.

thanks.


Note You need to log in before you can comment on or make changes to this bug.