From 4c49fa343e488e9ba8a920796b5a243b92df13e6 Mon Sep 17 00:00:00 2001 From: Pasta Date: Thu, 22 Jul 2021 11:14:04 -0500 Subject: [PATCH] dashify verify.sh for verifying binaries on github and pasta.keybase.pub --- contrib/verifybinaries/verify.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/verifybinaries/verify.sh b/contrib/verifybinaries/verify.sh index fc7492ad3b79..d3dd0a43e15a 100755 --- a/contrib/verifybinaries/verify.sh +++ b/contrib/verifybinaries/verify.sh @@ -24,10 +24,10 @@ TMPFILE="hashes.tmp" SIGNATUREFILENAME="SHA256SUMS.asc" RCSUBDIR="test" -HOST1="https://bitcoincore.org" -HOST2="https://bitcoin.org" -BASEDIR="/bin/" -VERSIONPREFIX="bitcoin-core-" +HOST1="https://github.com/dashpay/dash/releases/download/v" +HOST2="https://pasta.keybase.pub/Dash-Core-Releases/" +BASEDIR="" +VERSIONPREFIX="" RCVERSIONSTRING="rc" if [ ! -d "$WORKINGDIR" ]; then @@ -96,7 +96,7 @@ fi WGETOUT=$(wget -N -O "$SIGNATUREFILENAME.2" "$HOST2$BASEDIR$SIGNATUREFILENAME" 2>&1) if [ $? -ne 0 ]; then - echo "bitcoin.org failed to provide signature file, but bitcoincore.org did?" + echo "pasta.keybase.pub failed to provide signature file, but github.com did?" echo "wget output:" echo "$WGETOUT"|sed 's/^/\t/g' clean_up $SIGNATUREFILENAME @@ -105,7 +105,7 @@ fi SIGFILEDIFFS="$(diff $SIGNATUREFILENAME $SIGNATUREFILENAME.2)" if [ "$SIGFILEDIFFS" != "" ]; then - echo "bitcoin.org and bitcoincore.org signature files were not equal?" + echo "pasta.keybase.pub and github.com signature files were not equal?" clean_up $SIGNATUREFILENAME $SIGNATUREFILENAME.2 exit 4 fi @@ -124,7 +124,7 @@ if [ $RET -ne 0 ]; then echo "Bad signature." elif [ $RET -eq 2 ]; then #or if a gpg error has occurred - echo "gpg error. Do you have the Bitcoin Core binary release signing key installed?" + echo "gpg error. Do you have the Dash Core binary release signing key installed?" fi echo "gpg output:"