electrum

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

commit 9a454b60ce5bd154a46f228a2ad6cc79359c7406
parent dd2922d8fc01b784635e7068d71db280699a741c
Author: Neil Booth <kyuupichan@gmail.com>
Date:   Wed, 24 Feb 2016 22:43:54 +0900

trezor: raise error for decryption attempts

Diffstat:
Mplugins/trezor/plugin.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugins/trezor/plugin.py b/plugins/trezor/plugin.py @@ -32,6 +32,7 @@ class TrezorCompatibleWallet(BIP44_HW_Wallet): return EncodeBase58Check(xpub) def decrypt_message(self, pubkey, message, password): + raise RuntimeError(_('Electrum and %s encryption and decryption are currently incompatible') % self.device) address = public_key_to_bc_address(pubkey.decode('hex')) client = self.get_client() address_path = self.address_id(address)