Jan Pochyla
49e75851c7
ui.text: add mutable API
2018-07-03 16:49:52 +02:00
Pavol Rusnak
ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf
2018-07-02 20:40:51 +02:00
matejcik
28e2970cfb
vendor: update trezor-common, regenerate messages
2018-07-02 20:19:16 +02:00
Jan Pochyla
6e13a1475b
ui: introduce LazyWidget
...
Used in Button and Text.
2018-07-02 15:30:32 +02:00
Pavol Rusnak
9f90ca21a9
src/apps/wallet/sign_tx: fix bip115 code in last commit
2018-07-02 14:29:58 +02:00
idimon4uk
3b345f3c76
src/apps/wallet/sign_tx: add Zencash support ( #252 )
2018-07-02 14:16:26 +02:00
Pavol Rusnak
6ab2b5d6ee
vendor: update trezor-common
2018-06-28 14:00:53 +02:00
Pavol Rusnak
3d796b971a
src/apps/wallet/sign_tx: refactor address_short function
2018-06-28 11:21:07 +02:00
Jan Pochyla
88744d2450
wire: remove codec_v2.py
2018-06-21 15:51:36 +02:00
Jan Pochyla
1bfbb34f88
src/trezor/loop: avoid closing task from within
2018-06-19 18:26:43 +02:00
Jan Pochyla
7630201a57
debug: do not rely on mp_optimise_value
...
Reflects micropython commit 3f420c0c27bd6daa5af39517925be55b9b9a9ab3
Replaces usage of mp_optimise_value with calls from python code.
2018-06-19 18:26:43 +02:00
Pavol Rusnak
97bb26b7f3
embed/extmod/modtrezorcrypto: use kwargs for Blake2b/Blake2s
2018-06-19 18:15:58 +02:00
Jan Pochyla
8e270fbabd
src/trezor/ui/text: fix layout issues
2018-06-18 17:49:16 +02:00
Jan Pochyla
2603c477c5
embed/extmod/modtrezorui: distinguish font ids from colors
2018-06-08 14:53:46 +02:00
Jan Pochyla
c9a58ba22c
trezor.ui.text: add work break and configurable new_lines
...
Now it is possible to combine multiple font styles per line,
a nd to manually control line breaks with trezor.ui.text.BR.
2018-06-08 14:53:46 +02:00
Jan Pochyla
f72667c761
Merge pull request #217 from alepop/restore-lisk-sign-verify-message
...
Lisk sign/verify functionality
2018-06-07 15:55:21 +02:00
Aleksey Popov
de552b19f5
app.lisk: update LiskVerifyMessage message
2018-06-07 15:26:59 +03:00
Aleksey Popov
caffef2e0a
app.lisk: restore sign and verify functions with correct message digest (with prefix)
2018-06-06 23:53:15 +03:00
Tomas Susanka
33ac5de848
wallet/nem: basic modtrezorcrypto for nem
2018-06-06 17:24:06 +02:00
Pavol Rusnak
a5952d16db
src/apps/wallet/sign_tx: more changes for zcash overwinter
2018-06-06 16:53:36 +02:00
Pavol Rusnak
dfd02821af
src/apps/wallet: add support for zcash overwinter
2018-06-05 16:04:23 +02:00
Pavol Rusnak
4d1b2f0ca5
vendor: update trezor-common
2018-06-05 13:37:17 +02:00
Pavol Rusnak
307f7baecf
fix flake8 issues
2018-05-28 15:23:37 +02:00
Tomas Susanka
bb57000449
src/trezor/crypto: add trezor.crypto.base32
2018-05-25 16:09:05 +02:00
Pavol Rusnak
0cd3e411f4
src/apps/wallet/sign_tx: implement cashaddr
2018-05-24 16:38:56 +02:00
Pavol Rusnak
5885cb867e
src/trezor/messages: regenerate messages
2018-05-24 15:41:57 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
2018-05-24 15:18:05 +02:00
Aleksey Popov
59e6e49111
protob: Generate new messages
2018-05-23 11:47:07 +02:00
Pavol Rusnak
577cb361dc
src/trezor/crypto: add cashaddr support
2018-05-22 17:47:54 +02:00
Jan Pochyla
db696b23fd
src/trezor/wire: add exceptions for all defined FailureTypes
...
Makes the error API much more ergonomic.
2018-04-23 16:12:44 +01:00
Jan Pochyla
074e7c1b9b
src/main: simplify, extract USB code into usb.py
2018-04-16 17:17:45 +02:00
Jan Pochyla
e223173b4e
loop: wait -> spawn, select -> wait
...
select was a bit confusing name, as we always block on only one
interface.
2018-04-13 14:57:04 +02:00
Jan Pochyla
ebf4d2035e
src/trezor/utils: fix warnings in unimport_end
2018-04-05 17:01:21 +02:00
Jan Pochyla
60bec0b4d1
src/trezor/wire: allow passing MessageType classes to register()
2018-04-05 12:34:51 +02:00
Jan Pochyla
2731742d34
src/trezor/messages: allow registration of custom messages
2018-04-05 12:34:51 +02:00
Pavol Rusnak
eff139e4fc
style: fix flake8 warning
2018-04-04 01:22:40 +02:00
Jan Pochyla
04680f4bbf
src/trezor/wire: clean up after workflows
2018-04-03 20:39:26 +02:00
Jan Pochyla
b38d6870eb
src/trezor/utils: replace unimport with explicit fns, remove parent references
2018-04-03 20:39:26 +02:00
Jan Pochyla
25ae6bba51
src/trezor/ui/word_select: use apps.debug.input_signal
2018-03-22 15:31:36 +01:00
Jan Pochyla
6c9c563323
pin: simplify label code
2018-03-20 16:48:45 +01:00
Jan Pochyla
01bc12ec27
src/apps/debug: simplify debuglink, add more decision/state fields
...
- move data exported over debuglink into apps.debug
- move debug signals into apps.debug
- make pin/mnemonic dialogs testable
- streamline code style of apps.management.reset_device
- check __debug__ when debug app starts
2018-03-20 16:48:45 +01:00
Jan Pochyla
f9c51af32f
src/trezor/loop: cleanup signal in case of task failure
2018-03-20 16:48:45 +01:00
Pavol Rusnak
b83ffee3af
src/apps/common: implement unfinished_backup flag in the storage
2018-03-12 16:22:56 +01:00
Pavol Rusnak
e6bfd192e5
src/apps/common: implement passphrase_source and use it
2018-03-12 15:27:30 +01:00
Pavol Rusnak
2f440f17d3
Revert "trezor/utils: refactor 'serialize_identity()'"
...
This reverts commit de217f75df
.
2018-03-11 22:57:39 +01:00
Roman Zeyde
de217f75df
trezor/utils: refactor 'serialize_identity()'
2018-03-11 22:53:47 +01:00
Jochen Hoenicke
8cdec0652e
Ethereum: Fix fee computation.
...
- Gas is always in ether, even when sending tokens.
- Fee is computed by multiplying gas limit with gas price.
- Parse numbers already in sign_tx.
- Made rlp.encode non-recursive (also fixes not passing include_length).
2018-03-08 18:49:28 +01:00
Jochen Hoenicke
ffe151459b
passphrase: include all ASCII characters
2018-03-07 12:16:21 +01:00
Pavol Rusnak
611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model()
2018-03-04 12:59:16 +01:00
Pavol Rusnak
c7c5f55508
src/apps/ethereum: fix layout for values around 1e9 Wei
2018-03-03 23:37:21 +01:00