Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/update-keys
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-12-02 19:06:40 +0100
committerErich Eckner <git@eckner.net>2020-12-02 19:06:40 +0100
commit5c6254b3398de52461f5db4f505a8ad6710b76ec (patch)
tree1302e301b19fdab5eec9ffbbfb670faca406d5bf /update-keys
parentf9c67e0b1027e66f1edec3b401fc5c2d38d13302 (diff)
update-keys: pull keys from https://archlinux32.org/keys.php instead of ssh'ing to the buildmaster
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}