Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: yum install cannot import the gpg key: signature 9 doesn't bind subkey to key, type is subkey revocation
Product: Red Hat Enterprise Linux 7 Reporter: Michal Dekan <mdekan>
Component: yumAssignee: Pavla Kratochvilova <pkratoch>
Status: CLOSED ERRATA QA Contact: Luca Berton <lberton>
Severity: unspecified Docs Contact: Mariya Pershina <mpershin>
Priority: high    
Version: 7.6CC: james.antill, knemcova, lberton, mdomonko, mpershin, pkratoch, vhutsky
Target Milestone: rcKeywords: AutoVerified, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 20:18:04 UTC Type: Bug
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: 1780581    

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