From: weasel Date: Mon, 27 Jun 2005 16:47:54 +0000 (+0000) Subject: Add description X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=f575aee972b1dc5645c1615ceb03803ab5c1e741;p=pgp-tools.git Add description git-svn-id: svn://svn.debian.org/pgp-tools/trunk@83 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/pgp-fixkey b/caff/pgp-fixkey index ca00698..75da794 100755 --- a/caff/pgp-fixkey +++ b/caff/pgp-fixkey @@ -33,22 +33,21 @@ =head1 NAME -pgp-clean -- remove all non-self signatures from key +pgp-fixkey -- remove broken packets from keys =head1 SYNOPSIS =over -=item B I [I ...] +=item B I [I ...] =back =head1 DESCRIPTION -B 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 B). +B removes broken packets from keys in the GnuPG keyring that make +GnuPG spew ugly warnings. It takes a list of keyids on the command line and +only cleans those keys. =head1 OPTIONS @@ -76,8 +75,6 @@ caff(1), gpg(1). Peter Palfrader -This manpage was written in POD by Christoph Berg . - =cut use strict; @@ -230,7 +227,7 @@ my $KEYEDIT_DELSUBKEY_PROMPT = '^\[GNUPG:\] GET_BOOL keyedit.remove.subkey'; sub usage() { - print STDERR "pgp-clean $VERSION - (c) 2004, 2005 Peter Palfrader\n"; + print STDERR "pgp-fixkey $VERSION - (c) 2004, 2005 Peter Palfrader\n"; print STDERR "Usage: $PROGRAM_NAME [ ...]\n"; exit 1; }; @@ -247,9 +244,6 @@ for my $keyid (@ARGV) { }; -################## -# export and prune -################## KEYS: for my $keyid (@KEYIDS) { # get key listing