From cb7cd4f902838787403818000c359989b0ece7d2 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Fri, 22 Feb 2019 22:46:13 +0100 Subject: [PATCH] optional continue in PGP autocheck #342 --- build_sdcard.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build_sdcard.sh b/build_sdcard.sh index ede9eeb..bc7ac8f 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -246,8 +246,12 @@ fi fingerprint=$(gpg ./laanwj-releases.asc 2>/dev/null | grep "${laanwjPGP}" -c) if [ ${fingerprint} -lt 1 ]; then echo "" - echo "!!! BUILD FAILED --> Bitcoin download PGP author not OK" - exit 1 + echo "!!! BUILD WARNING --> Bitcoin PGP author not as expected" + echo "Should be laanwjPGP: ${laanwjPGP}" + echo "This is the output of that check (gpg ./laanwj-releases.asc):" + gpg ./laanwj-releases.asc + echo "PRESS ENTER to TAKE THE RISK if you think all is OK" + read key fi gpg --import ./laanwj-releases.asc sudo -u admin wget https://bitcoin.org/bin/bitcoin-core-${bitcoinVersion}/SHA256SUMS.asc