Commit graph

115 commits

Author SHA1 Message Date
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
529cb3602c
fix ledger signing. fix dbb 2fa. follow-up partial txn ser change (#4405) 2018-06-15 20:21:29 +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
SomberNight
530980ea37
ledger: offline signing for segwit inputs
related: #3302
2018-04-28 22:56:53 +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
33e3170591
ledger: a bit friendlier msg when show_address fails for hw.1 2018-04-28 16:34:38 +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
SomberNight
e00499f040
ledger: nice error msg if pin locked for sign_tx/sign_msg/show_addr 2018-04-22 02:15:08 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +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
502d72c167 ledger: send derivation for change output 2018-03-24 00:00:22 +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
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
2ce2b36846 ledger: newer fw throws different exception when not in bitcoin mode 2018-03-18 02:14:47 +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
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
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
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
2df0d7cec5 ledger: handle pin-locked state better 2018-01-12 04:03:43 +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
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
SomberNight
8de7c94dab ledger: mention "bitcoin" app when update is needed 2017-12-16 19:46:45 +01:00
SomberNight
c9bef38dff fix: ledger clear_dialog() threading issues 2017-11-18 04:09:15 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00
ThomasV
1cec6c8dec fix #3248: locktime 2017-11-11 11:37:50 +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
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
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
BTChip
396c76f83f Check firmware version for Segwit related transactions, add native segwit support 2017-09-17 18:34:38 +02:00
ThomasV
63a1db1172 make xpub/xprv version information user-visible 2017-09-13 11:33:28 +02:00
ThomasV
e4659327a1 fix #2645: do not call tx.get_fee from plugin 2017-08-31 09:55:44 +02:00
BTChip
e49e3d6673 Python 3 and Segwit fixes 2017-08-30 22:49:03 +02:00