summaryrefslogtreecommitdiffstats
path: root/helperscripts/gpg-import-signer-keys
blob: f37de99421aad1ddabc558e64321843d1540b212 (plain)
1
2
3
4
5
6
7
#!/bin/sh

[ -n "$*" ] || exit 1
set -e
gpg --check-sigs --with-colon "$@" |\
	awk -F: '$1 == "sig" && $2 == "?"  { print $5 }' |\
	sort | uniq | xargs gpg --recv-keys
bues.ch cgit interface