blob: 98d5082f9cd24e11646dc8495f2fa9c8b02cf4e9 (
plain)
1
2
3
4
5
6
7
8
9
10
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
|