ToddAndMargo via users wrote:
> Fedora 38
> 
> $ rpm -qa
> ...
> :error: Verifying a signature using certificate
> 09E55FAF4F7862CD6D558997CDFB5FA52007B954 (Metasploit
> <metaspl...@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:hawkeye116...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to