1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +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("--raw", is_flag=True, help="Push raw data to Trezor")
@click.option("--fingerprint", help="Expected firmware fingerprint in hex")
@click.option("--skip-vendor-header", help="Skip vendor header validation on Trezor T")
# fmt: on
@with_client
def firmware_update(
@ -187,7 +186,6 @@ def firmware_update(
version,
skip_check,
fingerprint,
skip_vendor_header,
raw,
dry_run,
beta,
@ -205,9 +203,6 @@ def firmware_update(
If you provide a fingerprint via the --fingerprint option, it will be checked
against downloaded firmware fingerprint. Otherwise fingerprint is checked
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:
click.echo("You can use only one of: filename, url, version.")