1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-16 04:49:08 +00:00
Commit Graph

190 Commits

Author SHA1 Message Date
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
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
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
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
741bfd5c53 core: remove loop.signal in favor of chan, change usage 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
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
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
6835748bbf core/protobuf: fix 5b6fa113 2019-08-07 10:59:22 +02:00
Tomas Susanka
e897f7cf7f core: fix unit tests
test_protobuf.py is failing because of `del ffields` introduced by 5b6fa1136a
2019-08-07 10:04:38 +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
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
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
4da54f95d6 core/shamir: remove checked icon from future items in Backup checklist 2019-07-29 13:42:20 +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
Tomas Susanka
5bd8ad321e core/shamir: increase default iteration exponent to 1 2019-07-26 15:56:53 +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
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
539379bd55 core: alter reset_device to use enum 2019-07-22 15:43:15 +02:00
Tomas Susanka
1480f754f4 build 2019-07-22 15:32:41 +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