Installing packages and running some commands fail with GPG related errors after updating system wide crypto policies

Solution Unverified - Updated -

Issue

Several commands including yum, rpm, sos, etc fail:

# rpm -v --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
error: Certificate FCD355B305707A62:
  Policy rejects FCD355B305707A62: Policy rejected non-revocation signature (DirectKey) requiring second pre-image resistance
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: key 3 import failed.

# sos report
Could not obtain installed package list

Environment

  • Red Hat Enterprise Linux 10.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content