PGP-CLEAN(1)

πŸ’– PGP-CLEAN β€” it's giving "clean your keys, bestie" πŸ’…

okay so real talk, this is the pgp-clean manpage from the User Contributed Perl Documentation crew, and it is ✨lowkey iconic✨. it does exactly one thing and it does it flawlessly, no notes, periodt.


🌸 NAME 🌸

pgp-clean β€” remove all non-self signatures from key. yes that's it. that's the whole personality. a girl who deletes things. 🧹✨


πŸŽ€ SYNOPSIS πŸŽ€

pgp-clean [-s] keyid [keyid ...]

look at her. simple. elegant. ate.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea bestie β˜• β€” pgp-clean takes a list of keyids on the command line and outputs an ascii-armored keyring on stdout for each key, with all signatures except self-signatures stripped out. πŸ’€

the way that it's for shrinking keys before you send them out after signing (like, say, with caff)? yeah. that's the whole vibe check. it's the "declutter my life" of GnuPG. 🧚


✨ OPTIONS ✨

  • -s, --export-subkeys β€” do not remove subkeys. (they get pruned by default, no cap. 🫢)
  • keyid β€” use this key. that's the one you're cleaning, girl. 🌈

πŸ’œ ENVIRONMENT πŸ’œ

  • HOME β€” the default home directory. it's home. 🏠
  • GNUPGBIN β€” the gpg binary. default: gpg.
  • GNUPGHOME β€” the default working directory for gpg. default: $HOME/.gnupg.

πŸ“ FILES πŸ“

  • $HOME/.gnupg/pubring.gpg β€” default GnuPG keyring. that's the girlypop in question. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€

the besties it runs with. iykyk. πŸ”₯


πŸ’… AUTHOR πŸ’…

Peter Palfrader <peter@palfrader.org> β€” the main character who made this happen. 😌

this manpage was written in POD by Christoph Berg <cb@df7cb.de>. shoutout to the documentation queen. πŸŽ€


and that's the whole page, bestie!! πŸŒΈπŸ¦‹πŸ’–

this lil slice of Unix wisdom came to you via perl v5.40.1, dated 2026-02-09. obsessed. mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from