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 2184659 - CentOS Stream 9 - BaseOS GPG verification is broken
Summary: CentOS Stream 9 - BaseOS GPG verification is broken
Keywords:
Status: CLOSED DUPLICATE of bug 2184640
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gnupg2
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jakub Jelen
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-05 11:22 UTC by Nikita Uvarov
Modified: 2023-04-05 11:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-05 11:26:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2070722 0 medium CLOSED SHA-1 signatures work in DEFAULT 2024-01-04 08:37:07 UTC
Red Hat Issue Tracker RHELPLAN-154079 0 None None None 2023-04-05 11:24:04 UTC

Description Nikita Uvarov 2023-04-05 11:22:59 UTC
Description of problem:
I *think* that after release of gnupg2-2.3.3-3.el9 which deprecated SHA-1, CentOS Stream 9 - BaseOS repo verification was broken.

I haven't verified that it's specifically due to gnupg2 release, but the timing seem suspicious.

Version-Release number of selected component (if applicable):
gnupg2-2.3.3-3.el9

How reproducible:
Every time

Steps to Reproduce:
1. docker pull quay.io/centos/centos:stream9
2. docker run --rm -it quay.io/centos/centos:stream9 bash
3. dnf install -y vim
4. Get error:
The GPG keys listed for the "CentOS Stream 9 - BaseOS" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: vim-filesystem-2:8.2.2637-20.el9.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial

Actual results:
The GPG keys listed for the "CentOS Stream 9 - BaseOS" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: vim-filesystem-2:8.2.2637-20.el9.noarch
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Public key for which-2.21-28.el9.x86_64.rpm is not installed. Failing package is: which-2.21-28.el9.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
The GPG keys listed for the "CentOS Stream 9 - AppStream" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: gpm-libs-1.20.7-29.el9.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Public key for vim-common-8.2.2637-20.el9.x86_64.rpm is not installed. Failing package is: vim-common-2:8.2.2637-20.el9.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Public key for vim-enhanced-8.2.2637-20.el9.x86_64.rpm is not installed. Failing package is: vim-enhanced-2:8.2.2637-20.el9.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

Expected results:
vim package installed

Additional info:
This issue can be related: https://bugzilla.redhat.com/show_bug.cgi?id=2070722

Comment 1 Nikita Uvarov 2023-04-05 11:26:32 UTC
OK, seems like it just has been reported by someone else here https://bugzilla.redhat.com/show_bug.cgi?id=2184640.
Can be closed as a duplicate, sorry about that.

Comment 2 Nikita Uvarov 2023-04-05 11:26:52 UTC

*** This bug has been marked as a duplicate of bug 2184640 ***


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