gpg-import-signer-keys 168 B

12345678
  1. #!/bin/sh
  2. [ -n "$*" ] || exit 1
  3. set -e
  4. gpg --check-sigs --with-colon "$@" |\
  5. awk -F: '$1 == "sig" && $2 == "?" { print $5 }' |\
  6. sort | uniq | xargs gpg --recv-keys