1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

feat(python): show fingerprint before signatures in trezorctl firmware verify

This commit is contained in:
grdddj 2023-01-13 11:06:59 +01:00 committed by Jiří Musil
parent 39b1776801
commit 72ef41664f
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
`trezorctl firmware verify` changed order of checks - fingerprint is validated before signatures.

View File

@ -351,8 +351,8 @@ def validate_firmware(
sys.exit(2)
print_firmware_version(fw)
validate_signatures(fw)
validate_fingerprint(fw, fingerprint)
validate_signatures(fw)
if bootloader_onev2 is not None and trezor_major_version is not None:
check_device_match(