Tomas Susanka
8aa60e6cfd
paths: validate curve as well
2019-04-09 16:18:34 +02:00
Tomas Susanka
7cadefcdd0
common: pass Keychain to path validation function
...
closes #519
2019-04-03 10:36:15 +02:00
Tomas Susanka
4e9ef09798
eth: modify sign_tx to accept strings as well
2019-01-29 17:19:10 +01:00
Jan Pochyla
e3c0f8e8ad
seed: pass keychain to workflows, add namespaces
2018-12-13 15:47:05 +01:00
Jan Pochyla
5bc47fc567
apps: introduce Keychain API
2018-12-13 15:47:05 +01:00
Tomas Susanka
31f987e988
coins: validate derivation paths
...
Based on SLIP-44 ids and other checks. See docs/coins/README for info.
2018-11-12 12:10:32 +01:00
Jan Pochyla
ce362103ae
apps: msg.address_n is always a list
2018-11-09 13:59:10 +01:00
Jan Pochyla
b9926a9fff
utils: simplify HashWriter interface
2018-10-30 15:50:39 +01:00
Pavol Rusnak
cdd3b45d52
src/apps/ethereum: fix style
2018-10-21 20:00:16 +02:00
Pavol Rusnak
03c681ec49
embed/extmod/modtrezorcrypto: introduce CANONICAL_SIG_ETHEREUM constant
2018-10-21 19:16:15 +02:00
Jan Pochyla
8421fa4fdb
apps: unify wire registering, load modules automatically
2018-08-27 14:56:21 +02:00
Pavol Rusnak
1bf1a76973
src/apps/ethereum: implement Ethereum canonical signatures, fix max_chain_id
2018-08-20 15:49:56 +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
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
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
Pavol Rusnak
ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf
2018-07-02 20:40:51 +02:00
Jan Pochyla
270d85f249
seed: cleanup
2018-06-21 14:00:29 +02:00
Pavol Rusnak
b22f0aad86
src/apps: some import refactoring
2018-06-05 20:21:31 +02:00
Pavol Rusnak
736b02394f
src/apps: make flake8 happy
2018-05-02 16:51:57 +01:00
Peter van Mourik
6a062ec5ea
Wanchain support ( #149 )
2018-05-02 15:48:10 +01:00
Jan Pochyla
0f2ed0f07c
src/apps/ethereum: use wire.Error
2018-04-23 16:12:44 +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
Pavol Rusnak
1269a0239d
src/apps: use require_confirm where possible, introduce require_hold_to_confirm
2018-02-28 20:20:39 +01:00
Pavol Rusnak
19bae93d92
src/apps/ethereum: fix ethereum ui
2018-02-28 02:12:48 +01:00
Jan Pochyla
a4081bab72
src: move HashWriter to trezor.utils
2018-02-27 16:35:28 +01:00
Tomas Susanka
b659f1b29c
signing/eth: tokens fix
...
todo: add test
2018-02-19 16:31:35 +01:00
Pavol Rusnak
585e9842f8
src/apps+tests: use TODO consistently across whole codebase
2018-02-06 15:23:51 +01:00
Pavol Rusnak
69344f34b6
apps/common/seed: refactor methods usage
2018-02-06 15:21:27 +01:00
Jan Pochyla
710306495e
apps: reduce unimport usage
...
unimport should be used only on the workflow dispatchers.
2018-01-30 18:50:59 +01:00
Tomas Susanka
c06ec002a3
ethereum/signing: typo
...
already tested, tests implemented in the pythontrezor repo
2018-01-11 23:08:35 +01:00
Tomas Susanka
aa8bb77e32
ethereum/signing: display data fix
2018-01-11 23:08:35 +01:00
Tomas Susanka
7d0cafecc3
ethereum/singing: layout seperated
2018-01-11 23:08:35 +01:00
Pavol Rusnak
e47aa9f0c4
apps.ethereum: code cleanup
2017-12-23 14:09:45 +01:00
Tomas Susanka
54fcbb68df
HashWriter: getvalue -> get_digest
2017-12-22 17:10:28 +01:00
Tomas Susanka
8880d218b3
HashWriter: extra arguments are passed to the hash function
2017-12-22 17:10:28 +01:00
Tomas Susanka
5bf5d477b9
ethereum/signing: hashwriter is used
2017-12-22 17:10:28 +01:00
Tomas Susanka
688b568bd9
ethereum: files rename
2017-12-22 17:10:28 +01:00