Skip to content

Commit

Permalink
feat: use dashcore-binaries.thepasta.org in verifybinaries script
Browse files Browse the repository at this point in the history
Due to keybase.pub is defunct
  • Loading branch information
knst committed Jan 18, 2024
1 parent 13f1813 commit a1c01f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/verifybinaries/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""Script for verifying Dash Core release binaries
This script attempts to download the signature file SHA256SUMS.asc from
github.com and pasta.keybase.pub and compares them.
github.com and dashcore-binaries.thepasta.org and compares them.
It first checks if the signature passes, and then downloads the files
specified in the file, and checks if the hashes of these files match those
that are specified in the signature file.
Expand All @@ -22,7 +22,7 @@
WORKINGDIR = "/tmp/dash_verify_binaries"
HASHFILE = "hashes.tmp"
HOST1="https://github.com/dashpay/dash/releases/download/v"
HOST2="https://pasta.keybase.pub/Dash-Core-Releases/"
HOST2="https://dashcore-binaries.thepasta.org/file/dashcore-binaries/"
VERSIONPREFIX=""
SIGNATUREFILENAME = "SHA256SUMS.asc"

Expand Down Expand Up @@ -113,15 +113,15 @@ def main(args):
success, output = download_with_wget(HOST2 + remote_sigfile, sigfile2)
if not success:
print("github.com failed to provide signature file, "
"but pasta.keybase.pub did?")
"but dashcore-binaries.thepasta.org did?")
print("wget output:")
print(indent(output, '\t'))
remove_files([sigfile1])
return 5

# ensure that both signature files are equal
if not files_are_equal(sigfile1, sigfile2):
print("github.com and pasta.keybase.pub signature files were not equal?")
print("github.com and dashcore-binaries.thepasta.org signature files were not equal?")
print(f"See files {WORKINGDIR}/{sigfile1} and {WORKINGDIR}/{sigfile2}")
return 6

Expand Down

0 comments on commit a1c01f1

Please sign in to comment.