-
Notifications
You must be signed in to change notification settings - Fork 49
Updating GPG keys
Dave M edited this page Jun 22, 2018
·
2 revisions
If you have attempted to verify ClamTk rpms and saw this error:
rpm --checksig clamtk-5.25-1.el7.noarch.rpm
clamtk-5.25-1.el7.noarch.rpm: RSA sha1 ((MD5) PGP) md5 NOT OK (MISSING KEYS: (MD5) PGP#6ada59de)
It's time to update your GPG key!
-
First, remove the older one like so:
rpm -e gpg-pubkey-c8128867-4a2af68e
-
Download and import the new key with the rpm command:
rpm --import https://davem.fedorapeople.org/RPM-GPG-KEY-DaveM-21-June-2018
-
Verify rpm has the key:
`rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n' -
Finally, check the sig:
rpm -K clamtk-*.rpm
You should see something like this:
clamtk-5.25-1.el7.noarch.rpm: rsa sha1 (md5) pgp md5 OK
clamtk-5.25-1.fc.noarch.rpm: rsa sha1 (md5) pgp md5 OK