* Import keyanalyze into signing-party. Thanks to Matthew Wilcox for the
[pgp-tools.git] / keyanalyze / allkeys.sh
1 #!/bin/bash --
2 # usage ./analyze.sh path/to/pubring.pgp
3 set -e
4 make
5
6 # comment these next lines out if you are working with an existing
7 # preprocess.keys file
8 pgpring/pgpring -S -k $1 \
9 | grep "\(pub\|sig\|rev\|uid\)" \
10 | sed -e "s/^\([a-z]*\).*:\([0-9A-F]\{16\}\):.*/\1 \2/g" \
11 -e "s/^uid:.*/uid/" > all.keys