Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 109387

Summary: key import issues w/ up2date
Product: [Fedora] Fedora Reporter: Chris Ricker <chris.ricker>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED CURRENTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: nobody+pnasrat
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: 2004-08-24 20:58:53 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:
Bug Depends On:    
Bug Blocks: 109188    

Description Chris Ricker 2003-11-07 12:37:20 UTC
[root@skuld root]# up2date --nox -u
Your GPG keyring does not contain the Red Hat, Inc. public key.
Without it, you will be unable to verify that packages Update Agent
downloads
are securely signed by Red Hat.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

    rpm --import /usr/share/rhn/RPM-GPG-KEY

[root@skuld root]# rpm --import /usr/share/rhn/RPM-GPG-KEY
[root@skuld root]# up2date --nox -u
Your GPG keyring does not contain the Red Hat, Inc. public key.
Without it, you will be unable to verify that packages Update Agent
downloads
are securely signed by Red Hat.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

    rpm --import /usr/share/rhn/RPM-GPG-KEY

[root@skuld root]# 

At a minimum, the instructions appear very wrong ;-)

This actually happens with the GUI-ified version as well. If I import
there, it still gives me the "key missing" message when I run a second
time

Comment 1 Chris Ricker 2003-11-07 12:40:24 UTC
The problem isn't w/ keys not getting imported -- the rpm side seems
to work fine:

[root@skuld root]# rpm -qa | grep ^gpg
gpg-pubkey-897da07a-3c979a7f
gpg-pubkey-e418e3aa-3f439953
gpgme-0.4.0-0.fdr.2.rh90.93
[root@skuld root]# rpm --import /usr/share/rhn/RPM-GPG-KEY
[root@skuld root]# rpm -qa | grep ^gpg
gpg-pubkey-db42a60e-37ea5438
gpg-pubkey-897da07a-3c979a7f
gpg-pubkey-e418e3aa-3f439953
gpgme-0.4.0-0.fdr.2.rh90.93
[root@skuld root]# up2date --nox -u
Your GPG keyring does not contain the Red Hat, Inc. public key.
Without it, you will be unable to verify that packages Update Agent
downloads
are securely signed by Red Hat.

Your Update Agent options specify that you want to use GPG.

To install the key, run the following as root:

    rpm --import /usr/share/rhn/RPM-GPG-KEY

[root@skuld root]# 

Comment 2 Chris Ricker 2003-11-07 12:42:18 UTC
Ah, there's now an additional key

[root@skuld root]# rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora
[root@skuld root]# up2date --nox -u

Fetching package list for channel: fedora-core-1...

Fetching
http://fedora.redhat.com/releases/fedora-core-1/headers/header.info...
########################################

Fetching package list for channel: updates-released...

Fetching
http://fedora.redhat.com/updates/released/fedora-core-1/headers/header.info...
########################################

Fetching Obsoletes list for channel: fedora-core-1...

Fetching Obsoletes list for channel: updates-released...

Fetching rpm headers...

Name                                    Version        Rel     
----------------------------------------------------------

All packages are currently up to date
[root@skuld root]# 

The text needs to be fixed (and the key importing logic in the gui)

up2date-4.1.16-1