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 2151679

Summary: remove obsoleted RHEL 8 gpgkeys after the upgrade
Product: Red Hat Enterprise Linux 8 Reporter: jcastran
Component: leapp-repositoryAssignee: Petr Stodulka <pstodulk>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Klusoň <mkluson>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.7CC: cbesson, sbrockme
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: leapp-repository-0.18.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-07 12:48:35 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:

Description jcastran 2022-12-07 19:38:08 UTC
Description of problem:
After upgrading from RHEL 8 to RHEL 9, all yum,rpm,subscription-manager commands output:

   warning: Signature not supported. Hash algorithm SHA1 not available.

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

How reproducible:
Everytime

Steps to Reproduce:
1. RHEL 8 system with gpg-pubkey-d4082792-5b32db75
2. leapp upgrade
3.

Actual results:
  # yum repolist
   warning: Signature not supported. Hash algorithm SHA1 not available.


Expected results:
The REHL 8 gpgkey should be removed. 

Additional info:
This can be seen if you try to import the key into RHEL 9 though RHEL 9 blocks the import. The issue is that RHEL 8 already had the key imported, before it was upgraded. 

# rpm --import d4082792.txt
warning: Signature not supported. Hash algorithm SHA1 not available.
error: d4082792.txt: key 1 import failed.


This is the Red Hat, Inc. (auxiliary key 2) <security>
 found here:
https://access.redhat.com/security/team/key

Comment 2 Petr Stodulka 2023-01-20 21:10:12 UTC
Thank you Chris for the report. I will raise the bug on the next planning.

Comment 3 Martin Klusoň 2023-06-07 12:48:35 UTC
Fixed in upstream by https://github.com/oamg/leapp-repository/pull/1022 and released during rebase in leapp-repository-0.17.0-10.el7_9

Comment 4 Martin Klusoň 2023-06-07 12:52:34 UTC
* in leapp-repository-0.18.0-1.el8