diff --git a/python/src/trezorlib/cli/firmware.py b/python/src/trezorlib/cli/firmware.py index 9e2b15a24d..b4c47a97da 100644 --- a/python/src/trezorlib/cli/firmware.py +++ b/python/src/trezorlib/cli/firmware.py @@ -151,9 +151,13 @@ def validate_signatures( click.echo("Unsigned firmware looking OK.") except firmware.FirmwareIntegrityError as e: - click.echo(e) - click.echo("Firmware validation failed, aborting.") - sys.exit(4) + try: + fw.verify(dev_keys=True) + click.echo("WARNING: Firmware for development kit only.") + except firmware.FirmwareIntegrityError: + click.echo(e) + click.echo("Firmware validation failed, aborting.") + sys.exit(4) def validate_fingerprint(