From: unknown Date: Mon, 10 Dec 2012 22:06:54 +0000 (-0600) Subject: Import version as of 2012-12-10 for send-gpg-public-keys.sh X-Git-Tag: 20200730__import~11 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=626a13c0727ada5800f00aa832b7bd6bedc4f054;p=gatekeeper.git Import version as of 2012-12-10 for send-gpg-public-keys.sh --- diff --git a/send-gpg-public-keys.sh b/send-gpg-public-keys.sh new file mode 100755 index 0000000..325f572 --- /dev/null +++ b/send-gpg-public-keys.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +f=/home/ftp/gnu/gnu-keyring.gpg +for k in $( gpg --list-keys < $f | grep ^pub | grep -v expired | grep -v revoked | awk '{ print $2 }' | cut -d/ -f 2 ) +do + gpg --keyserver hkp://pgp.mit.edu --send-keys $k < $f +done