1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-19 12:58:13 +00:00
Commit Graph

1204 Commits

Author SHA1 Message Date
matejcik
348b99b8dc build: generate code with Mako templates 2018-08-29 12:04:37 +02:00
Tomas Susanka
ed963743e9 nem: trim fix 2018-08-28 14:36:51 +02:00
Tomas Susanka
9477cd15ea nem: trims removed 2018-08-28 10:55:46 +02:00
Jan Pochyla
c1b284cdfa apps: use {app}.layout for common layouts 2018-08-27 15:36:02 +02:00
Jan Pochyla
8421fa4fdb apps: unify wire registering, load modules automatically 2018-08-27 14:56:21 +02:00
Tomas Susanka
a08a1a5e2a apps: split_address moved to show only (#307) 2018-08-24 16:45:27 +02:00
Jan Pochyla
f7c1465d57 apps: unify common writer logic 2018-08-23 20:06:00 +02:00
Jan Pochyla
2f910839fe ui.text: optimize font detection 2018-08-23 14:42:13 +02:00
Tomas Susanka
889315ba00 wallet: total amount fix (#318) 2018-08-23 11:23:58 +02:00
Tomas Susanka
e6486ad90a ripple: note on which curve is used 2018-08-22 16:21:45 +02:00
Tomas Susanka
e657397c83 cardano: signing returns CardanoSignedTx 2018-08-21 20:15:56 +02:00
Tomas Susanka
4305c1da1b stellar: get public key removed 2018-08-21 20:15:56 +02:00
Tomas Susanka
db71e919b7 cardano: message renamed 2018-08-21 20:15:56 +02:00
Tomas Susanka
0323355299 vendor: trezor-common update; protobuf: regen 2018-08-21 20:15:56 +02:00
Tomas Susanka
cb105c015f stellar: get public key simplified 2018-08-21 13:48:23 +02:00
Tomas Susanka
a5a7b9a1af cardano: show public key 2018-08-21 13:48:23 +02:00
Tomas Susanka
afa8fe1567 common: display_address -> show 2018-08-21 13:48:23 +02:00
Tomas Susanka
e13a3a70c8 common: show pubkey moved to common 2018-08-21 13:48:23 +02:00
Tomas Susanka
0acd9d8918 protobuf: regen 2018-08-20 19:37:47 +02:00
Pavol Rusnak
1bf1a76973
src/apps/ethereum: implement Ethereum canonical signatures, fix max_chain_id 2018-08-20 15:49:56 +02:00
Aleksey Popov
af494a65b8 lisk: fix raw transaction fields update 2018-08-19 19:00:16 +02:00
Pavol Rusnak
3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font 2018-08-16 20:59:24 +02:00
hackyminer
9a5c38dad4 src/apps/ethereum: support full 32bit chain_id
* remove chain_id restriction to support full 32bit chain_id.
 * for chain_id > MAX_CHAIN_ID(2147483630) case, simply return v signature parity.
 * see also https://github.com/trezor/trezor-mcu/pull/399
2018-08-14 19:46:27 +02:00
Tomas Susanka
25f14f6695 cardano: bip32 path is not displayed (#306) 2018-08-14 15:30:41 +02:00
Pavol Rusnak
1a6e0f053a
embed/extmod/modtrezorcrypto: refactor AES API, use test from NIST SP 800-38A 2018-08-14 14:42:19 +02:00
Pavol Rusnak
ebf912c8f1
src/trezor/crypto: introduce SecureContext
usage:

from trezor.crypto import SecureContext

with SecureContext() as sc:
    sc.var1 = ...
    sc.var2 = ...

SecureContext will call destructors of all variables assigned
to sc in the block. It will also call gc.collect()
2018-08-06 17:05:58 +02:00
Pavol Rusnak
cc3882abf1
vendor: update trezor-common; regenerate messages 2018-08-03 19:14:29 +02:00
Pavol Rusnak
bfbc6d5ab9
src: cleanup "utf8" madness 2018-08-03 18:52:20 +02:00
Tomas Susanka
92e4c60237 ripple: README 2018-07-30 16:37:49 +02:00
Tomas Susanka
66b8bbb1a5 ripple: style fixes 2018-07-30 16:37:49 +02:00
Tomas Susanka
08945c48e1 ripple: simple tx serializer; signing
This supports only fraction of the whole binary format Ripple uses. This
is focused on the Payment transaction type, which is currently solely
supported.
2018-07-30 16:37:49 +02:00
Tomas Susanka
b5c2ae49dd ripple: get address 2018-07-30 16:37:48 +02:00
Pavol Rusnak
51d810b6da
vendor: update trezor-common 2018-07-27 12:34:59 +02:00
jmuravsky
09ddcc7ac9 cardano: add Cardano currency support 2018-07-25 17:56:29 +02:00
Jan Pochyla
a932816a25 fido_u2f: unify handling of bogus app ids 2018-07-24 15:05:40 +02:00
Jan Pochyla
934b32707c fido_u2f: parse and serialize keypath as LE 2018-07-24 15:05:40 +02:00
Pavol Rusnak
cb9e7b5885
embed: cleanup Keccak API (drop keccak arg from digest() func) 2018-07-23 15:19:38 +02:00
Pavol Rusnak
3067339b41
src: fix ethereum sign for chain_id >= 0x100 2018-07-19 18:05:26 +02:00
Pavol Rusnak
324d82507e
vendor: update trezor-common 2018-07-16 15:10:50 +02:00
Pavol Rusnak
ca7a911033
vendor: update trezor-common 2018-07-16 12:38:29 +02:00
Tomas Susanka
c1bf6abbee stellar: README 2018-07-11 17:20:25 +02:00
Tomas Susanka
f892a79e48 stellar/layout: multiple variables called 'text' fixed 2018-07-11 17:20:25 +02:00
Tomas Susanka
306531f29b stellar: get public key - show on display fix 2018-07-11 17:20:25 +02:00
Tomas Susanka
0666533ca0 stellar: typos based on code review 2018-07-11 17:20:25 +02:00
Jan Pochyla
b46ce034d6 stellar: style and text api changes 2018-07-11 17:20:25 +02:00
Tomas Susanka
b722fddc58 stellar: typos 2018-07-11 17:20:25 +02:00
Tomas Susanka
2e04dbb2a6 stellar: ProcessError 2018-07-11 17:20:25 +02:00
Tomas Susanka
96a91b56e9 apps: move ed25519 prefix common function 2018-07-11 17:20:25 +02:00
Tomas Susanka
7f767eec46 stellar: accounts are addresses 2018-07-11 17:20:25 +02:00
Tomas Susanka
bcf77bd347 stellar: get address
including show_display var
2018-07-11 17:20:25 +02:00
Tomas Susanka
93571e469f protobuf: regen (StellarGet{Address,PublicKey}) 2018-07-11 17:20:25 +02:00
Tomas Susanka
501ea6bb2c stellar: refactoring 2018-07-11 17:20:25 +02:00
Tomas Susanka
2af33a6893 stellar: operations layout 2018-07-11 17:20:25 +02:00
Tomas Susanka
a26aaec953 stellar: Context is used instead of loop 2018-07-11 17:20:25 +02:00
Tomas Susanka
8d75fad50c stellar: memo confirms 2018-07-11 17:20:25 +02:00
Tomas Susanka
44ce832163 stellar: layout 2018-07-11 17:20:25 +02:00
Tomas Susanka
1d3490a278 stellar: account check 2018-07-11 17:20:25 +02:00
Tomas Susanka
17a4ccd268 stellar: transaction operations 2018-07-11 17:20:25 +02:00
Tomas Susanka
00fb252063 stellar: signing init 2018-07-11 17:20:25 +02:00
Tomas Susanka
4cfcfb4ff4 stellar: init; get public key 2018-07-11 17:20:25 +02:00
Tomas Susanka
12d622a496 protobuf: build (Ripple, Stellar drop protocol version) 2018-07-11 13:44:53 +02:00
Jan Pochyla
2f6386e041 ethereum: fix get_address for very short paths 2018-07-10 14:53:39 +02:00
Jan Pochyla
808b67ff43 apps.common: simplify address_type 2018-07-10 13:05:16 +02:00
Jan Pochyla
dcb15f77c3 src: run black 2018-07-10 13:05:15 +02:00
Jan Pochyla
ead154b907 src: run isort 2018-07-10 13:05:15 +02:00
Jan Pochyla
bf9f503c3c apps: remove unused imports 2018-07-10 11:17:12 +02:00
Jan Pochyla
6751d84236 style: skip formatting in special cases 2018-07-10 11:17:12 +02:00
Pavol Rusnak
1628521ef2
vendor: update trezor-common 2018-07-09 21:33:35 +02:00
Yura Pakhuchiy
d09547fec3 Introduce coininfo.b58_hash 2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
b48cc1d6f8 Use single SHA256 for groestl curve for tx and msg signing 2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
a3542a6441 wallet: use coin's .curve_name 2018-07-09 21:30:10 +02:00
Yura Pakhuchiy
7db1061123 Add .curve_name and Groestlcoin to coininfo.py 2018-07-09 21:30:10 +02:00
Pavol Rusnak
2ee57da5d8
src/apps/wallet/sign_tx: fix last commit, add bip115 test 2018-07-04 18:08:05 +02:00
Pavol Rusnak
622eb001a6
src/apps/wallet/sign_tx: correct processing of block_height in bip115 2018-07-04 17:54:13 +02:00
Pavol Rusnak
13c659c202
vendor: update trezor-common, regenerate messages 2018-07-04 17:13:46 +02:00
Pavol Rusnak
6d5a8645fd
src/apps/wallet/sign_tx: don't append bip115 replay protection script if no arguments provided 2018-07-04 12:59:19 +02:00
Jan Pochyla
2b66deb3d6 ui.text: type -> normal 2018-07-03 16:49:52 +02:00
Jan Pochyla
ec06ccf43f apps: use default icon from Text API 2018-07-03 16:49:52 +02:00
Jan Pochyla
f74a29b56a ui.text: remove old API 2018-07-03 16:49:52 +02:00
Jan Pochyla
b3d3da7f7a apps: use mutable Text API 2018-07-03 16:49:52 +02:00
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
Jan Pochyla
f9d77479d4 fido_u2f: wait until previous u2f workflow ends 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
4b58162b54
vendor: update trezor-common, enable Zencash 2018-06-28 14:15:28 +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
Jochen Hoenicke
37ae7c06a4 signtx layout: check if address starts with prefix
Only addresses starting with bitcoincash: should get their prefix
skipped. This fixes a bug where it skips the first bytes of legacy
addresses.
2018-06-28 11:07:38 +02:00
Pavol Rusnak
3b0808035c
vendor: update trezor-common 2018-06-22 14:31:38 +02:00
Pavol Rusnak
b4b9c4a930
vendor: update trezor-common, add new coins 2018-06-21 18:05:36 +02:00
Pavol Rusnak
f550229899
src/apps/homescreen: show PIN not set error only on initialized device 2018-06-21 17:31:25 +02:00
Pavol Rusnak
d38d4d2b36
style: fix flake8 warnings 2018-06-21 17:04:06 +02:00
Pavol Rusnak
ac0bdd5902
src/apps/wallet: fix address_n_matches_coin function 2018-06-21 17:01:46 +02:00
Pavol Rusnak
43891692ab
ethereum: update tokens 2018-06-21 16:42:46 +02:00
Jan Pochyla
88744d2450 wire: remove codec_v2.py 2018-06-21 15:51:36 +02:00
Jan Pochyla
270d85f249 seed: cleanup 2018-06-21 14:00:29 +02:00
Jan Pochyla
51df249949 sign_tx: require confirmation of inputs from other chains 2018-06-21 14:00:29 +02:00