Commit graph

243 commits

Author SHA1 Message Date
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
SomberNight
7cf547c4b8 follow-up #3621 (trezor plugin changes for trezorlib 0.9.0) 2018-01-09 16:39:39 +01:00
slush
dda9d4b746 Updated TREZOR plugin to work with trezorlib>=0.9.0. 2017-12-29 20:36:51 +01:00
slush
a30d59912e Updated TREZOR plugin to work with trezorlib>=0.8.0. 2017-12-29 20:36:51 +01:00
SomberNight
84239e168b trezor/keepkey separation: init device 2017-12-04 19:56:46 +01:00
SomberNight
1359fac4c9 trezor/keepkey separation: tx output type 2017-12-04 18:05:03 +01:00
ThomasV
ff815acbd5
Merge pull request #3407 from SomberNight/fix_keepkey_p2sh_output
fix: keepkey sending to p2sh output
2017-12-02 16:57:57 +01:00
Neil Booth
bf452ecfe7 Make trezor code specific to trezor
Fixes #3308
2017-12-02 16:08:49 +09:00
SomberNight
e700b0d731 fix: keepkey sending to p2sh output 2017-11-29 05:39:44 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
SomberNight
0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
ThomasV
f36024e216 hardware wallets: pass xtype to get_xpub 2017-10-31 11:45:25 +01:00
ThomasV
a10e6b6436 fix xtype of ypub keys in plugins and bip39 seeds 2017-10-27 12:04:26 +02:00
ThomasV
020f0637d7 trezor: only TYPE_ADDRESS is needed for non-change outputs 2017-10-23 14:03:43 +02:00
ThomasV
24442de8df fix command line interface for hardware wallets. fixes #3056 2017-10-19 11:59:36 +02:00
SomberNight
5d81ed5d62 fix raw_input() in trezor cmdline 2017-10-17 21:05:26 +02:00
Neil Booth
21e0cd9237 Remove decrypt_message; no longer supported by Trezor or KeepKey 2017-10-17 18:19:38 +09:00
ThomasV
d55468d1a6 Merge pull request #3046 from SomberNight/fix_trezor_unresolved_var_keystore
fix: unresolved var in trezor/plugin.py
2017-10-16 07:13:23 +02:00
SomberNight
1809996bbf fix: unresolved var in trezor/plugin.py 2017-10-16 02:25:30 +02:00
SomberNight
a2fdb7a396 fix: rm unicode() calls in trezor plugin (py3) 2017-10-16 01:40:13 +02:00
ThomasV
0df24d9321 trezor plugin: add paytowitness (not supported yet) 2017-10-11 12:24:55 +02:00
SomberNight
e43481aafc fix prev commit: name collisions with _() 2017-09-24 04:44:11 +02:00
SomberNight
f1a4f998d2 fix: return type of QFileDialog.getOpenFileName() changed 2017-09-24 04:16:39 +02:00
SomberNight
4ac162f18b migration to PyQt5. initial commit. 2017-09-23 05:54:38 +02:00
ThomasV
63a1db1172 make xpub/xprv version information user-visible 2017-09-13 11:33:28 +02:00