Tomas Susanka
debb8ec478
Merge pull request #422 from romanz/typing
...
core/wallet: fix 'pubkeys' type to be list
2019-08-21 10:48:00 +02:00
Roman Zeyde
5b3427a21d
core: ensure multisig (m,n) parameters are valid ( #423 )
2019-08-20 19:18:34 +02:00
Pavol Rusnak
1eb823be03
core: fix permissions of apps/eos source files
2019-08-20 18:08:00 +02:00
Roman Zeyde
acfd6b7771
core/wallet: fix 'pubkeys' type to be list
2019-08-20 17:55:13 +03:00
Jan Pochyla
bb2556a22c
core: improve code documentation, simplify wire package
...
* docs: improve loop.py, ui.init
* docs: improve trezor.loop, rename spawn to race
* docs: wire
* core/wire: simplify and document the session handler
* core/wire: improve documentation
* core/wire: improve docs
* core/docs: document ui.grid function
* core: decouple ui and workflow, document both
* core: improve docs
Co-authored-by: Tomas Susanka <tsusanka@gmail.com>
2019-08-20 16:20:02 +02:00
Roman Zeyde
588998cb85
apps/wallet: support Signify Ed25519 signatures ( #348 )
2019-08-19 15:20:39 +02:00
omtns
1bb77b81c0
common/defs: enable MTNS ( #415 )
2019-08-16 17:29:50 +02:00
Tomas Susanka
e119e8de96
core/slip39: fix UI for 33 words
...
closes #395
2019-08-14 11:16:15 +02:00
Tomas Susanka
1b666804c0
core/shamir: fix EMS vs MS
...
(cherry picked from commit cb94454618
)
2019-08-13 17:25:47 +02:00
Roman Zeyde
7210a2f56d
common/defs: add 'confidential_assets' section to coin definitions ( #399 )
...
Enable 'confidential_assets' for Elements (following #66 and #317 ) to allow
deriving confidential addresses and signing confidential transactions.
The following Python helper script was used to update the JSON files:
```
import json
import sys
for f in sys.argv[1:]:
d = json.load(open(f))
d["confidential_assets"] = None
with open(f, "w") as o:
json.dump(d, o, indent=2)
o.write("\n")
```
Set it to `{'address_prefix': 4, 'blech32_prefix': 'el'}` for Elements.
`coins.json` and `coininfo.py` were re-generated using:
```
$ pipenv run make gen gen_check
```
2019-08-12 12:52:20 +02:00
matejcik
c285bbba7a
core: dispatch DebugLinkDecisions from a common queue
2019-08-09 16:53:12 +02:00
matejcik
f680f0c0d3
core: unify NEM pager confirm with rest of codebase
2019-08-09 16:53:12 +02:00
matejcik
0890f68c0c
core: use channels to give feedback over debuglink
...
all debug input signals are now channels, and DebugLinkDecision handler
waits until the input was consumed. This means that the input events are
queued; originally, if an input event arrived before the previous was
consumed, the previous input would be lost.
reset words and their positions are now also channels, and
DebugLinkGetState can wait for their updates, if required
2019-08-09 16:53:12 +02:00
Pavol Rusnak
e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field)
2019-08-09 16:47:24 +02:00
Tomas Susanka
024f4d64af
core/reset: modify confirmation sentence
2019-08-09 15:50:56 +02:00
Tomas Susanka
35ecfbcb3d
build
2019-08-09 13:34:46 +02:00
Andrew Kozlik
cb7bc8f410
core: Fix mypy warnings.
2019-08-09 12:52:55 +02:00
Andrew Kozlik
1d56b8b9a1
webauthn: Add login.microsoft.com to knownapps. Add Microsoft icon.
2019-08-09 12:46:28 +02:00
Jan Pochyla
943ed73166
core/ui: remove workaround, fixed properly in c9096d9
2019-08-06 15:43:17 +02:00
Jan Pochyla
5b6fa1136a
core: improve typing annotations
2019-08-06 15:42:23 +02:00
Andrew Kozlik
0a594ea1e9
Merge pull request #280 from trezor/andrewkozlik/slip-0021
...
Add SLIP-0021 implementation and tests.
2019-08-06 14:26:34 +02:00
Pavol Rusnak
007f3aa6de
core: use uppercase for cashaddr QR codes
2019-08-01 17:48:07 +02:00
Tomas Susanka
46c10e9402
core/shamir: end recovery mode after Success screen
2019-07-31 17:43:51 +02:00
Ciny
90b91a7fb5
#28 - binance implementation ( #189 )
...
- placeOrder, cancelOrder, transfer messages
- cli support
- unit and device tests
2019-07-31 17:02:41 +02:00
Tomas Susanka
ac2acb0b5a
core: mnemonic mypy
2019-07-30 11:22:56 +02:00
Tomas Susanka
4030874c7e
core: some mypy in recovery-related modules
2019-07-29 17:24:59 +02:00
Tomas Susanka
81a1b26fad
core/shamir: fix texts
2019-07-29 12:51:02 +02:00
Tomas Susanka
4117f3506c
core/shamir: text improvements
2019-07-26 16:51:56 +02:00
Tomas Susanka
a8c9a4ddc4
core/shamir: send boolean flag in Features that Recovery is in progress
2019-07-26 16:38:05 +02:00
Pavol Rusnak
c288514a4f
core+legacy: fix display of non-divisible OMNI amounts
2019-07-26 12:59:10 +02:00
Tomas Susanka
c735299bd0
core/backup: fix mnemonic_module to mnemonic_type
2019-07-26 12:06:00 +02:00
Andrew Kozlik
217c910b4b
cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano.
2019-07-25 19:43:05 +02:00
Tomas Susanka
2b6a14cb5f
core: support load device with SLIP-39
...
updates #356
2019-07-24 15:45:52 +02:00
Jan Pochyla
ebe883e4a9
core: support rebooting into default mode
2019-07-24 15:12:04 +02:00
Tomas Susanka
d2597d54c1
core/shamir: persistence
...
updates #270
2019-07-24 15:12:04 +02:00
Tomas Susanka
8f4bbb8825
core/homescreen: move err and warn to ui module
2019-07-24 12:55:12 +02:00
Tomas Susanka
539379bd55
core: alter reset_device to use enum
2019-07-22 15:43:15 +02:00
Tomas Susanka
7c0a20b5bb
core: add common page for success and warning
2019-07-16 14:49:23 +02:00
Andrew Kozlik
58e06ba22c
core/seed: Ensure ed25519 paths are hardened in Keychain.derive().
2019-07-16 14:30:30 +02:00
andrew
5f604b5fea
core/seed: Add SLIP-0021 implementation and tests.
2019-07-16 14:30:28 +02:00
Tomas Susanka
db0847282a
core/reset: check three words
...
closes #289
2019-07-16 09:58:44 +02:00
Tomas Susanka
96cdd886bc
core: fix Hold To Confirm button
2019-07-15 14:16:49 +02:00
Tomas Susanka
d073102422
core/ripple: increase the maximum amount allowed to be sent
...
The maximum amount is defined in [Ripple's docs](https://xrpl.org/basic-data-types.html#currencies ) but it's most likely in XRP and not in drops ("satoshi" equivalent). This commit increase the value to the drops equivalent.
closes #327
2019-07-15 13:34:14 +02:00
Tomas Susanka
5134cd0b80
core: add backup warnings at correct place; add backup success page
...
closes #287
2019-07-15 11:17:40 +02:00
Andrew Kozlik
b9f63c3f55
webauthn: Add Binance to knownapps. Add Binance icon.
2019-07-12 11:38:44 +02:00
Tomas Susanka
ce312e484b
Show total number of words during device recovery ( #320 )
...
Show total number of words during device recovery
2019-07-09 16:30:28 +02:00
Tomas Susanka
841a27257e
Shamir reset device tests ( #319 )
...
Shamir reset device tests
2019-07-09 15:43:53 +02:00
ciny
11b9f1c4e8
core: show total number of words during device recovery
2019-07-09 15:40:41 +02:00
ciny
bdfdaa9bb1
core: added device tests for shamir reset
2019-07-09 14:09:12 +02:00
Jan Pochyla
081e459075
core: fix various types
2019-07-09 14:05:35 +02:00
Jan Pochyla
758a1a2528
core/typing: add annotations
2019-07-09 12:51:48 +02:00
Tomas Susanka
46e4c02602
core: refactor storage
...
Each namespace now has its own file in apps.common.storage and
storage/__init__ serves as an entry point.
Updates #274 .
2019-07-08 15:24:56 +02:00
Tomas Susanka
f94bc26110
core/mnemonic: return progress_bar parameter
2019-07-01 15:08:23 +02:00
Tomas Susanka
5aa592a69a
core/slip39: modify wording on success screen
2019-06-28 12:26:34 +02:00
Tomas Susanka
f78e75bc38
core/slip39: add different wording for BIP/SLIP39 in backup warining
2019-06-28 11:57:02 +02:00
Tomas Susanka
390bef00ca
core/slip39: catch exception also when finding out threshold in recovery
2019-06-27 15:42:09 +02:00
Tomas Susanka
6c50b155de
core: remove unused variables in Shamir recovery
2019-06-27 14:10:33 +02:00
Tomas Susanka
c205acd3e1
core/slip39: do not populate MnemonicError's message; do not throw exceptions with mnemonic inside the message
2019-06-27 14:00:45 +02:00
Tomas Susanka
4f8022c5cd
core/slip39: remove partial persistance in Shamir recovery
2019-06-27 13:47:02 +02:00
Roman Zeyde
f3e3ebe1d8
core: unify exception handling at wallet.sign_tx ( #255 )
2019-06-26 16:53:26 +02:00
Roman Zeyde
99e21f2a96
core: keep BIP143 hashes as bytes ( #258 )
...
AFAIU, there is no need to convert them to bytearray.
2019-06-26 16:52:31 +02:00
Tomas Susanka
bc3a4a69be
core: style
...
I'm sorry about this, I'll add a git hook for pre-push I promise.
2019-06-26 13:20:41 +02:00
Tomas Susanka
8f3e648497
core/slip39: remove note on T9 keyboard
2019-06-26 13:18:47 +02:00
Tomas Susanka
582910732a
core/slip39: one more typo
2019-06-26 11:40:33 +02:00
Tomas Susanka
2f0a5adac6
core/slip39: hopefully final version of slip39 texts
2019-06-26 11:11:50 +02:00
Tomas Susanka
4fbac3ec63
style
2019-06-26 10:23:32 +02:00
Tomas Susanka
5394d5a5a5
core/slip39: add texts from copy and add success screen in recovery
2019-06-26 06:59:45 +02:00
Jan Pochyla
487cc19750
core/recovery_device: fix dry_run
2019-06-25 18:25:32 +02:00
Tomas Susanka
240440550a
style
2019-06-25 16:56:35 +02:00
Tomas Susanka
4124ad3ccd
core/slip39: return ProcessError when mnemonic processing fails
2019-06-25 16:49:46 +02:00
Jan Pochyla
a4039f9459
core/management: fix word check, add icons to checklist
2019-06-25 15:47:19 +02:00
Tomas Susanka
10e5ec6135
core/slip39: generate and store slip39 identifier during reset
2019-06-25 14:43:20 +02:00
Jan Pochyla
4d0fe4d064
core/management: fix various reset/backup/recovery ui bugs
2019-06-25 13:23:48 +02:00
Tomas Susanka
0daf2bf6b6
core/reset device: remove unnecessary check
2019-06-24 15:25:21 +02:00
Jan Pochyla
03f23fe940
core/mnemonic: cancel homescreen before seed progress animation
...
If we close the default layout before the animation starts, the workflow manager starts it again after the current workflow ends (and no layout is running).
2019-06-24 13:12:12 +02:00
Tomas Susanka
80f8f7900d
core: add slip39 support to reset and recovery device
2019-06-23 21:33:58 +02:00
Roman Zeyde
6fb76f95d1
core: ensure correct pubkeyhash/witprog length in scripts.py ( #254 )
2019-06-22 16:22:00 +02:00
Pavol Rusnak
e3e2811f7a
core: throw exception classes instead of instances where possible
2019-06-22 02:14:02 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible
2019-06-17 20:28:29 +02:00
Jan Pochyla
5bc6bc4635
core: fix request_passphrase notification screen
2019-06-12 16:08:59 +02:00
Roman Zeyde
40bf2c5d2e
core: ensure pubkeyhash/scripthash have the correct length ( #220 )
2019-06-11 14:34:58 +02:00
Pavol Rusnak
9cb9653c27
core: refactor png2toi/toi2png tools into one toif_convert usable as a library
...
unify filename extensions
2019-06-09 18:07:07 +02:00
Pavol Rusnak
1ee5068128
core/cbor: fix string conversion to work with bytearrays
2019-06-01 11:49:27 +02:00
Andrew Kozlik
31506d81e9
core/cbor: move CBOR from cardano to common
...
- add support for text strings and boolean values
- add support negative integers and decoding maps
- fix decoding of short strings
- encode maps canonically
- add unit tests for decoding
- sort maps lexicographically by encoded key
2019-06-01 11:38:52 +02:00
Pavol Rusnak
751715dc15
common/defs: add to support.json, regenerate
2019-06-01 08:57:06 +02:00
Dusan Klinec
16317f1814
xmr: get_address - pagination, integrated address
...
- pagination added to show_address
- integrated address supported
- QR code fixed (prefix with monero: as GUI does)
2019-05-31 13:18:11 +02:00
Jan Pochyla
961499fdcf
core: fix uppercase ripple address in qr code
...
Fixes #191
2019-05-28 15:57:04 +02:00
Jan Pochyla
36534325f0
core: revamp the UI subsystem
2019-05-28 13:12:46 +02:00
Pavol Rusnak
07ce935725
core/eos: revert new pubkey format
2019-05-26 11:48:49 +02:00
Pavol Rusnak
8c1f5c88f7
core: fix style
2019-05-24 16:09:12 +02:00
Jan Pochyla
c2f5174b43
core: optimize memory usage in signing
2019-05-24 16:04:20 +02:00
Pavol Rusnak
a6e51434f2
core/eos: use new pubkey format
2019-05-24 16:01:28 +02:00
Pavol Rusnak
414b33dbfb
core/eos: reduce code duplication
2019-05-24 15:52:57 +02:00
Pavol Rusnak
1583ea62f9
core: serialize signature in EosSignedTx message
2019-05-24 12:49:19 +02:00
Tomas Susanka
279b40bdb7
build: templates
...
Fixes tests broken by 9e05517872
2019-05-24 11:49:03 +02:00
Pavol Rusnak
5f1586e049
core: regenerate templates
2019-05-23 20:24:44 +02:00
Pavol Rusnak
164336cb56
core: add equality function to mako template too
2019-05-22 22:46:22 +02:00
Pavol Rusnak
a99ccbc4d2
core: add equality function to coininfo
2019-05-22 16:59:06 +02:00
Pavol Rusnak
2060ca569f
core: fix flake8 warning
2019-05-22 16:28:26 +02:00
Jan Pochyla
1f3adc7069
core: store bitcoin-like coins as a decision tree
2019-05-22 16:15:39 +02:00