diff options
author | Erich Eckner <git@eckner.net> | 2020-12-02 19:06:40 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-12-02 19:06:40 +0100 |
commit | 5c6254b3398de52461f5db4f505a8ad6710b76ec (patch) | |
tree | 1302e301b19fdab5eec9ffbbfb670faca406d5bf | |
parent | f9c67e0b1027e66f1edec3b401fc5c2d38d13302 (diff) | |
download | archlinux32-keyring-5c6254b3398de52461f5db4f505a8ad6710b76ec.tar.xz |
update-keys: pull keys from https://archlinux32.org/keys.php instead of ssh'ing to the buildmaster
-rwxr-xr-x | update-keys | 8 |
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} |