Skip to content

Automatically remove old PGP keys from the RPM database

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
COPYING
GPL-3.0
COPYING.GPL
Notifications You must be signed in to change notification settings

svarshavchik/clean-rpm-gpg-pubkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clean-rpm-gpg-pubkey

A short Perl script for Fedora that removes old PGP keys from the RPM database. Each Fedora release uses a different PGP keys, but there's nothing in Fedora (at this time) that automatically removes prior Fedora releases' PGP keys.

So, after updating Fedora releases, a few times, old PGP keys accumulate. If an old PGP key was compromised (this has happened once before) everyone needs to scramble and remove the affected PGP keys. Well, you've already done that, so rest easy.

Nothing to install here, just download and run the script, but curl needs to be installed, in all cases (even if all keys are local). There's a --dry-run option that does nothing but list the affected PGP keys that would be removed. Running the script without arguments does it for real.

About

Automatically remove old PGP keys from the RPM database

Resources

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
COPYING
GPL-3.0
COPYING.GPL

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages