2 # Prepare a printable list of keysigning participants.
3 # Useful for the party organiser.
7 # License: GPLv2 or later
8 # Copyright Philippe Teuwen <phil a teuwen o org> 2008
12 Usage: $0 input output datestring organizer title
13 Or: $0 - output datestring organizer title
16 echo 9AD7E3DB 54C12701 |\\
17 $0 - ksp-file.txt "20080222 1100" "My Name <my.name@my.mail>" "my party 08"
23 [ "$input" = "-" ] && input
="";
27 title
=$
(echo "$5"|
tr a-z A-Z|
sed 's/\(.\)/\1 /g')
32 LANG
=C
date --date="$date" +"%A, %B %e, %Y; %H:%M"
34 printf "%80s\n\n\n" "$org"
36 printf "%*s\n\n" $
(((72+$
(echo "$title"|
wc -c))/2)) "$title"
39 List of Participants (v 1.0)
42 Here's what you have to do with this file:
43 (1) Print this file to paper.
44 (2) Compute this file's MD5 checksum and optionally also its SHA1 checksum.
45 gpg --print-md md5 $output (or use md5sum)
46 gpg --print-md sha1 $output (or use sha1sum)
47 (3) Fill in the hash values on the printout.
48 (4) Bring the printout, a pen, and proof of identity to the key signing party
51 MD5 Checksum: __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ [ ]
55 SHA1 Checksum: ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ [ ]
63 for i
in $
(cat $input); do
65 printf "\n%03d [ ] Fingerprint OK [ ] ID OK\n" $k;
66 gpg
--fingerprint $i |
grep -v "^sub" | \
67 grep -v '^uid.*jpeg image of size';