From a18bc3136410c10f6e132315b28d9259fda7c0ce Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 4 Dec 2013 10:14:00 +0000 Subject: Add get-signers git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@654 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- get-signers | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 get-signers diff --git a/get-signers b/get-signers new file mode 100755 index 0000000..98d5082 --- /dev/null +++ b/get-signers @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$#" -eq 0 ]; then + echo >&2 "Usage: $0 [ ..]" + exit 1 +fi + +gpg --with-colons --fast-list-mode --list-sigs "$@" | + awk -F ':' '$1 ~ /sig|rev/ {print $5}' | + sort -u | + xargs gpg --recv-keys -- cgit v1.2.3