PGP-FIXKEY(1)
π PGP-FIXKEY π
okay bestie, so this is pgp-fixkey, and it lives in the User Contributed Perl Documentation corner of the manual-page universe π (yeah, it's a perl script, we love a perl script, no notes)
β¨ NAME β¨
pgp-fixkey β remove broken packets from keys π§Ήβ¨
like. it goes in there and it cleans up the mess. that's the whole job. iconic behavior tbh.
πΈ SYNOPSIS πΈ
pgp-fixkey [keyid [keyid ...]]
π¦ DESCRIPTION π¦
so here's the vibe: pgp-fixkey removes broken packets from keys in the GnuPG keyring β specifically the ones that make GnuPG spew ugly warnings π like, every time you run gpg and it starts yelling at you in red text for reasons that are honestly not your fault? that is what this fixes. it's giving spring cleaning but for your keyring. it's giving β¨closureβ¨.
and it optionally takes a list of keyids on the command line, and if you give it some, it only cleans those keys. very choose-your-own-adventure. very picky-eater-but-make-it-helpful π
no keyids? it does its thing across the keyring. keyids? it stays in its lane. both are valid, both slay π
π OPTIONS π
keyidβ Use this key. π«Ά (give it one of these and it'll only touch that key. give it several and, well, you already know β it's a list, bestie.)
π ENVIRONMENT π
the environment variables. because apparently configuration needed a whole personality. here we go:
HOMEβ The default home directory. π your cozy little corner of the filesystem.GNUPGBINβ The gpg binary. Default:gpg. π₯ (so like, if your gpg is somewhere weird, tell it here.)GNUPGHOMEβ The default working directory for gpg. Default:$HOME/.gnupg. π
β FILES β
$HOME/.gnupg/pubring.gpgβ default GnuPG keyring π (the main character. the one getting the glow-up.)
π₯ SEE ALSO π₯
go read those too, they're part of the lore, iykyk π
π AUTHOR π
Peter Palfrader <peter@palfrader.org> β thank you for your service, king π
fr fr this page is from perl v5.40.1, dated 2026-02-09, and it's filed under PGP-FIXKEY(1). go fix your keys bestie, your keyring deserves to be pretty ππ
β¨
π¦ where this page comes from
- ubuntu resolute: signing-party 2.12-1build1 Β· BSD-3-Clause
- ubuntu stonking: signing-party 2.12-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms