Page MenuHomePhabricator

[electrum] Alllow for downgrading the Trezor firmware
ClosedPublic

Authored by Fabien on Fri, Mar 21, 09:55.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCea7437f90053: [electrum] Alllow for downgrading the Trezor firmware
Summary

When the user selects to install a custom firmware, Electrum detects whether it's an official firmware and applies some checks on the header including a version check that prevents from downgrading the firmware. This is not the expected behavior when the firmware is installed from a file and the user should be able to downgrade if desired.

Test Plan

Downgrade an official Trezor firmware using this method.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
electrum_downgrade_trezor
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32794
Build 65076: Build Diffelectrum-tests
Build 65075: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Fri, Mar 21, 09:55
PiRK added a subscriber: PiRK.
PiRK added inline comments.
electrum/electrumabc_plugins/trezor/clientbase.py
470
This revision is now accepted and ready to land.Fri, Mar 21, 10:05