Commit graph

44 commits

Author SHA1 Message Date
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
ThomasV
5a5502303f make add_signature_to_txin an instance method 2018-06-26 13:09:02 +02:00
SomberNight
529cb3602c
fix ledger signing. fix dbb 2fa. follow-up partial txn ser change (#4405) 2018-06-15 20:21:29 +02:00
SomberNight
16e4827e8c
use libsecp256k1 if available. abstract away ecc stuff. move symmetric crypto and hash functions to crypto.py 2018-05-25 15:43:06 +02:00
SomberNight
c133e00590
hw wallets: define SUPPORTED_XTYPES for each plugin 2018-05-09 18:17:49 +02:00
SomberNight
e523b65767
hw wallets: test client is not None during setup_device 2018-05-06 14:45:03 +02:00
ghost43
40e9e8bd63
Merge pull request #4316 from SomberNight/receive_tab_show_address
[Qt] receive tab: show address on hw wallet
2018-04-28 16:36:40 +02:00
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
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
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
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
d3065f73bf follow-up 3c505660a6 2018-03-11 13:28:13 +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
SomberNight
81b6d65764 refactor network constants 2018-03-04 22:10:59 +01:00
SomberNight
4cc2575d72 cli support for hw encrypted wallets 2018-02-10 20:07:06 +01:00
SomberNight
ffdc36285b use string.format instead of old style (%) formatting 2018-02-04 07:26:55 +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
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
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
ThomasV
70d23f9e3b fix #3189: do not silence exceptions in get_xpub 2017-11-03 10:34:25 +01:00
ThomasV
f36024e216 hardware wallets: pass xtype to get_xpub 2017-10-31 11:45:25 +01:00
Marko Bencun
439a7ca890 digitalbitbox: import mobile pairing config
- menu option to verify addresses securely
 - p2pkh transaction verification

Next steps: p2sh tx verification and full 2FA.
2017-10-07 23:56:11 +02:00
Marko Bencun
bece1329cc digitalbitbox: fixed some more python3 issues 2017-09-25 00:06:24 +02:00
Marko Bencun
3143179907 fix digital bitbox plugin, port to Python 3
The digital bitbox plugin didn't work anymore, mostly due to str/bytes
issues.

This patch fixes message and tx signing. Backup restore is also
tested.

Untested: firmware <= v2.1.1 and wallet initialization.
2017-08-30 00:33:44 +02:00
ThomasV
ab15ff3a00 updates for python3 2017-08-26 08:28:24 +02:00
ThomasV
c3388d9677 misc python3 updates:
- use jsonrpclib-pelix
 - update the kivy gui
 - update plugins
2017-08-26 08:28:24 +02:00
djb
4e40a0bc5b
upgrade digital bitbox plugin for firmware 2.2.2 2017-06-23 16:08:55 +02:00
ThomasV
1d84029173 input_script: return txin.scriptSig if available. replace txin.is_coinbase with type. fixes #2321 2017-03-21 09:08:16 +01:00
djb
ab8c51e233
stream signing for tx with large number of inputs 2017-03-19 18:18:19 +01:00
djb
2b9282a00e
Bypass plugins/hw_wallet/qt.py bug when setting initial devices password 2017-03-14 17:17:56 +01:00
ThomasV
8e368d2251 dbb: derivation must be byte string 2017-03-11 15:38:51 +01:00
djb
5b0d5814b9
dbb - bugfix after an upstream change 2017-03-10 11:49:59 +01:00
ThomasV
d944a09da5 fixes for Digital Bitbox plugin 2017-02-25 14:56:06 +01:00
ThomasV
ae0235ee62 minor changes for Digital Bitbox 2017-01-31 15:31:56 +01:00
djb
6b6f0be7d4 add Digital Bitbox hardware wallet 2017-01-31 14:21:11 +01:00