From: myon-guest Date: Wed, 6 Jul 2005 11:49:21 +0000 (+0000) Subject: note use of gpg-sign-args X-Git-Url: https://git.sthu.org/?p=pgp-tools.git;a=commitdiff_plain;h=28addfdc51a5dd2dc4a6b7c027509963bc976611 note use of gpg-sign-args git-svn-id: svn://svn.debian.org/pgp-tools/trunk@119 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/caff/README.many-keys b/caff/README.many-keys index 235a6e2..d624eea 100644 --- a/caff/README.many-keys +++ b/caff/README.many-keys @@ -50,5 +50,14 @@ Some hints to get the signing done faster: See README.gpg-agent. - -- Christoph Berg 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 Wed, 6 Jul 2005 13:46:16 +0200 diff --git a/caff/caff b/caff/caff index 1595a23..a19bd90 100755 --- a/caff/caff +++ b/caff/caff @@ -156,7 +156,7 @@ An additional keyid to encrypt messages to. Default: none. =item B [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); };