Matching RPM Key ID to actual GPG Key

Latest response

here is the Key ID for openscap.x86_64 (summary of "rpm -qpi [package file]"
)

warning: openscap-1.3.3-1.el7.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID a5345a06: NOKEY
......
Signature : RSA/SHA1, Tue 05 May 2020 02:32:06 AM NZST, Key ID 8562db43a5345a06
....

How do I convert "8562db43a5345a06" into the actual GPG key for download and import?

Regards, Ian Dennison

Responses

Hello Ian,

I can't find openscap-1.3.3-1.el7.x86_64.rpm. Do you know where it comes from?

The following article may answer your question: How can I check the GPG key used to sign an installed package on Red Hat Enterprise Linux.