Skip to content

Commit

Permalink
Why does gpg error on Travis?
Browse files Browse the repository at this point in the history
  • Loading branch information
nurupo committed Jan 4, 2019
1 parent 94c54f7 commit fd08129
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions other/docker/windows/get_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ if [ "${SUPPORT_TEST}" = "true" ]; then
echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.list
curl -o Release.key https://dl.winehq.org/wine-builds/winehq.key
# Verify against a known good key fingerprint. --dry-run makes it so we don't actually import the key.
gpg --dry-run --import --import-options import-show --fingerprint Release.key || echo 'Errored'
if ! gpg --dry-run --import --import-options import-show --fingerprint Release.key | grep 'D43F 6401 4536 9C51 D786 DDEA 76F1 A20F F987 672F'; then
echo "Error: WineHQ's Debian package repository key fingerprint didn't match the expected one. Exiting."
exit 1
Expand Down

0 comments on commit fd08129

Please sign in to comment.