Commit graph

267 commits

Author SHA1 Message Date
matejcik
5974fd75df trezor: drop list of supported coins
python-trezor 0.10.0 and up doesn't provide a list of supported coins,
and newer Trezor firmwares will not send it.
2018-06-22 12:30:20 +02:00
SomberNight
79f4a8bae9
ledger: support hiding outputs on 'receive' branch
so if change is on the 'receive' branch, user won't be prompted to confirm it
2018-06-15 20:48:57 +02:00
SomberNight
0438bbc2c2
transaction.py: change update_signatures API. fix trezor segwit signing.
Traceback (most recent call last):
  File "...\electrum\lib\transaction.py", line 498, in parse_witness
    if txin['witness_version'] != 0:
KeyError: 'witness_version'
2018-06-14 20:13:04 +02:00
matejcik
208606beda trezor: do not rely on deprecated ckd_public (#4416) 2018-06-08 17:07:49 +02:00
SomberNight
9bd082cd82
trezor/keepkey: better handling of exceptions during device initialization
notably Trezor T is returning a different msg type when trying to get an xpub from an uninitialized device, which we are not handling. instead we should just realise ourselves that we did not initialize the device
2018-05-29 13:37:30 +02:00
SomberNight
2c3aa9ffa9
trezor: minor homescreen clean-up/fixes 2018-05-23 15:39:59 +02:00
Johann Bauer
7bcc55ae57 Trezor: Disable 'Change Homescreen' if PIL is unavailable 2018-05-14 16:57:27 +02:00
ghost43
4eeb944b3c
Merge pull request #4329 from SomberNight/trezor_matrix
Trezor: Matrix recovery support
2018-05-09 19:11:12 +02:00
SomberNight
5fafd34de7
don't offer recovery type choice for trezor T 2018-05-09 19:08:21 +02:00
SomberNight
c133e00590
hw wallets: define SUPPORTED_XTYPES for each plugin 2018-05-09 18:17:49 +02:00
SomberNight
dc2f8ee804
fix regression from 1d6f000868
re trezor/keepkey multisig signing
2018-05-09 18:14:22 +02:00
SomberNight
8174c31f13
trezor: implement "backend" support for p2sh-segwit and native-segwit multisig 2018-05-09 16:50:30 +02:00
SomberNight
e523b65767
hw wallets: test client is not None during setup_device 2018-05-06 14:45:03 +02:00
SomberNight
811eea0b6b
trezor: add msg text for passphrase type request 2018-05-05 18:05:27 +02:00
SomberNight
364cfd17ae
abstract qt away from trezor 2018-05-01 23:29:51 +02:00
SomberNight
809d6aefca
finish prev 2018-05-01 22:50:06 +02:00
Jochen Hoenicke
6dd5161729
Trezor: Matrix recovery support
New Trezor firmware has matrix recovery support, which is a new
recovery method that doesn't leak the entered words.
2018-05-01 22:50:05 +02:00
SomberNight
034b0a0313
trezor/keepkey: silence UserCancelled during recovery 2018-05-01 22:49:43 +02:00
SomberNight
1981aa7d5c
trezor/keepkey: minor import clean-up. 2018-05-01 16:37:38 +02:00
SomberNight
73b11a700a
trezor/keepkey: merge qt_generic.py into qt.py
(remnants of separating trezor and keepkey)
2018-05-01 15:51:01 +02:00
SomberNight
66cfc3ea37
hw_wallet: show_error can now block optionally. trezor: use prev during recovery. 2018-05-01 15:05:58 +02:00
SomberNight
ba7d905dfb
trezor/keepkey: catch exception during device init 2018-05-01 14:47:50 +02:00
SomberNight
76e2fadc31
trezor: remove some keepkey-related stuff 2018-05-01 14:47:44 +02:00
SomberNight
688dd07381
qt receive tab: show address on hw wallet 2018-04-27 03:21:27 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
SomberNight
3b8c1c6c04
detect when trying to sign with a hw wallet offline in a not supported config
closes #4229
2018-04-06 18:29:41 +02:00
SomberNight
fb65493963 remove unused variable 2018-03-30 22:31:29 +02:00
SomberNight
ffbd0ccecd fix #2670 2018-03-30 22:05:55 +02:00
Roman Zeyde
d69318ff14 trezor: pass transport parameter explicitly as a keyword argument (#4194) 2018-03-28 20:00:38 +02:00
SomberNight
7d11812f55 trezor/keepkey/dbb: provide info for all is_mine txn outputs 2018-03-20 02:04:41 +01:00
SomberNight
85b36e027f fix a bug with hw devices.
if a device is unplugged and then replugged before we notice (via scan_devices) then it will get into an unusable state, throwing all kinds of low level exceptions when we don't expect it. affects ledger, keepkey, dbb, but for some reason not trezor.
2018-03-18 03:54:28 +01:00
SomberNight
680df7d6b6 trezor: move the transport-related reimplemented parts into a separate module. disable the bridge transport.
The bridge transport uses requests.post, which uses socket.getaddrinfo under the hood, which on some OSes (MacOS, Windows) in CPython takes a lock. The enumerate method for the bridge transport can block for 10-30 seconds while waiting for this lock.
2018-03-16 23:19:52 +01:00
SomberNight
afa4cbfcbb fix #4082 2018-03-15 18:34:30 +01:00
SomberNight
38d94bfa7a fix #4082 2018-03-15 13:06:21 +01:00
SomberNight
0f5cabc7f6 fix #4122 2018-03-14 12:42:42 +01:00
SomberNight
c1d14b9677 trezor: try and allow transports to fail independently
related: #4060
2018-03-08 02:45:39 +01:00
SomberNight
81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
SomberNight
0df6d1ec97 trezor: segwit offline signing 2018-03-03 02:39:49 +01:00
SomberNight
7acbaa5382 trezorT: fix/implement passphrases 2018-03-02 05:15:32 +01:00
matejcik
2bfcf9f0b5 Trezor model T does not provide bootloader hash 2018-03-01 13:41:02 +01:00
Roman Zeyde
44bf80d291 remove unneeded 'pass' statement (#3970) 2018-02-25 18:14:49 +01:00
SomberNight
4cc2575d72 cli support for hw encrypted wallets 2018-02-10 20:07:06 +01:00
SomberNight
6c4756dc3d check trezorlib version 2018-02-07 17:51:52 +01:00
slush
d3b94d9353 Small refactoring; removed one layer of unnecessary abstraction. 2018-02-06 21:15:18 +01:00
slush
460e88ee53 hw plugins: Allow custom enumerate functions
trezor: Adding support for all supported transports (HID, WebUSB, UDP, Bridge)
2018-02-06 19:13:05 +01:00
SomberNight
ffdc36285b use string.format instead of old style (%) formatting 2018-02-04 07:26:55 +01:00
Wampum
37904bc110 show address on trezor for multisig (#3823)
* show address on trezor for multisig

* Show menu option properly.

* remove useless line
2018-02-04 06:21:25 +01:00
SomberNight
c811c5c9d9 allow encrypting watch-only wallets. initial support for hw wallet storage encryption. 2018-01-28 02:09:44 +01:00
SomberNight
cc9032c9ea fix #3680 (trezor: spending from multisig)
follow-up of #3621 (Make Electrum work with trezorlib 0.9.0)
2018-01-12 19:21:09 +01:00
SomberNight
1387a45908 trezor plugin: native segwit and bip84 2018-01-09 17:09:58 +01:00