https://www.elrepo.org/RPM-GPG-KEY-elrepo.org: key 1 import failed

VERSION=“10.1 (Red Quartz)”
ID=“rocky”

rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
error: Certificate 309BC305BAADAE52:
Policy rejects 309BC305BAADAE52: Policy rejected asymmetric algorithm
error: https://www.elrepo.org/RPM-GPG-KEY-elrepo.org: key 1 import failed

This is not a bug tracker.

Did you read the front page on their site here?

Get started

Import the public keys:

# rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
# rpm --import https://www.elrepo.org/RPM-GPG-KEY-v2-elrepo.org

In el10, only RPM-GPG-KEY-v2-elrepo.org works.

Detailed info on the GPG key used by the ELRepo Project can be found on the Key page.
If you have a system with Secure Boot enabled, please see the SecureBoot page for more information.

The key portion is using the v2 key on el10.

2 Likes