I just stumbled upon
https://unix.stackexchange.com/questions/400634/does-anyone-bother-to-rem...
with the nice link to:
https://blog.laimbock.com/2014/05/02/how-to-remove-an-imported-gpg-key-fr...
And I wonder: is it a good idea to keep old gpg keys in RPM db? Or should we automate
the
removal of old keys?
Yes, I'm replying to this old thread. See it in the list archives. And, since then,
doesn't look much has changed. Old pgp keys are still gathering dust, in
everyone's rpm databases.
I had nothing else to do this lazy Sunday afternoon, so I finally decided to do something
about it. This cleaned up over 40 old PGP keys from one of my laptop:
https://github.com/svarshavchik/clean-rpm-gpg-pubkey