1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 11:28:21 +00:00
Commit Graph

2112 Commits

Author SHA1 Message Date
matejcik
0de0e1f3fb pipenv: update locks and requirements 2018-05-28 18:00:24 +02:00
Jan Pochyla
cabb334448 apps/homescreen: handle Initialize.skip_passphrase
TODO: tests
2018-05-28 16:25:58 +02:00
Pavol Rusnak
df17be0287
src/apps/wallet: import CoinInfo from correct module 2018-05-28 15:37:29 +02:00
Pavol Rusnak
307f7baecf
fix flake8 issues 2018-05-28 15:23:37 +02:00
Pavol Rusnak
d1800e0256
src/apps/common: refactor coins.py into coins.py and coininfo.py 2018-05-28 12:18:54 +02:00
Tomas Susanka
bb57000449
src/trezor/crypto: add trezor.crypto.base32 2018-05-25 16:09:05 +02:00
Pavol Rusnak
4de376acd6
src/apps/ethereum: implement SignMessage/VerifyMessage 2018-05-25 14:36:07 +02:00
Tomas Susanka
37f6525c15 isinstance is used instead of __qualname__ 2018-05-25 13:43:42 +02:00
Jan Pochyla
b026287aed
Merge pull request #201 from trezor/get_uint
Introduce trezor_obj_get_int and trezor_obj_get_uint
2018-05-24 18:17:17 +02:00
Jan Pochyla
bf7729ab9f embed/extmod: use trezor_obj_get_uint{8} where it makes sense 2018-05-24 17:59:03 +02:00
Jan Pochyla
648ec675f4 embed/extmod: add trezor_obj_get_uint8 2018-05-24 17:59:03 +02:00
Jan Pochyla
39c1c85abb embed/extmod: use trezor_obj_get_uint for uint32_t 2018-05-24 17:59:03 +02:00
Jan Pochyla
71b4e9978c embed/extmod: add trezor_obj helpers for int and uint 2018-05-24 17:59:02 +02:00
Pavol Rusnak
0cd3e411f4
src/apps/wallet/sign_tx: implement cashaddr 2018-05-24 16:38:56 +02:00
Pavol Rusnak
f2f3d39cf1
fix style 2018-05-24 16:04:18 +02:00
matejcik
88ea30b746
protobuf: support signed ints properly (fixes #189) 2018-05-24 15:59:32 +02:00
Pavol Rusnak
af7a66697b
src/apps/common: fix typo in coins.py 2018-05-24 15:47:03 +02:00
Pavol Rusnak
5885cb867e
src/trezor/messages: regenerate messages 2018-05-24 15:41:57 +02:00
matejcik
7b06a802bb
tests: drop nonexistent fields from TxOutputBinType 2018-05-24 15:41:07 +02:00
matejcik
c6ac4f2200
protobuf: drop kwargs from constructors 2018-05-24 15:41:07 +02:00
matejcik
b502169bae
protobuf: drop const() markers as they are currently useless 2018-05-24 15:41:07 +02:00
matejcik
2c70ac3a2f
protobuf: only import list when needed 2018-05-24 15:41:07 +02:00
matejcik
389f1418ed
protobuf: drop Optional markers (relying on implicit optional)
and add a conditional import for List
2018-05-24 15:41:07 +02:00
matejcik
efa0f60493
protobuf: use trezor-common submodule to generate messages 2018-05-24 15:41:07 +02:00
matejcik
fb318fb69b
tools: update build_protobuf and pb2py to the refactored versions
from python-trezor, with appropriate modifications for trezor-core

The end goal is to have these files identical, ideally coming from
trezor-common. This is most of the way there, only thing remaining
is handling of target paths.
2018-05-24 15:41:07 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead 2018-05-24 15:18:05 +02:00
Jan Pochyla
7bafad494d
Merge pull request #90 from alepop/add-lisk-support
Add Lisk support
2018-05-23 13:54:00 +02:00
Jan Pochyla
e6dc6eb6d7 app.lisk: enable lisk tests 2018-05-23 13:29:12 +02:00
Jan Pochyla
3a81a4b2f0 app.lisk: remove sign/verify code 2018-05-23 11:47:07 +02:00
Jan Pochyla
523e57ea52 app.lisk: code style 2018-05-23 11:47:07 +02:00
Jan Pochyla
04c652c120 app.lisk: use == for comparing ints, code style 2018-05-23 11:47:07 +02:00
Jan Pochyla
c78c6616f6 app.lisk: simplify pubkey computation 2018-05-23 11:47:07 +02:00
Aleksey Popov
83a1df99f4 app.lisk: add require confirm layout for message signing 2018-05-23 11:47:07 +02:00
Aleksey Popov
d331ff245f app.lisk: fix lisk_verify_message 2018-05-23 11:47:07 +02:00
Aleksey Popov
a0f5bbb734 app.lisk: review improvments 2018-05-23 11:47:07 +02:00
Aleksey Popov
ea938b6301 app.lisk: refactor helpers code 2018-05-23 11:47:07 +02:00
Aleksey Popov
b6949f6153 app.lisk: Add lisk_sign_tx and layouts 2018-05-23 11:47:07 +02:00
Aleksey Popov
3334163e85 app.lisk: Add lisk_verify_message 2018-05-23 11:47:07 +02:00
Aleksey Popov
dc5115055f app.lisk: Add lisk_sign_message 2018-05-23 11:47:07 +02:00
Aleksey Popov
a37493a861 app.lisk: Add lisk_get_public_key 2018-05-23 11:47:07 +02:00
Aleksey Popov
a2a861a688 app.lisk: Add lisk_get_address and helpers 2018-05-23 11:47:07 +02:00
Aleksey Popov
59e6e49111 protob: Generate new messages 2018-05-23 11:47:07 +02:00
Aleksey Popov
452ad41575 common: update trezor-common submodule 2018-05-23 11:47:07 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s} 2018-05-22 19:44:52 +02:00
Pavol Rusnak
a1204d8d7d
src: cleanup CoinType usage, don't return coins in Features 2018-05-22 18:52:26 +02:00
Pavol Rusnak
577cb361dc
src/trezor/crypto: add cashaddr support 2018-05-22 17:47:54 +02:00
matejcik
003d77b209 testing: configure pytest.ini and update testing documentation
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Pavol Rusnak
df967821e7
emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source) 2018-05-22 16:36:24 +02:00
Tomas Susanka
fc69ddf38f ethereum: note about message sign/verify 2018-05-14 14:21:20 +02:00
Tomas Susanka
376a3cbec5
Merge pull request #200 from trezor/tsusanka/unknown-token-fix
eth: unknown token transfer is recognized and displayed as unknown
2018-05-11 15:33:33 +02:00