RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1778784 - yum install cannot import the gpg key: signature 9 doesn't bind subkey to key, type is subkey revocation
Summary: yum install cannot import the gpg key: signature 9 doesn't bind subkey to key...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: yum
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Pavla Kratochvilova
QA Contact: Luca Berton
Mariya Pershina
URL:
Whiteboard:
Depends On:
Blocks: 1780581
TreeView+ depends on / blocked
 
Reported: 2019-12-02 13:51 UTC by Michal Dekan
Modified: 2023-03-24 16:16 UTC (History)
7 users (show)

Fixed In Version: yum-3.4.3-168.el7
Doc Type: Bug Fix
Doc Text:
.*YUM* can now install RPM packages signed with GPG keys with revoked subkeys Previously, the *YUM* utlity could not install RPM packages signed with GNU Privacy Guard (GPG) keys with revoked subkeys. Consequently, *YUM* failed with the following error message: ---- signature X doesn't bind subkey to key, type is subkey revocation ---- This update introduces a change in the code that checks revocation before checking binding signature. As a result, *YUM* can now install RPM packages signed with GPG keys with revoked subkeys.
Clone Of:
Environment:
Last Closed: 2020-09-29 20:18:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3979 0 None None None 2020-09-29 20:18:12 UTC

Description Michal Dekan 2019-12-02 13:51:37 UTC
Description of problem:

Please see 1778763 for full details.

 gpg --with-fingerprint /tmp/checkmk/mk-pubkey.gpg 
pub  4096R/C4503261 2018-02-04 Check_MK Software Release Signing Key (2018) <feedback>
      Key fingerprint = B1E7 1065 75B7 23F0 0611  C612 434D AC48 C450 3261
uid                            Check_MK Software Daily Build Signing Key (2018) <feedback>
sub  4096R/DFAC48ED 2018-02-04
sub  4096R/8EBC67DA 2018-02-04 [revoked: 2018-02-04]
sub  4096R/F797A5BE 2018-02-04 [revoked: 2018-02-04]

~~~
Downloading packages:
warning: /tmp/checkmk/check-mk-enterprise-1.6.0p6.demo-el7-38.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID c4503261: NOKEY
Public key for check-mk-enterprise-1.6.0p6.demo-el7-38.x86_64.rpm is not installed
Retrieving key from file:///tmp/checkmk/mk-pubkey.gpg


Invalid GPG Key from file:///tmp/checkmk/mk-pubkey.gpg: signature 9 doesn't bind subkey to key, type is subkey revocation
~~~


Version-Release number of selected component (if applicable):

yum-3.4.3-161.el7.noarch

How reproducible: 100 %

Actual results:

yum install check-mk-enterprise-1.6.0p6.demo
...
...
...

warning: /tmp/checkmk/check-mk-enterprise-1.6.0p6.demo-el7-38.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID c4503261: NOKEY
Public key for check-mk-enterprise-1.6.0p6.demo-el7-38.x86_64.rpm is not installed
Retrieving key from file:///tmp/checkmk/mk-pubkey.gpg


Invalid GPG Key from file:///tmp/checkmk/mk-pubkey.gpg: signature 9 doesn't bind subkey to key, type is subkey revocation



Expected results:

Yum is able to import gpg key during yum install

Additional info:

Comment 24 errata-xmlrpc 2020-09-29 20:18:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (yum bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3979


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