Patch for ca-dosign?

Theo Van Dinter felicity@kluge.net
Mon, 5 Jul 2004 02:55:33 -0400


--wxDdMuZNg1r63Hyj
Content-Type: multipart/mixed; boundary="4SFOXa2GPu3tIq4H"
Content-Disposition: inline


--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jul 04, 2004 at 11:17:06AM +0200, Joost van Baal wrote:
> You can sent it to this list.

Ok, it's attached to this message. :)

> Joost (who wants to use gpg the way you do it for a long time now: it's
> a pretty neat setup.  So your patch likely is very useful.)

Thanks.  I picked up the idea from some of the folks at a keysigning at
LISA 2003. :)

The patch is actually very trivial.  It just has ca-dosign pass the
"--default-key" parameter to gpg when doing the edit/sign command.

--=20
Randomly Generated Tagline:
"Besides, I wasn't envisioning building the full scale, "hurl flaming tar
 filled pottery at peasants over castle walls" type of trebuchet. More
 like the "hurl flaming jet puffed marshmallows at chipmunks over the
 picnic table" trebuchet. :-)"   - Timothy MacDonald

--4SFOXa2GPu3tIq4H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="defaultkey.patch"
Content-Transfer-Encoding: quoted-printable

diff -ur cabot-20030726.orig/ca-dosign cabot-20030726/ca-dosign
--- cabot-20030726.orig/ca-dosign	2003-07-26 06:41:19.000000000 -0400
+++ cabot-20030726/ca-dosign	2004-07-04 01:02:21.000000000 -0400
@@ -179,7 +179,7 @@
=20
=20
 	print "calling GnuPG\n";
-	system('gpg', '--edit', $keyid, @ARGS, 'sign', 'save', 'quit');
+	system('gpg', '--default-key', $CONFIG{'keyid'}, '--edit', $keyid, @ARGS,=
 'sign', 'save', 'quit');
 	#system("gpg --sign-key $keyid");
=20
 	print "Continue? [Y/n] ";

--4SFOXa2GPu3tIq4H--

--wxDdMuZNg1r63Hyj
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA6Ptl7tgKAJaXVyoRAq20AKCwRCAPjpPa1Xm5GDyvMY2XRux9owCeK4xH
YRLbn5o8bJBum4p7f4k91Vk=
=CyWE
-----END PGP SIGNATURE-----

--wxDdMuZNg1r63Hyj--