diff options
author | Peter Palfrader <peter@palfrader.org> | 2013-12-04 10:14:00 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2013-12-04 10:14:00 +0000 |
commit | a18bc3136410c10f6e132315b28d9259fda7c0ce (patch) | |
tree | 3278a64bfa22892345b6d06141a54ca66b175b2f | |
parent | 86669f22d1480c51a101dc36d4368aa99ee5dae5 (diff) |
Add get-signers
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@654 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | get-signers | 11 |
1 files changed, 11 insertions, 0 deletions
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 <keyid> [<keyid> ..]" + exit 1 +fi + +gpg --with-colons --fast-list-mode --list-sigs "$@" | + awk -F ':' '$1 ~ /sig|rev/ {print $5}' | + sort -u | + xargs gpg --recv-keys |