contrib: minor doc improvements in verify-binaries

This commit is contained in:
fanquake 2023-04-09 12:42:31 +02:00
parent e2e5683afe
commit ad841608d4
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
3 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ threshold of at least 10 trusted signatures:
--min-good-sigs 10 pub 22.0-x86 --min-good-sigs 10 pub 22.0-x86
``` ```
If you only want to download the binaries of certain platform, add the corresponding suffix, e.g.: If you only want to download the binaries for a certain platform, add the corresponding suffix, e.g.:
```sh ```sh
./contrib/verify-binaries/verify.py pub 24.0.1-darwin ./contrib/verify-binaries/verify.py pub 24.0.1-darwin

View file

@ -12,7 +12,7 @@ def main():
expect_code(run_verify("", "pub", '0.32.awefa.12f9h'), 11, "Malformed version should fail") expect_code(run_verify("", "pub", '0.32.awefa.12f9h'), 11, "Malformed version should fail")
expect_code(run_verify('--min-good-sigs 20', "pub", "22.0"), 9, "--min-good-sigs 20 should fail") expect_code(run_verify('--min-good-sigs 20', "pub", "22.0"), 9, "--min-good-sigs 20 should fail")
print("- testing multisig verification (22.0)", flush=True) print("- testing verification (22.0)", flush=True)
_220 = run_verify("--json", "pub", "22.0") _220 = run_verify("--json", "pub", "22.0")
try: try:
result = json.loads(_220.stdout.decode()) result = json.loads(_220.stdout.decode())

View file

@ -530,7 +530,7 @@ def verify_published_handler(args: argparse.Namespace) -> ReturnCode:
# download binaries # download binaries
for _, binary_filename in hashes_to_verify: for _, binary_filename in hashes_to_verify:
log.info(f"downloading {binary_filename}") log.info(f"downloading {binary_filename} to {WORKINGDIR}")
success, output = download_with_wget( success, output = download_with_wget(
HOST1 + remote_dir + binary_filename, binary_filename) HOST1 + remote_dir + binary_filename, binary_filename)