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-01-11 09:12:22 +0100
committerErich Eckner <git@eckner.net>2020-01-11 09:12:22 +0100
commitfb3bed3710f5f911cb0d37c090fe7bb7357e69d7 (patch)
treeef1e0cea9e0d3139b853425d45846d1b41d54b9d /update-keys
parentc808dadea8ecc16b3d188b8fd940bc584e9a95d5 (diff)
update-keys: receive keys from build-master, too
Diffstat (limited to 'update-keys')
-rwxr-xr-xupdate-keys4
1 files changed, 4 insertions, 0 deletions
diff --git a/update-keys b/update-keys
index c6e730c..be0b7b3 100755
--- a/update-keys
+++ b/update-keys
@@ -31,6 +31,7 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[@]:1}"
${GPG} --recv-keys ${keyid} &>/dev/null
+ ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null
printf 'minimize\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
${GPG} --yes --lsign-key ${keyid} &>/dev/null
@@ -42,6 +43,7 @@ ${GPG} --import-ownertrust < archlinux32-trusted 2>/dev/null
while read -ra data; do
keyid="${data[0]}"
${GPG} --recv-keys ${keyid} &>/dev/null
+ ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null
done < packager-keyids
while read -ra data; do
keyid="${data[0]}"
@@ -61,6 +63,7 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[2]}"
${GPG} --recv-keys ${keyid} &>/dev/null
+ ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
if ! ${GPG} --list-keys --with-colons ${keyid} 2>/dev/null | grep -q '^pub:f:'; then
@@ -75,6 +78,7 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[2]}"
${GPG} --recv-keys ${keyid} &>/dev/null
+ ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null
printf 'clean\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
if ! ${GPG} --list-keys --with-colons ${keyid} 2>/dev/null | grep -q '^pub:f:'; then