Skip to content

Commit

Permalink
optional continue in PGP autocheck raspiblitz#342
Browse files Browse the repository at this point in the history
  • Loading branch information
rootzoll committed Feb 22, 2019
1 parent 624f3b4 commit cb7cd4f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build_sdcard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb7cd4f

Please sign in to comment.