Import version as of 2012-12-10 for send-gpg-public-keys.sh
authorunknown <sysadmin@gnu.org>
Mon, 10 Dec 2012 22:06:54 +0000 (16:06 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Wed, 29 Jul 2020 03:06:54 +0000 (22:06 -0500)
send-gpg-public-keys.sh [new file with mode: 0755]

diff --git a/send-gpg-public-keys.sh b/send-gpg-public-keys.sh
new file mode 100755 (executable)
index 0000000..325f572
--- /dev/null
@@ -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