note use of gpg-sign-args
authormyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 6 Jul 2005 11:49:21 +0000 (11:49 +0000)
committermyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 6 Jul 2005 11:49:21 +0000 (11:49 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@119 b513b33f-fedd-0310-b452-c3deb5f4c849

caff/README.many-keys
caff/caff

index 235a6e27c27c6876d2e5565009b0422b0ae12bc8..d624eea047e800ba2d47638536aa210b2d6af34b 100644 (file)
@@ -50,5 +50,14 @@ Some hints to get the signing done faster:
 
   See README.gpg-agent.
 
- -- Christoph Berg <cb@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@df7cb.de>  Wed,  6 Jul 2005 13:46:16 +0200
index 1595a23b94f9dd65258fccfefb044f1ef0b51823..a19bd90da45acef8c5f0c7e8110a54b3133e548c 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -156,7 +156,7 @@ An additional keyid to encrypt messages to. Default: none.
 
 =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 @@ unless ($CONFIG{'no-sign'}) {
                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);
        };