Skip to content

Commit

Permalink
Keyserver fallback when looking for the correct GPG key
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <[email protected]>
  • Loading branch information
Foxboron committed May 6, 2020
1 parent 56ab70e commit 0fc79dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ function init_gnupg() {
[ ! -d "$BUILDDIRECTORY/_gnupg" ] && mkdir -p "$BUILDDIRECTORY/_gnupg"

# ensure signing key is available
gpg --auto-key-locate nodefault,wkd --locate-keys [email protected]
# We try WKD first, then fallback to keyservers.
# This works on debian./
gpg --keyserver=p80.pool.sks-keyservers.net --auto-key-locate wkd,keyserver --locate-keys [email protected]
}

# Desc: Sets the appropriate colors for output
Expand Down

0 comments on commit 0fc79dd

Please sign in to comment.