summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-13 09:18:40 +0100
committerErich Eckner <git@eckner.net>2020-01-13 09:18:40 +0100
commit3adf8b905109fb9df17cfebb505edc1c2fff394d (patch)
treebabd8f7758c0cd09e7e7ae2a9df001d6ffaadf64
parentd8a006b4f28917c7e675d2eeea5c925a5171e334 (diff)
downloadarchlinux32-keyring-3adf8b905109fb9df17cfebb505edc1c2fff394d.tar.xz
update-keys: style
-rwxr-xr-xupdate-keys24
1 files changed, 16 insertions, 8 deletions
diff --git a/update-keys b/update-keys
index 5c7592a..6dc3601 100755
--- a/update-keys
+++ b/update-keys
@@ -32,8 +32,10 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[@]:1}"
${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 | ${GPG} --import &>/dev/null
+ gpg ${GPG_OPTIONS} -a --export ${keyid} </dev/null | \
+ ${GPG} --import &>/dev/null
+ ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" </dev/null | \
+ ${GPG} --import &>/dev/null
printf 'minimize\nquit\ny\n' | \
${GPG} --command-fd 0 --edit-key ${keyid}
${GPG} --yes --lsign-key ${keyid} &>/dev/null
@@ -45,8 +47,10 @@ ${GPG} --import-ownertrust < archlinux32-trusted 2>/dev/null
while read -ra data; do
keyid="${data[0]}"
${GPG} --recv-keys ${keyid} &>/dev/null
- gpg ${GPG_OPTIONS} -a --export ${keyid} | ${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | ${GPG} --import &>/dev/null
+ gpg ${GPG_OPTIONS} -a --export ${keyid} | \
+ ${GPG} --import &>/dev/null
+ ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | \
+ ${GPG} --import &>/dev/null
done < packager-keyids
while read -ra data; do
keyid="${data[0]}"
@@ -66,8 +70,10 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[2]}"
${GPG} --recv-keys ${keyid} &>/dev/null
- gpg ${GPG_OPTIONS} -a --export ${keyid} | ${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | ${GPG} --import &>/dev/null
+ gpg ${GPG_OPTIONS} -a --export ${keyid} | \
+ ${GPG} --import &>/dev/null
+ ssh buildmaster "gpg ${GPG_OPTIONS} -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
@@ -82,8 +88,10 @@ while read -ra data; do
keyid="${data[0]}"
username="${data[2]}"
${GPG} --recv-keys ${keyid} &>/dev/null
- gpg ${GPG_OPTIONS} -a --export ${keyid} | ${GPG} --import &>/dev/null
- ssh buildmaster "gpg ${GPG_OPTIONS} -a --export ${keyid}" | ${GPG} --import &>/dev/null
+ gpg ${GPG_OPTIONS} -a --export ${keyid} | \
+ ${GPG} --import &>/dev/null
+ ssh buildmaster "gpg ${GPG_OPTIONS} -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