diff options
author | Erich Eckner <git@eckner.net> | 2020-01-11 09:18:36 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-11 09:18:36 +0100 |
commit | ece81d941bf6d7755b4a6cec1dbabe7b97bd699d (patch) | |
tree | 19fc4c9d034f6ff735c701f03cc013220000e195 /update-keys | |
parent | fb3bed3710f5f911cb0d37c090fe7bb7357e69d7 (diff) | |
download | archlinux32-keyring-ece81d941bf6d7755b4a6cec1dbabe7b97bd699d.tar.xz |
update-keys: pull keys from local keyring, too
Diffstat (limited to 'update-keys')
-rwxr-xr-x | update-keys | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/update-keys b/update-keys index be0b7b3..ca68887 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 + gpg -a --export ${keyid} | ${GPG} --import &>/dev/null ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null printf 'minimize\nquit\ny\n' | \ ${GPG} --command-fd 0 --edit-key ${keyid} @@ -43,6 +44,7 @@ ${GPG} --import-ownertrust < archlinux32-trusted 2>/dev/null while read -ra data; do keyid="${data[0]}" ${GPG} --recv-keys ${keyid} &>/dev/null + gpg -a --export ${keyid} | ${GPG} --import &>/dev/null ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null done < packager-keyids while read -ra data; do @@ -63,6 +65,7 @@ while read -ra data; do keyid="${data[0]}" username="${data[2]}" ${GPG} --recv-keys ${keyid} &>/dev/null + gpg -a --export ${keyid} | ${GPG} --import &>/dev/null ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null printf 'clean\nquit\ny\n' | \ ${GPG} --command-fd 0 --edit-key ${keyid} @@ -78,6 +81,7 @@ while read -ra data; do keyid="${data[0]}" username="${data[2]}" ${GPG} --recv-keys ${keyid} &>/dev/null + gpg -a --export ${keyid} | ${GPG} --import &>/dev/null ssh buildmaster "gpg -a --export ${keyid}" | ${GPG} --import &>/dev/null printf 'clean\nquit\ny\n' | \ ${GPG} --command-fd 0 --edit-key ${keyid} |