pgp-clean -- remove all non-self signatures from key
Contents
Description
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. Its use is to reduce the size of keys sent
out after signing (e.g. with caff).
Environment
HOME
The default home directory.
GNUPGBIN
The gpg binary. Default: "gpg".
GNUPGHOME
The default working directory for gpg. Default: "$HOME/.gnupg".
Files
$HOME/.gnupg/pubring.gpg - default GnuPG keyring
Name
pgp-clean -- remove all non-self signatures from key
Options
-s--export-subkeys
Do not remove subkeys. (Pruned by default.)
keyid
Use this key.
See Also
caff(1), gpg(1).
Synopsis
pgp-clean [-s] keyid [keyid ...]
