From f1d2a957ef33e2d00c01f4e1d20e09143a1df3e6 Mon Sep 17 00:00:00 2001 From: Zen Date: Wed, 23 Oct 2024 15:25:49 -0500 Subject: [PATCH] getuto: Refresh keys in parallel Signed-off-by: Zen --- getuto | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/getuto b/getuto index a13b616..ef17a91 100755 --- a/getuto +++ b/getuto @@ -73,11 +73,12 @@ getuto_refresh() { # Refresh all keys from the keyserver if we can. for keyserver in "${mykeyservers[@]}" ; do # TODO: keys.openpgp.org lacks a UID for our keys, need to verify email - gpg ${QUIET_GPG} --batch --keyserver "${keyserver}" --refresh-keys || true + gpg ${QUIET_GPG} --batch --keyserver "${keyserver}" --refresh-keys & done # We only sign (-> ultimate trust) the keys we originally import, so this is fine and # just serves as an additional refresh method. - gpg ${QUIET_GPG} --auto-key-locate=clear,nodefault,wkd --locate-key releng@gentoo.org infrastructure@gentoo.org repomirrorci@gentoo.org || true + gpg ${QUIET_GPG} --auto-key-locate=clear,nodefault,wkd --locate-key releng@gentoo.org infrastructure@gentoo.org repomirrorci@gentoo.org & + wait touch ${LASTRUNFILE} else