Tomas Susanka
c9a78d7bcb
core: fix docs typos
2019-08-21 15:12:21 +02: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
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum
2019-08-20 14:38:31 +02:00
Tomas Susanka
542f156b4f
core/slip39: remove _encrypt
...
(cherry picked from commit 53ca61ab00
)
2019-08-13 17:25:53 +02:00
Tomas Susanka
1b666804c0
core/shamir: fix EMS vs MS
...
(cherry picked from commit cb94454618
)
2019-08-13 17:25:47 +02:00
matejcik
741bfd5c53
core: remove loop.signal in favor of chan, change usage
2019-08-09 16:53:12 +02:00
matejcik
cf70f82d90
core: debug messages when reading from wire
...
fixes #373
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
matejcik
6e7fc5f601
core: implement channels for sending messages
2019-08-09 16:53:12 +02:00
Andrew Kozlik
cb7bc8f410
core: Fix mypy warnings.
2019-08-09 12:52:55 +02:00
Jan Pochyla
5b6fa1136a
core: improve typing annotations
2019-08-06 15:42:23 +02:00
Jan Pochyla
c9096d9a0a
core/ui: mark Controls as dirty in the beginning
2019-08-05 15:41:44 +02:00
matejcik
aa9860fdb7
protobuf: add enum value validation ( #363 )
2019-08-02 19:06:01 +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
4030874c7e
core: some mypy in recovery-related modules
2019-07-29 17:24:59 +02:00
Tomas Susanka
4da54f95d6
core/shamir: remove checked icon from future items in Backup checklist
2019-07-29 13:42:20 +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
Tomas Susanka
5bd8ad321e
core/shamir: increase default iteration exponent to 1
2019-07-26 15:56:53 +02:00
Tomas Susanka
e95a97f281
common/protobuf: set mnemonic as repeated in LoadDevice for SLIP-39 support
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
1480f754f4
build
2019-07-22 15:32:41 +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
Jan Pochyla
86e16bbf31
messages: add types
2019-07-09 12:51:48 +02:00
Dusan Klinec
67212a0d2e
PaginatedWithButtons fix, fixes #306
2019-07-08 16:59:13 +02:00
Tomas Susanka
f04f190a02
core/ui: enlarge backspace button
...
closes #288
2019-07-02 14:27:03 +02:00
Pavol Rusnak
3c40ab8d96
core/src: remove unused num_pad.py
2019-07-02 00:01:31 +02:00
Pavol Rusnak
bf3c257f96
core/messages: don't generate unused messages
2019-07-01 15:52:36 +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
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
07de336586
core/pin: do not allow empty pin
2019-06-25 13:23:48 +02:00
Jan Pochyla
4d0fe4d064
core/management: fix various reset/backup/recovery ui bugs
2019-06-25 13:23:48 +02:00
Tomas Susanka
989fb1491f
core/slip39: suggest word sooner when a single one is left
2019-06-25 10:35:19 +02:00
Tomas Susanka
80f8f7900d
core: add slip39 support to reset and recovery device
2019-06-23 21:33:58 +02:00
Tomas Susanka
49d6a35249
core: add slip39 keyboard
2019-06-23 21:33:58 +02:00
Pavol Rusnak
e3e2811f7a
core: throw exception classes instead of instances where possible
2019-06-22 02:14:02 +02:00
Andrew Kozlik
84d3723ee9
slip39: Add RS1024 error locator function.
2019-06-18 18:34:29 +02:00
Tomas Susanka
906013a6d7
ui/mnemonic: small refactor in input's edit
2019-06-13 21:18:23 +02:00
Tomas Susanka
40d55dfe8b
ui: remove dead code in mnemonic.py
2019-06-13 17:58:15 +02:00
Roman Zeyde
a4c0645622
core: return exception details in debug mode ( #238 )
2019-06-11 17:07:18 +02:00
Andrew Kozlik
0e277dfcb0
core/slip39: Fixed a bug when generating shares with group_threshold = 1.
2019-06-11 11:26:29 +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
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
36534325f0
core: revamp the UI subsystem
2019-05-28 13:12:46 +02:00
Jan Pochyla
09da577fd9
core: use const in trezor.crypto.slip39
2019-05-28 11:17:07 +02:00
Pavol Rusnak
a3717c7b6c
core/slip39: use condensed wordlist
2019-05-27 19:39:41 +02:00