Bug 200739
Summary: | rpm --import of a keyfile with signatures results in bad gpg-pubkey database entry | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Bastien Nocera <bnocera> |
Component: | rpm | Assignee: | Paul Nasrat <nobody+pnasrat> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHBA-2007-0315 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-05-01 22:53:30 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
Bastien Nocera
2006-07-31 14:04:43 UTC
$ rpm -q rpm rpm-4.3.3-13_nonptl $ gpg --keyserver pgp.mit.edu --recv-keys 30c9ecf8 gpg: key 30C9ECF8: "Fedora Project (Test Software) <rawhide>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 $ gpg --export -a 30c9ecf8 > key7.txt $ gpg key7.txt pub 1024D/30C9ECF8 2003-10-27 Fedora Project (Test Software) <rawhide> $ sudo rpm --import key7.txt Password: $ rpm -q gpg-pubkey --last | head -1 gpg-pubkey-5a2457cf-429f0aee Sat 22 Jul 2006 10:40:40 AM EDT $ rpm -qi gpg-pubkey-5a2457cf-429f0aee > foo.txt $ gpg foo.txt pub 1024D/30C9ECF8 2003-10-27 Fedora Project (Test Software) <rawhide> So it's just the package name that's wrong, the data is still right though. rpm-4.4.2 and later calculate the fingerprint correctly, rather than relying on field within the pubkey for the fingerprint. Either use gpg to edit the pubkey packets before importing, or upgrade/backport the changes in rpm-4.4.2. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0315.html |