* Import keyanalyze into signing-party. Thanks to Matthew Wilcox for the
[pgp-tools.git] / keyanalyze / willy / sigids
diff --git a/keyanalyze/willy/sigids b/keyanalyze/willy/sigids
new file mode 100644 (file)
index 0000000..f9ba3ab
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ $# -eq 0 ]; then
+       echo "Must provide at least a key ID"
+       exit 1
+fi
+while [ $# -gt 1 ]; do
+       gpgopts="$gpgopts $1"
+       shift
+done
+gpg $gpgopts --fast-list-mode --list-sigs $1 | grep ^sig | cut -c13-20 |sort -u