-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Zen <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,12 +71,14 @@ 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} --no-permission-warning --batch --keyserver "${keyserver}" --refresh-keys || true | ||
einfo "Refreshing keys from: ${keyserver}" | ||
gpg ${QUIET_GPG} --no-permission-warning --batch --keyserver "${keyserver}" --refresh-keys || true & | ||
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} --no-permission-warning --auto-key-locate=clear,nodefault,wkd --locate-key [email protected] [email protected] [email protected] || true | ||
|
||
einfo "Refreshing keys using WKD." | ||
gpg ${QUIET_GPG} --no-permission-warning --auto-key-locate=clear,nodefault,wkd --locate-key [email protected] [email protected] [email protected] || true & | ||
wait | ||
touch ${LASTRUNFILE} | ||
else | ||
[[ -n ${QUIET} ]] || einfo "gnupg keyring for package signatures already up-to-date." | ||
|