From 626a13c0727ada5800f00aa832b7bd6bedc4f054 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 10 Dec 2012 16:06:54 -0600 Subject: [PATCH] Import version as of 2012-12-10 for send-gpg-public-keys.sh --- send-gpg-public-keys.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 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 -- 2.25.1