cabot ca-dosign

Joost van Baal joostvb-savannah@mdcc.cx
Wed, 23 Jul 2003 11:24:03 -0400


CVSROOT:	/cvsroot/cabot
Module name:	cabot
Branch: 	
Changes by:	Joost van Baal <joostvb-savannah@mdcc.cx>	03/07/23 11:24:03

Modified files:
	.              : ca-dosign 

Log message:
	added manpage, add fancy headers to email

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/cabot/cabot/ca-dosign.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: cabot/ca-dosign
diff -u cabot/ca-dosign:1.4 cabot/ca-dosign:1.5
--- cabot/ca-dosign:1.4	Wed Jul 23 10:44:48 2003
+++ cabot/ca-dosign	Wed Jul 23 11:24:03 2003
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# ca-process et al are Copyright (C) 1998 Ian Jackson
+# ca-dosign et al are Copyright (C) 1998 Ian Jackson
 #                                (C) 2001,2003 Peter Palfrader
 #
 # This program is free software; you can redistribute it and/or modify
@@ -33,6 +33,7 @@
 	warn "couldn't parse $_: $@" if $@;
 };
 
+my $revision = '$Revision: 1.5 $';
 
 sub send_mail($$$) {
 	my ($to, $subject, $body) = @_;
@@ -42,7 +43,8 @@
 To: $to
 Bcc: $CONFIG{'BCCmail'}
 From: $CONFIG{'bot'}
-User-Agent: pp-ca 0.1, (c) 1998 Ian Jackson, 2001 Peter Palfrader
+User-Agent: cabot $revision, (c) 1998 Ian Jackson, 2001 Peter Palfrader
+X-URL: http://www.palfrader.org/cabot/
 Content-Type: text/plain
 
 $body
@@ -302,3 +304,65 @@
 	};
 
 };
+
+
+__END__
+
+=pod
+
+=head1 NAME
+
+ca-dosign - ask user to sign PGP keys before mailing them
+
+=head1 SYNOPSIS
+
+B<ca-dosign>
+
+=head1 DESCRIPTION
+
+B<ca-dosign> is an interactive program.  For every keyid in tosign/, it fetches
+public keys from an OpenPGP keyserver.  It prints a list of uids, for which
+cabot successfully handled ID verification.  It calls gpg(1) in interactive
+mode, to allow the user to perform the signing.  It uploads the signed key
+(after getting an acknowledgement from the user).  It sends an email to the key
+ID, holding the ascii-armored signed public key (again, after an
+acknowledgement).
+
+Once completed, it moves all stuff in tosign/ to done/ .
+
+B<ca-dosign> is one of the ca-bot scripts, see ca-bot(7) for more information.
+
+=head1 SEE ALSO
+
+ca-bot(7)
+
+=head1 VERSION
+
+$Id: ca-dosign,v 1.5 2003/07/23 15:24:03 joostvb Exp $
+
+=head1 COPYRIGHT
+
+ca-dosign et al are Copyright (C) 1998 Ian Jackson, (C) 2001 Peter Palfrader
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Privacy Guard; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.
+
+=head1 AUTHORS
+
+Ian Jackson and Peter Palfrader
+
+=cut
+
+