[Pgp-tools-commit] r119 - trunk/caff

Christoph Berg myon-guest at costa.debian.org
Wed Jul 6 11:49:21 UTC 2005


Author: myon-guest
Date: 2005-07-06 11:49:21 +0000 (Wed, 06 Jul 2005)
New Revision: 119

Modified:
   trunk/caff/README.many-keys
   trunk/caff/caff
Log:
note use of gpg-sign-args

Modified: trunk/caff/README.many-keys
===================================================================
--- trunk/caff/README.many-keys	2005-07-06 11:48:07 UTC (rev 118)
+++ trunk/caff/README.many-keys	2005-07-06 11:49:21 UTC (rev 119)
@@ -50,5 +50,14 @@
 
   See README.gpg-agent.
 
- -- Christoph Berg <cb at df7cb.de>  Sat,  2 Jul 2005 21:22:07 +0200
+* Use gpg-sign-args.
 
+  $CONFIG{'gpg-sign-args'} = "save";
+
+  This automatically saves the key after signing in gpg. The advantage is that
+  you do not have to type "save" for each key. The disadvantage is that you
+  cannot choose which UIDs to sign by answering "no" at the "Really sign?"
+  prompt any more; you will have *not* to send out some mails. (And you have
+  unwanted signatures lingering around in ~/.caff/gnupghome/pubring.gpg.)
+
+ -- Christoph Berg <cb at df7cb.de>  Wed,  6 Jul 2005 13:46:16 +0200

Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2005-07-06 11:48:07 UTC (rev 118)
+++ trunk/caff/caff	2005-07-06 11:49:21 UTC (rev 119)
@@ -156,7 +156,7 @@
 
 =item B<gpg-sign-args> [string]
 
-Additional arguments to pass to gpg. Default: none.
+Additional arguments to pass to gpg.  Default: none.
 
 =head2 Keyserver settings
 
@@ -822,9 +822,9 @@
 		push @command, '--local-user', $USER if (defined $USER);
 		push @command, "--homedir=$GNUPGHOME";
 		push @command, '--secret-keyring', $CONFIG{'secret-keyring'};
-		push @command, split ' ', $CONFIG{'gpg-sign-args'} || "";
 		push @command, '--edit', $keyid;
 		push @command, 'sign';
+		push @command, split ' ', $CONFIG{'gpg-sign-args'} || "";
 		print join(' ', @command),"\n";
 		system (@command);
 	};





More information about the Pgp-tools-commit mailing list