Commit Graph

1117 Commits

Author SHA1 Message Date
SomberNight
1d6f000868
transaction.py: shortcut witness/scriptSig serialisation 2018-04-27 16:16:14 +02:00
SomberNight
688dd07381
qt receive tab: show address on hw wallet 2018-04-27 03:21:27 +02:00
SomberNight
d0352379d7
fix #4071 2018-04-22 04:00:57 +02:00
SomberNight
e00499f040
ledger: nice error msg if pin locked for sign_tx/sign_msg/show_addr 2018-04-22 02:15:08 +02:00
tiagotrs
23c29715af Add "Revealer" seed backup plugin (#4228)
* revealer commit

* fix seed font, added license

* fixed strings for translation

* better calibration instructions, fixed position

* removed html from translatable strings, fixed typo

* Added monospace font for codes, cleaned up redundant font formatting

* Monospace font for codes and respective license

* fix redundancies, typos

* inner function to only move forward if no exception

* paint QR qith QT to not depend on PIL
catch exeptions when creating a digital Revealer

* clarity

* Added SourceSans font License

* fix fonts paths, typo

* broke long lines, changed some words for clarity,
removed redundant font license
2018-04-19 15:47:41 +02:00
SomberNight
f6cb26be1f
cosigner pool: show exception text if failing to send to server 2018-04-19 01:38:49 +02:00
SomberNight
95a93a3f86
cosigner pool: add warning when used with hardware wallet
related: #4271
2018-04-17 16:20:08 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
benma
f7d1d5a7c7
digitalbitbox: enable native segwit 2018-04-11 11:57:36 +02:00
benma
cf98c8f2c1
digitalbitbox: some Python backwards compat fixes 2018-04-11 11:57:28 +02:00
SomberNight
7b50790584
do not raise BaseException 2018-04-07 17:10:30 +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
502d72c167 ledger: send derivation for change output 2018-03-24 00:00:22 +01:00
ThomasV
382f69edd9
Merge pull request #4094 from SomberNight/labels_plugin_catch_exc
labels plugin: better exception handling
2018-03-23 19:48:03 +01:00
Johann Bauer
8f31d224aa
email_requests: Catch all connection related exceptions
Closes: #4160
Closes: #4105
2018-03-23 15:17:31 +01:00
Johann Bauer
14c45f0915
email_requests: Test connection and catch exceptions 2018-03-23 14:04:11 +01:00
SomberNight
cd19f788cc fix ledger: nano s did not work reliably since last fw update
follow LedgerHQ/btchip-python@6e985b558f
2018-03-22 15:48:48 +01:00
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