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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #53216)
This revision is now accepted and ready to land.Fri, Mar 21, 10:05