mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
594 B
15 lines
594 B
### Verify Binaries
|
|
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org.
|
|
|
|
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.
|
|
|
|
The script returns 0 if everything passes the checks. It returns 1 if either the signature check or the hash check doesn't pass. If an error occurs the return value is 2.
|
|
|
|
Usage:
|
|
|
|
```sh
|
|
./verify.sh bitcoin-core-0.11.2
|
|
./verify.sh bitcoin-core-0.12.0
|
|
./verify.sh bitcoin-core-0.13.0-rc3
|
|
```
|