From: thijs Date: Wed, 5 Mar 2008 16:15:28 +0000 (+0000) Subject: * gpgparticipants: new script to create a participant list useful for X-Git-Url: https://git.sthu.org/?p=pgp-tools.git;a=commitdiff_plain;h=719971216e279a15b9b925f9413e3cf64c1d6459 * gpgparticipants: new script to create a participant list useful for 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 --- diff --git a/Makefile b/Makefile index 8b1794c..19ab77c 100644 --- 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 3dbf15c..21e97a4 100644 --- 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 diff --git a/debian/changelog b/debian/changelog index 153ee22..99d215b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 27 Feb 2008 11:29:11 +0100 + -- Thijs Kinkhorst Wed, 05 Mar 2008 17:08:59 +0100 signing-party (0.4.13-1) unstable; urgency=low diff --git a/debian/control b/debian/control index d643008..b0528f5 100644 --- a/debian/control +++ b/debian/control @@ -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 diff --git a/debian/copyright b/debian/copyright index 1e32e93..dd6b1bc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -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 diff --git a/debian/install b/debian/install index 4d18ef9..4a51301 100644 --- a/debian/install +++ b/debian/install @@ -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 index 0000000..12bf64a --- /dev/null +++ b/gpgparticipants/gpgparticipants @@ -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 2008 + +if [ $# -ne 5 ]; then + cat <" "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 <.