index : archlinux32-keyring | |
Archlinux32 pacman keyring | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | update-keys | 8 |
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} |