Browse Source
0.14faaed88
[contrib] verifybinaries: Mention mandatory preparation step (MarcoFalke)fa917f6
[contrib] verifybinaries: Keep downloads by default (MarcoFalke)fab1f92
[contrib] verifybinaries: Adjust parsing to new rc path (MarcoFalke)
Wladimir J. van der Laan
8 years ago
2 changed files with 33 additions and 8 deletions
@ -1,13 +1,33 @@ |
|||||||
### Verify Binaries |
### Verify Binaries |
||||||
|
|
||||||
|
#### Preparation: |
||||||
|
|
||||||
|
Make sure you obtain the proper release signing key and verify the fingerprint with several independent sources. |
||||||
|
|
||||||
|
```sh |
||||||
|
$ gpg --fingerprint "Bitcoin Core binary release signing key" |
||||||
|
pub 4096R/36C2E964 2015-06-24 [expires: 2017-02-13] |
||||||
|
Key fingerprint = 01EA 5486 DE18 A882 D4C2 6845 90C8 019E 36C2 E964 |
||||||
|
uid Wladimir J. van der Laan (Bitcoin Core binary release signing key) <laanwj@gmail.com> |
||||||
|
``` |
||||||
|
|
||||||
|
#### Usage: |
||||||
|
|
||||||
This script attempts to download the signature file `SHA256SUMS.asc` from https://bitcoin.org. |
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. |
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. |
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 |
```sh |
||||||
./verify.sh bitcoin-core-0.11.2 |
./verify.sh bitcoin-core-0.11.2 |
||||||
./verify.sh bitcoin-core-0.12.0 |
./verify.sh bitcoin-core-0.12.0 |
||||||
|
./verify.sh bitcoin-core-0.13.0-rc3 |
||||||
|
``` |
||||||
|
|
||||||
|
If you do not want to keep the downloaded binaries, specify anything as the second parameter. |
||||||
|
|
||||||
|
```sh |
||||||
|
./verify.sh bitcoin-core-0.13.0 delete |
||||||
``` |
``` |
||||||
|
Loading…
Reference in new issue