Skip to content

Updating GPG keys

Dave M edited this page Jun 22, 2018 · 2 revisions

HOWTO Update the ClamTk-associated GPG keys

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!

  1. First, remove the older one like so:
    rpm -e gpg-pubkey-c8128867-4a2af68e

  2. Download and import the new key with the rpm command:
    rpm --import https://davem.fedorapeople.org/RPM-GPG-KEY-DaveM-21-June-2018

  3. Verify rpm has the key:
    `rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'

  4. 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

Clone this wiki locally