electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit c956a7b17a28233769edf48a7493d6c73e20749f
parent d8b1ddc9a7ef1894310f5d7f1bc1156a50b27061
Author: ThomasV <thomasv1@gmx.de>
Date:   Mon,  1 Sep 2014 10:39:13 +0200

Merge pull request #810 from btchip/trezor_security_blacklist

Reject outdated firmware versions
Diffstat:
Mplugins/trezor.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/trezor.py b/plugins/trezor.py @@ -174,6 +174,8 @@ class TrezorWallet(NewWallet): except: give_error('Could not connect to your Trezor. Please verify the cable is connected and that no other app is using it.') self.client = QtGuiTrezorClient(self.transport) + if (self.client.features.major_version == 1 and self.client.features.minor_version < 2) or (self.client.features.major_version == 1 and self.client.features.minor_version == 2 and self.client.features.patch_version < 1): + give_error('Outdated Trezor firmware. Please update the firmware from https://www.mytrezor.com') self.client.set_tx_api(self) #self.client.clear_session()# TODO Doesn't work with firmware 1.1, returns proto.Failure self.client.bad = False