Skip to content

Commit 663a89c

Browse files
committed
contrib: move verify scripts to verify-binaries
1 parent db720b5 commit 663a89c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

contrib/verifybinaries/README.md renamed to contrib/verify-binaries/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,47 +42,47 @@ See the `Config` object for various options.
4242

4343
Validate releases with default settings:
4444
```sh
45-
./contrib/verifybinaries/verify.py pub 22.0
46-
./contrib/verifybinaries/verify.py pub 22.0-rc2
45+
./contrib/verify-binaries/verify.py pub 22.0
46+
./contrib/verify-binaries/verify.py pub 22.0-rc2
4747
```
4848

4949
Get JSON output and don't prompt for user input (no auto key import):
5050

5151
```sh
52-
./contrib/verifybinaries/verify.py --json pub 22.0-x86
52+
./contrib/verify-binaries/verify.py --json pub 22.0-x86
5353
```
5454

5555
Rely only on local GPG state and manually specified keys, while requiring a
5656
threshold of at least 10 trusted signatures:
5757
```sh
58-
./contrib/verifybinaries/verify.py \
58+
./contrib/verify-binaries/verify.py \
5959
--trusted-keys 74E2DEF5D77260B98BC19438099BAD163C70FBFA,9D3CC86A72F8494342EA5FD10A41BDC3F4FAFF1C \
6060
--min-good-sigs 10 pub 22.0-x86
6161
```
6262

6363
If you only want to download the binaries of certain platform, add the corresponding suffix, e.g.:
6464

6565
```sh
66-
./contrib/verifybinaries/verify.py pub 22.0-osx
67-
./contrib/verifybinaries/verify.py pub 22.0-rc2-win64
66+
./contrib/verify-binaries/verify.py pub 22.0-osx
67+
./contrib/verify-binaries/verify.py pub 22.0-rc2-win64
6868
```
6969

7070
If you do not want to keep the downloaded binaries, specify the cleanup option.
7171

7272
```sh
73-
./contrib/verifybinaries/verify.py pub --cleanup 22.0
73+
./contrib/verify-binaries/verify.py pub --cleanup 22.0
7474
```
7575

7676
Use the bin subcommand to verify all files listed in a local checksum file
7777

7878
```sh
79-
./contrib/verifybinaries/verify.py bin SHA256SUMS
79+
./contrib/verify-binaries/verify.py bin SHA256SUMS
8080
```
8181

8282
Verify only a subset of the files listed in a local checksum file
8383

8484
```sh
85-
./contrib/verifybinaries/verify.py bin ~/Downloads/SHA256SUMS \
85+
./contrib/verify-binaries/verify.py bin ~/Downloads/SHA256SUMS \
8686
~/Downloads/bitcoin-24.0.1-x86_64-linux-gnu.tar.gz \
8787
~/Downloads/bitcoin-24.0.1-arm-linux-gnueabihf.tar.gz
8888
```

contrib/verifybinaries/test.py renamed to contrib/verify-binaries/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def main():
3131

3232
def run_verify(global_args: str, command: str, command_args: str) -> subprocess.CompletedProcess:
3333
maybe_here = Path.cwd() / 'verify.py'
34-
path = maybe_here if maybe_here.exists() else Path.cwd() / 'contrib' / 'verifybinaries' / 'verify.py'
34+
path = maybe_here if maybe_here.exists() else Path.cwd() / 'contrib' / 'verify-binaries' / 'verify.py'
3535

3636
if command == "pub":
3737
command += " --cleanup"
File renamed without changes.

0 commit comments

Comments
 (0)