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.
14 lines
558 B
14 lines
558 B
9 years ago
|
### Verify Binaries
|
||
11 years ago
|
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org.
|
||
11 years ago
|
|
||
11 years ago
|
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.
|
||
|
|
||
9 years ago
|
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.
|
||
9 years ago
|
|
||
|
Usage:
|
||
|
|
||
|
```sh
|
||
|
./verify.sh bitcoin-core-0.11.2
|
||
|
./verify.sh bitcoin-core-0.12.0
|
||
|
```
|