* gpgparticipants: new script to create a participant list useful for
authorthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 5 Mar 2008 16:15:28 +0000 (16:15 +0000)
committerthijs <thijs@b513b33f-fedd-0310-b452-c3deb5f4c849>
Wed, 5 Mar 2008 16:15:28 +0000 (16:15 +0000)
  party organisers using the Zimmermann-Sassaman key-signing protocol.
  Thanks Philippe Teuwen (Closes: #467338).

git-svn-id: svn://svn.debian.org/pgp-tools/trunk@364 b513b33f-fedd-0310-b452-c3deb5f4c849

Makefile
README
debian/changelog
debian/control
debian/copyright
debian/install
gpgparticipants/gpgparticipants [new file with mode: 0755]
gpgparticipants/gpgparticipants.1 [new file with mode: 0644]

index 8b1794cea0ef5c996e102720f730b949acff253a..19ab77c5fc7589871a7db9b00506895a904cf150 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist keylookup
+DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist gpgparticipants keylookup
 VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/')
 DEBVERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: (.*)/')
 TGZ=../signing-party_$(VERSION).orig.tar.gz
diff --git a/README b/README
index 3dbf15c81dc0599848fd57c1f9c9ca9bef54bd49..21e97a44f7c68ad31ba35b4a6d7f3e2a8d1b620f 100644 (file)
--- a/README
+++ b/README
@@ -7,6 +7,8 @@ This is a collection of several projects relating to OpenPGP.
 * gpg-key2ps: generate PostScript file with fingerprint paper strips
 * gpglist: show who signed which of your UIDs
 * gpgsigs: annotates list of GnuPG keys with already done signatures
+* gpgparticipants: create a list of key signing party participants,
+  for use by the party organiser
 * keylookup: ncurses wrapper around gpg --search
 
 For more information on each of these tools, please see their respective
index 153ee22d1ca5008c3cfef1a78633229f4a47813f..99d215b0a97737af6ecc2cd5849def274e2d836f 100644 (file)
@@ -1,4 +1,4 @@
-signing-party (0.4.13-2) unreleased; urgency=low
+signing-party (0.4.14-1) unreleased; urgency=low
 
   [ Christoph Berg ]
   * gpglist: Do not barf on revokers (rvk). Thanks to Faidon Liambotis for
@@ -9,8 +9,11 @@ signing-party (0.4.13-2) unreleased; urgency=low
     (Closes: #466716).
   * gpg-key2ps: also accept revoked-style long option, thanks Luca Capello
     (Closes: #466993).
+  * gpgparticipants: new script to create a participant list useful for
+    party organisers using the Zimmermann-Sassaman key-signing protocol.
+    Thanks Philippe Teuwen (Closes: #467338).
 
- -- Thijs Kinkhorst <thijs@debian.org>  Wed, 27 Feb 2008 11:29:11 +0100
+ -- Thijs Kinkhorst <thijs@debian.org>  Wed, 05 Mar 2008 17:08:59 +0100
 
 signing-party (0.4.13-1) unstable; urgency=low
 
index d64300892a2d6689ab8e9dd16fd7504db7d8d621..b0528f5518b6713df1575294148382951c5d332d 100644 (file)
@@ -27,5 +27,6 @@ Description: Various OpenPGP related tools
   * gpg-key2ps: generate PostScript file with fingerprint paper strips
   * gpglist: show who signed which of your UIDs
   * gpgsigs: annotates list of GnuPG keys with already done signatures
+  * gpgparticipants: create list of party participants for the organiser
   * keylookup: ncurses wrapper around gpg --search
 
index 1e32e93edd9baf4a3c9c71269292b0229bd5ca43..dd6b1bc84b33bf3ba48f30ae7ce5ca6a7c86aa74 100644 (file)
@@ -17,6 +17,7 @@ Authors and Copyright:
   Other contributors:
   Enrico Zini
   Benjamin Hill
+  Philippe Teuwen
 
 License for caff and gpgsigs:
   All rights reserved.
@@ -43,7 +44,7 @@ License for caff and gpgsigs:
   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-Licence for gpg-key2ps, gpg-mailkeys, and keylookup:
+Licence for gpg-key2ps, gpg-mailkeys, gpgparticipants and keylookup:
   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 of the License, or
index 4d18ef965be4e40afe46de52ab651fe233ef2922..4a513013f04e61077940e560c6664752c5a4bb1b 100644 (file)
@@ -5,4 +5,5 @@ gpglist/gpglist usr/bin
 gpgsigs/gpgsigs usr/bin
 gpg-key2ps/gpg-key2ps usr/bin
 gpg-mailkeys/gpg-mailkeys usr/bin
+gpgparticipants/gpgparticipants usr/bin
 keylookup/keylookup usr/bin
diff --git a/gpgparticipants/gpgparticipants b/gpgparticipants/gpgparticipants
new file mode 100755 (executable)
index 0000000..12bf64a
--- /dev/null
@@ -0,0 +1,70 @@
+#!/bin/sh
+# Prepare a printable list of keysigning participants.
+# Useful for the party organiser.
+#
+# $Id$
+#
+# License: GPLv2 or later
+# Copyright Philippe Teuwen <phil a teuwen o org> 2008
+
+if [ $# -ne 5 ]; then
+    cat <<EOF
+Usage: $0 input output datestring organizer title
+Or:    $0 -     output datestring organizer title
+       to read from STDIN
+Example:
+       echo 9AD7E3DB 54C12701 |\\
+       $0 - ksp-file.txt "20080222 1100" "My Name <my.name@my.mail>" "my party 08"
+EOF
+    exit 0
+fi
+
+input="$1"
+[ "$input" = "-" ] && input="";
+output="$2"
+date="$3"
+org="$4"
+title=$(echo "$5"|tr a-z A-Z|sed 's/\(.\)/\1 /g')
+
+exec > "$output"
+
+# Date of event
+LANG=C date --date="$date" +"%A, %B %e, %Y;  %H:%M"
+# Organiser contact
+printf "%80s\n\n\n" "$org"
+# Title
+printf "%*s\n\n" $(((72+$(echo "$title"|wc -c))/2)) "$title"
+# Header
+cat <<EOF
+                     List of Participants  (v 1.0)
+
+
+Here's what you have to do with this file:
+(1) Print this file to paper.
+(2) Compute this file's MD5 checksum and optionally also its SHA1 checksum.
+   gpg --print-md md5  $output  (or use md5sum)
+   gpg --print-md sha1 $output  (or use sha1sum)
+(3) Fill in the hash values on the printout.
+(4) Bring the printout, a pen, and proof of identity to the key signing party
+    (and be on time!).
+
+MD5 Checksum:  __ __ __ __ __ __ __ __    __ __ __ __ __ __ __ __      [ ]
+
+
+
+SHA1 Checksum: ____ ____ ____ ____ ____    ____ ____ ____ ____ ____    [ ]
+
+
+
+
+EOF
+
+k=0;
+for i in $(cat $input); do
+    k=$(($k+1));
+    printf "\n%03d  [ ] Fingerprint OK        [ ] ID OK\n" $k;
+    gpg --fingerprint $i | grep -v "^sub" | \
+       grep -v '^uid.*jpeg image of size';
+done
+
+
diff --git a/gpgparticipants/gpgparticipants.1 b/gpgparticipants/gpgparticipants.1
new file mode 100644 (file)
index 0000000..0dd5f5b
--- /dev/null
@@ -0,0 +1,24 @@
+.TH GPGPARTICIPANTS 1 "March 05, 2008"
+.SH NAME
+gpgparticipants \- generate paper list for keysigning party
+.SH SYNOPSIS
+.B gpgparticipants
+.RI input
+output
+datestring
+organizer
+title
+.SH DESCRIPTION
+.B gpgparticipants
+is targeted at organisers of a keysigning party that uses the
+Zimmermann-Sassaman key-signing protocol.
+
+It creates a file with all the keys from a list of participators in your
+keysigning party. You give it a list with key ID's and some general variables,
+and it will generate a file you can publish. You publish this list;
+participants will download and print this file to take with them to the party.
+
+.SH SEE ALSO
+.BR gpg (1), gpgsigs (1)
+.SH AUTHOR
+This manual page was written by Thijs Kinkhorst <thijs@debian.org>.