Sander van Grieken
0c9d4abb82
qml: show 2FA status and billing info in WalletDetails, expose billing schedule setting in config
3 years ago
SomberNight
01b5e3f8e0
flake8: enable more mandatory tests
3 years ago
ThomasV
3bb453aaba
PayServer: add settings dialog and hook for view_url
3 years ago
ThomasV
724edd223c
make PayServer a plugin
3 years ago
Sander van Grieken
28b5103d93
remove qml_test plugin, remove plugin settings test
3 years ago
Sander van Grieken
c6496d02ef
add recovery paths (disable and confirm/reset OTP) for 2FA
3 years ago
Sander van Grieken
255f508574
remove unused, add type checking imports
3 years ago
Sander van Grieken
20c95b26ea
wip otp on pay
3 years ago
Sander van Grieken
43bac2edff
qml: use new wizard approach in qml and also implement 2FA/trustedcoin
3 years ago
SomberNight
4b8790c919
qt 2fa: show different status-bar icon for "2fa disabled" wallet
...
related: https://github.com/spesmilo/electrum/issues/8018
3 years ago
Jamie C. Driver
68f320041a
jade: update Jade api to 0.1.37
3 years ago
Sander van Grieken
6bbd18dc78
qml: fix flake errors
3 years ago
Sander van Grieken
27999a9583
qml: clean up, generalize plugin gui base, enumerate plugins in gui
...
(still quite crude impl, dynamic enable/disable plugin gui is misaligned
with backend)
3 years ago
Sander van Grieken
32a81d8ee7
qml: initial plugin support, with labelsync mostly implemented
3 years ago
SomberNight
16c84acb98
hw wallets: improve error message when a dependency is missing
...
e.g.
```
Debug message
jade: (error getting device infos)
Missing libraries for jade.
ModuleNotFoundError("No module named 'cbor'")
Make sure you install it with python3
```
3 years ago
SomberNight
388811296e
qt: replace some hardcoded pixel sizes for better high-dpi support
3 years ago
SomberNight
7b095158bf
wallet: add get_label_for_address, and make get_label private
...
fixes https://github.com/spesmilo/electrum/issues/7919
In the past, when creating payment requests, we keyed them by on-chain address,
and set/saved the msg of the request as label for the address.
Many places in the code were calling wallet.get_label(addr) with the expectation that
relevant payment requests are found and their message/description (if any) is considered.
wallet.get_label(key) is now made private, and instead the explicit non-polymorphic
wallet.get_label_for_{address,rhash,txid} alternatives should be used.
3 years ago
ThomasV
ad9030bd15
labels plugin: handle setting a label to None
3 years ago
SomberNight
79fec3417a
crypto.py: rm {En,De}codeAES_base64. instead use {En,De}codeAES_bytes
3 years ago
Sander van Grieken
1260720bb6
qml: qml test plugin
3 years ago
Sander van Grieken
d195fce82d
qml: hook any qml supporting plugins, add test plugin
...
This allows different platforms to have their own UI components while still leveraging the common
set of QObjects and utility components.
3 years ago
SomberNight
5b29e6d4f5
qt: (refactor) split "receive tab" out from main_window.py
4 years ago
SomberNight
574243b897
hww ledger: call scan_devices fewer times
4 years ago
SomberNight
b5d3f1458a
hww: impl get_client in Hardware_KeyStore instead of subclasses
4 years ago
SomberNight
745e697188
hww: move trigger_pairings to DeviceMgr
4 years ago
ThomasV
c67c4e95dc
remove email plugin
4 years ago
Jeremy Rand
1aa444e0f8
Fix "== None" linter fails
...
Credit to Zoltan Konder for pointing me to this issue.
4 years ago
SomberNight
cac4b6f92c
email plugin: SSL was using insecure defaults
4 years ago
SomberNight
7e77a7e1cc
email plugin: (trivial) adapt to Invoices refactor
4 years ago
SomberNight
98feff07ad
threading.Thread: fix some DeprecationWarnings
...
"DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead"
4 years ago
Jamie C. Driver
15f108aaa5
Add support for the Blockstream Jade hww
4 years ago
SomberNight
7f876e46fb
hw plugins: (follow-up) rm some more dead code
...
follow-up 30623c3529
4 years ago
SomberNight
6c50d3b0a3
hw plugins: (cleanup) rm no-op clear_client argument from keystore.give_error
...
The keystore does not have a "client" field.
One is supposed to use the "get_client" method instead (the generic API is `plugin.get_client(keystore)`)
Remnants of old code.
4 years ago
SomberNight
aab8e664ed
hw plugins: (cleanup) Plugin objects should not have a Client field
...
Clients are per-connected-device, plugins are ~singletons.
These were mostly remnants of old code.
4 years ago
SomberNight
30623c3529
hw plugins: (cleanup) Plugin objects should not have a Handler field
...
Handlers are per-client (connected device), plugins are ~singletons.
These were mostly remnants of old code.
4 years ago
SomberNight
9599254d43
hw: rm dead code from Hardware_KeyStore subclasses
...
- force_watching_only is long since unused
- comment was just duplicated from the base class
4 years ago
SomberNight
d5f987c9e9
hw keepkey: workaround protobuf weirdness
...
this adds a hackish workaround for https://github.com/spesmilo/electrum/issues/7779
4 years ago
SomberNight
610dd7ce83
hardware wallets: redefine "id_" for hid devices to avoid collisions
...
I had a ledger nano S and a ledger nano S plus connected at the same time,
and the "id_"s were colliding resulting in weird behaviour. Multisig was pretty
much not usable with both devices connected simultaneously.
Example dicts returned by `hid.enumerate(0, 0)`:
{'path': b'\\\\?\\hid#vid_2c97&pid_1015&mi_00#a&2a30{REDACTED}&0&0000#{REDACTED_UUID}', 'vendor_id': 11415, 'product_id': 4117, 'serial_number': '0001', 'release_number': 513, 'manufacturer_string': 'Ledger', 'product_string': 'Nano S', 'usage_page': 65440, 'usage': 1, 'interface_number': 0},
{'path': b'\\\\?\\hid#vid_2c97&pid_5011&mi_00#a&28d{REDACTED}&0&0000#{REDACTED_UUID}', 'vendor_id': 11415, 'product_id': 20497, 'serial_number': '0001', 'release_number': 513, 'manufacturer_string': 'Ledger', 'product_string': 'Nano S Plus', 'usage_page': 65440, 'usage': 1, 'interface_number': 0}
4 years ago
SomberNight
ec98ef5aee
hw ledger: sign_transaction: add progress indicator
...
related: https://github.com/spesmilo/electrum/issues/7516
4 years ago
Marko Bencun
01b4b35f9f
bitbox02: bump dependency to v6.0.0, support sending to taproot
4 years ago
nndiaye-ledger
7e083824b7
Add support for Ledger Nano S Plus ( #7692 )
4 years ago
SomberNight
376fc01b27
keystore.sign_message: add optional script_type argument
...
this is used by trezor
(and also by bitbox02, which was using a workaround previously)
fixes https://github.com/spesmilo/electrum/issues/7670
4 years ago
SomberNight
5cdb4471ec
signmessage: also accept Trezor-type sigs for p2wpkh and p2wpkh-p2sh addrs
...
The signatures we create are unchanged but we now also accept signatures created by Trezor and others.
see https://github.com/spesmilo/electrum/issues/3861
4 years ago
SomberNight
4f9e4c520f
ecc: API changes: verify_message_hash to return bool instead of raising
...
verify_message_hash and verify_message_for_address now return bool
instead of raising Exceptions on bad signatures.
4 years ago
Pavol Rusnak
1e8e2890d5
trezor: use the same amount unit (satoshi, etc.) on device
4 years ago
matejcik
9a975a5200
trezorlib 0.13 compatibility
4 years ago
tiagotrs
f9734f5611
rephrasing, removal of revealer website links ( #7359 )
...
* rephrasing, removal of website links
* don't open pdf automatically
5 years ago
Andrew Kozlik
0dce13a1dd
Implement SLIP-0039 wallet recovery.
5 years ago
ThomasV
2c39f0c9c4
fix #7190
5 years ago
ThomasV
774a9ad263
fix #7164
5 years ago