Determining which GPG keys are installed

From V.S.V., Inc.
Jump to navigation Jump to search

If you are on a Red Hat type machine, you can can run the following command to see which GPG keys are installed.

rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'

You should see something similar to the following:

gpg-pubkey-e8562897-459f07a4 --> gpg(CentOS-5 Key (CentOS 5 Official Signing Key) <>)
gpg-pubkey-217521f6-45e8a532 --> gpg(Fedora EPEL <>)