Re: How do I remove expired signatures?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ToddAndMargo via users wrote:
> Fedora 38
> 
> $ rpm -qa
> ...
> :error: Verifying a signature using certificate
> 09E55FAF4F7862CD6D558997CDFB5FA52007B954 (Metasploit
> <metasploit@xxxxxxxxxx>):
>   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@xxxxxxxxxxxxxxxxxx>):
>   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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux