summaryrefslogtreecommitdiff
path: root/update-keys
diff options
context:
space:
mode:
Diffstat (limited to 'update-keys')
-rwxr-xr-xupdate-keys8
1 files changed, 4 insertions, 4 deletions
diff --git a/update-keys b/update-keys
index db20e9b..6cc7295 100755
--- a/update-keys
+++ b/update-keys
@@ -34,7 +34,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} </dev/null | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
+ curl -Ss "https://archlinux32.org/keys.php?k=${keyid}" | \
${GPG} --import &>/dev/null
printf 'minimize\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
@@ -49,7 +49,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
+ curl -Ss "https://archlinux32.org/keys.php?k=${keyid}" | \
${GPG} --import &>/dev/null
done < packager-keyids
while read -ra data; do
@@ -72,7 +72,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
+ curl -Ss "https://archlinux32.org/keys.php?k=${keyid}" | \
${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
@@ -90,7 +90,7 @@ while read -ra data; do
${GPG} --recv-keys ${keyid} &>/dev/null
gpg ${GPG_OPTIONS} -a --export ${keyid} | \
${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
+ curl -Ss "https://archlinux32.org/keys.php?k=${keyid}" | \
${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}