]>
git.sthu.org Git - pgp-tools.git/blob - gpgparticipants/gpgparticipants
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 SHA256 checksum.
45 gpg --print-md sha256 $output (or use sha256sum)
46 (3) Fill in the hash values on the printout.
47 (4) Bring the printout, a pen, and proof of identity to the key signing party
51 SHA256 Checksum: ____ ____ ____ ____ ____ ____ ____ ____ [ ]
53 ____ ____ ____ ____ ____ ____ ____ ____
59 for i
in $
(cat $input); do
61 printf "\n%03d [ ] Fingerprint OK [ ] ID OK\n" $k;
62 gpg
--fingerprint $i |
grep -v "^sub" | \
63 grep -v '^uid.*jpeg image of size';
64 echo "_______________________________________________________________________________"