Installing packages and running some commands fail with GPG related errors after updating system wide crypto policies
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.