mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-06-23 16:38:46 +00:00
feat(python): show fingerprint before signatures in trezorctl firmware verify
This commit is contained in:
parent
39b1776801
commit
72ef41664f
1
python/.changelog.d/2745.changed
Normal file
1
python/.changelog.d/2745.changed
Normal file
@ -0,0 +1 @@
|
|||||||
|
`trezorctl firmware verify` changed order of checks - fingerprint is validated before signatures.
|
@ -351,8 +351,8 @@ def validate_firmware(
|
|||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
print_firmware_version(fw)
|
print_firmware_version(fw)
|
||||||
validate_signatures(fw)
|
|
||||||
validate_fingerprint(fw, fingerprint)
|
validate_fingerprint(fw, fingerprint)
|
||||||
|
validate_signatures(fw)
|
||||||
|
|
||||||
if bootloader_onev2 is not None and trezor_major_version is not None:
|
if bootloader_onev2 is not None and trezor_major_version is not None:
|
||||||
check_device_match(
|
check_device_match(
|
||||||
|
Loading…
Reference in New Issue
Block a user