ToddAndMargo via users wrote:
Fedora 38
$ rpm -qa
...
:error: Verifying a signature using certificate
09E55FAF4F7862CD6D558997CDFB5FA52007B954 (Metasploit
<metasploit(a)rapid7.com>):
1. Certificiate CDFB5FA52007B954 invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2019-09-02T13:04:52Z
2. Key CDFB5FA52007B954 invalid: key is not alive
because: The primary key is not live
because: Expired on 2019-09-02T13:04:52Z
error: Verifying a signature using certificate
E64C7A04DC653D07ACA3EA585E62D791625A271E (home:hawkeye116477 OBS Project
<home:hawkeye116477@build.opensuse.org>):
1. Certificiate 5E62D791625A271E invalid: certificate is not alive
because: The primary key is not live
because: Expired on 2021-02-27T20:48:15Z
2. Key 5E62D791625A271E invalid: key is not alive
because: The primary key is not live
because: Expired on 2021-02-27T20:48:15Z
Both of the programs associated have been removed,
but the signatures stayed.
How do I rid myself of these expired signatures?
List the gpg-pubkey packages:
rpm -qa --qf '%{NVR} %{summary}\n' gpg-pubkey
Then remove those with the matching summaries via `rpm -e`.
--
Todd