1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

python/trezorctl: remove --skip-vendor-header from firmware-update

This commit is contained in:
Martin Milata 2020-08-20 23:45:09 +02:00 committed by matejcik
parent 29861e076b
commit 43b7ccefc7

View File

@ -177,7 +177,6 @@ def find_best_firmware_version(
@click.option("--bitcoin-only", is_flag=True, help="Use bitcoin-only firmware (if possible)") @click.option("--bitcoin-only", is_flag=True, help="Use bitcoin-only firmware (if possible)")
@click.option("--raw", is_flag=True, help="Push raw data to Trezor") @click.option("--raw", is_flag=True, help="Push raw data to Trezor")
@click.option("--fingerprint", help="Expected firmware fingerprint in hex") @click.option("--fingerprint", help="Expected firmware fingerprint in hex")
@click.option("--skip-vendor-header", help="Skip vendor header validation on Trezor T")
# fmt: on # fmt: on
@with_client @with_client
def firmware_update( def firmware_update(
@ -187,7 +186,6 @@ def firmware_update(
version, version,
skip_check, skip_check,
fingerprint, fingerprint,
skip_vendor_header,
raw, raw,
dry_run, dry_run,
beta, beta,
@ -205,9 +203,6 @@ def firmware_update(
If you provide a fingerprint via the --fingerprint option, it will be checked If you provide a fingerprint via the --fingerprint option, it will be checked
against downloaded firmware fingerprint. Otherwise fingerprint is checked against downloaded firmware fingerprint. Otherwise fingerprint is checked
against wallet.trezor.io information, if available. against wallet.trezor.io information, if available.
If you are customizing Model T bootloader and providing your own vendor header,
you can use --skip-vendor-header to ignore vendor header signatures.
""" """
if sum(bool(x) for x in (filename, url, version)) > 1: if sum(bool(x) for x in (filename, url, version)) > 1:
click.echo("You can use only one of: filename, url, version.") click.echo("You can use only one of: filename, url, version.")