Commit Graph

1097 Commits

Author SHA1 Message Date
SomberNight
db9cb63e79 ledger: mixed up error code..
follow-up 2ce2b36846
2018-03-22 15:46:23 +01:00
ThomasV
f8f00188ed
Merge pull request #4148 from SomberNight/hw_wallet_output_ismine_der
trezor/keepkey/dbb: provide derivation info for all is_mine txn outputs
2018-03-22 12:18:59 +01:00
SomberNight
6ef921cbbe ledger hw1: testnet 'support' for security card 2fa; and minor clean-up 2018-03-20 17:07:55 +01:00
SomberNight
2d94491974 fix #4152. and clean up imports 2018-03-20 14:15:54 +01:00
SomberNight
7d11812f55 trezor/keepkey/dbb: provide info for all is_mine txn outputs 2018-03-20 02:04:41 +01:00
ThomasV
35ae2a0064
Merge pull request #4143 from SomberNight/wallet_file_exception
Catch wallet file related exceptions in Qt wizard
2018-03-19 11:57:24 +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
2ce2b36846 ledger: newer fw throws different exception when not in bitcoin mode 2018-03-18 02:14:47 +01:00
SomberNight
ee3ab5361e dbb: handle password prompt cancellation better 2018-03-18 01:55:15 +01:00
SomberNight
3fb75bc606 dbb: do show_address in different thread 2018-03-18 01:46:09 +01:00
SomberNight
61a45edee0 Catch wallet file related exceptions in Qt wizard. 2018-03-17 22:56:20 +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
8589c1b0bb ledger: don't throw exception if user cancels signing
Used to show "Exception : Invalid status 6985", which is not really user-friendly. This now mimics the behaviour with Trezor where we silently ignore cancellation (not showing any popup).
2018-03-14 15:18:26 +01:00
SomberNight
0f5cabc7f6 fix #4122 2018-03-14 12:42:42 +01:00
SomberNight
87aee10047 fix #4111 2018-03-12 21:23:37 +01:00
SomberNight
d3065f73bf follow-up 3c505660a6 2018-03-11 13:28:13 +01:00
SomberNight
a2ebad009f labels plugin: better exception handling 2018-03-11 11:30:10 +01:00
Johann Bauer
7869232737
Switch labelsync to electrum.org 2018-03-11 11:26:19 +01:00
Johann Bauer
895bd019fb Follow-up 3c505660a6: One search/replace too much 2018-03-10 00:09:17 +01:00
Johann Bauer
3c505660a6 Fix localization related issues with digitalbitbox 2018-03-09 23:52:34 +01:00
Johann Bauer
b3bd166620
Move Cosignerpool to HTTPS 2018-03-08 21:55:46 +01:00
SomberNight
c1d14b9677 trezor: try and allow transports to fail independently
related: #4060
2018-03-08 02:45:39 +01:00
SomberNight
e243918207 fix #4055
also remove dead code
2018-03-06 23:43:30 +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
ThomasV
848f4b9ae0
Merge pull request #3992 from matejcik/master
Trezor model T does not provide bootloader hash
2018-03-01 16:59:22 +01:00
matejcik
2bfcf9f0b5 Trezor model T does not provide bootloader hash 2018-03-01 13:41:02 +01:00
SomberNight
2f4ee16fd4 fix email_requests plugin 2018-03-01 02:39:48 +01:00
SomberNight
a32d27b9d7 make 2fa wallets work on testnet 2018-02-26 18:21:36 +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
ac2d4eb0ef fix #3508 2018-02-04 22:02:10 +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
ken2812221
452d60033a
Shows correct bech32 address on ledger 2018-01-21 22:59:27 +08: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
2df0d7cec5 ledger: handle pin-locked state better 2018-01-12 04:03:43 +01:00
ThomasV
d38303354c
Merge pull request #3683 from SomberNight/wizard_scriptnotsupported
wizard: allow to choose derivation again if script type is not supported
2018-01-11 16:45:55 +01:00
ThomasV
1da020c415
Merge pull request #3681 from SomberNight/trezor_native_segwit
trezor plugin: native segwit
2018-01-11 16:45:18 +01:00
ghost43
3c755aaa90
Merge pull request #3679 from marceloneil/ledger-version-comparison
Better ledger version comparison
2018-01-10 21:51:48 +01:00
Marcel O'Neil
14cfd17096
better ledger version comparison 2018-01-10 14:15:21 -05:00
SomberNight
d8a9c9720a follow-up 65eae139af 2018-01-10 18:39:25 +01:00
mzhou
65eae139af add ability to show a receiving address on ledger screen (#3538)
add ability to show a receiving address on ledger screen
2018-01-10 18:37:41 +01:00
SomberNight
9416e5bc35 wizard: allow to choose derivation again if script type is not supported (instead of closing the wizard) 2018-01-09 21:10:32 +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
SomberNight
6d88eab005 tests: added 2fa seed case to test_wallet_vertical.py 2018-01-04 22:21:05 +01:00
Ali Raheem
ed86fee3fe
Format of message hash to match Ledger
On signing SHA256 of message is shown on Ledger in caps. Make Electrum show in same format to save confusion.
2018-01-01 21:23:37 +00:00
Ali Raheem
19ba2364b6
Show message sign when signing
Allow verification by showing the SHA256 hash of the message to be signed (which is also displayed on Ledger).
2018-01-01 20:55:10 +00: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
8de7c94dab ledger: mention "bitcoin" app when update is needed 2017-12-16 19:46:45 +01:00
SomberNight
ec99304ae1 fix sweeping for 2fa wallets 2017-12-11 17:37:10 +01:00
SomberNight
4e60cedea9 fix dbb cli 2017-12-07 00:27:25 +01:00
SomberNight
84239e168b trezor/keepkey separation: init device 2017-12-04 19:56:46 +01:00
SomberNight
414b6e8a06 follow-up 958b794bc9 2017-12-04 19:04:05 +01:00
SomberNight
52eb4aebe6 follow-up 958b794bc9 2017-12-04 18:38:58 +01:00
SomberNight
1359fac4c9 trezor/keepkey separation: tx output type 2017-12-04 18:05:03 +01:00
ThomasV
958b794bc9 separate trezor and keepkey codebase 2017-12-04 17:28:37 +01:00
SomberNight
3bcfb8273a Catch exception when retrieving 2FA TOS. Only allow user to continue if TOS was received. 2017-12-04 12:02:06 +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
Marko Bencun
f3092a8b50 digitalbitbox: correctly handle user aborts
1. When the pairing is being forced and the user clicks 'No', the tx
was cancelled completely because the UserCancelled exception was
accidentally converted to an Exception.
2. Same with user aborting the signing process with a short touch on
the device (or a timeout).
2017-11-24 10:12:13 +01:00
SomberNight
b159164575 fix: py3 digitalbitbox hid_send 2017-11-23 19:22:31 +01:00
Marko Bencun
b31c51b3d0 digitalbitbox: add support for segwit 2017-11-22 12:58:19 +01:00
SomberNight
5cfe909194 digitalbitbox: delegate clear_dialog() calls to GUI thread 2017-11-18 16:53:22 +01:00
SomberNight
c9bef38dff fix: ledger clear_dialog() threading issues 2017-11-18 04:09:15 +01:00
SomberNight
204146b30a fix: GreenAddress verification with passworded wallet 2017-11-15 12:12:11 +01:00
ThomasV
5e8791e5a4 trustedcoin: add message about how to request new code 2017-11-13 11:47:25 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
Justin Turner Arthur
8cb34f4d88 Fix undefined reference error in command line KeepKey plugin. 2017-11-12 23:11:22 -06:00
ThomasV
1cec6c8dec fix #3248: locktime 2017-11-11 11:37:50 +01:00
ThomasV
7bdaf01656 fix trustedcoin plugin: google auth code 2017-11-11 00:33:15 +01:00
SomberNight
0db5ea67a0 bitcoin.NetworkConstants: easier changing between testnet and mainnet 2017-11-09 17:47:57 +01:00
ThomasV
ea4d2343d3 revert 1ecfcea8dc after btchip-python has been fixed 2017-11-08 15:01:25 +01:00
ThomasV
42e2bb5ecc fix #3211: use bytearray in ledger sign_message 2017-11-05 17:45:55 +01:00
ThomasV
46b8436693 fix #2562: show error message if hardware library is missing 2017-11-05 12:49:38 +01:00
ThomasV
70d23f9e3b fix #3189: do not silence exceptions in get_xpub 2017-11-03 10:34:25 +01:00
ThomasV
d3465bb60a fix typo 2017-10-31 14:07:24 +01:00
ThomasV
f36024e216 hardware wallets: pass xtype to get_xpub 2017-10-31 11:45:25 +01:00
ThomasV
1ecfcea8dc ledger: disable getTrustedInput 2017-10-31 10:23:57 +01:00
ThomasV
f03cb75713 ledger: fix missing import 2017-10-29 16:40:08 +01:00
SomberNight
c6f085a711 fix xtype for ledger native segwit 2017-10-29 10:31:23 +01:00
ThomasV
a10e6b6436 fix xtype of ypub keys in plugins and bip39 seeds 2017-10-27 12:04:26 +02:00
SomberNight
523de69b5e Introduced BasePlugin.can_user_disable(). TrustedCoin plugin can't be disabled by user. 2017-10-24 04:42:52 +02:00
ThomasV
020f0637d7 trezor: only TYPE_ADDRESS is needed for non-change outputs 2017-10-23 14:03:43 +02:00
SomberNight
b0bab75859 fix: set wallet_type attr for 2fa wallets 2017-10-23 03:08:06 +02:00
ThomasV
24442de8df fix command line interface for hardware wallets. fixes #3056 2017-10-19 11:59:36 +02:00
SomberNight
db919ff340 py3: cosigner_pool 2017-10-19 03:19:48 +02:00
ThomasV
ddc989c672 fix #3062 2017-10-18 16:11:30 +02:00
ThomasV
49895df42f Merge pull request #3055 from SomberNight/trezor_cmd_raw_input
fix raw_input() in trezor cmdline
2017-10-18 11:14:35 +02:00
SomberNight
ee352bcee0 maintenance for greenaddress plugin 2017-10-17 22:16:46 +02:00