1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00
Commit Graph

1269 Commits

Author SHA1 Message Date
Pavol Rusnak
028688ec17
vendor: update trezor-common and trezor-crypto 2018-12-18 00:14:23 +01:00
Jan Pochyla
7730533dde seed: use lazy seed derivation, wipe after the workflow ends 2018-12-13 15:58:41 +01:00
Jan Pochyla
e3c0f8e8ad seed: pass keychain to workflows, add namespaces 2018-12-13 15:47:05 +01:00
Jan Pochyla
d5f6be09f8 tools: regenerate templates 2018-12-13 15:47:05 +01:00
Jan Pochyla
852bf8f4ef wallet: use keychain API in signing, fix tests 2018-12-13 15:47:05 +01:00
Jan Pochyla
172f3cb22f wallet: factor out a few helper functions 2018-12-13 15:47:05 +01:00
Jan Pochyla
7448030843 wallet: remove "import *" from sign_tx 2018-12-13 15:47:05 +01:00
Jan Pochyla
9ecd123bd5 seed: add support for key namespaces 2018-12-13 15:47:05 +01:00
Jan Pochyla
5bc47fc567 apps: introduce Keychain API 2018-12-13 15:47:05 +01:00
Pavol Rusnak
5a79f318a4
src/apps/management: add link to ToS to reset_device 2018-12-10 17:56:54 +01:00
Pavol Rusnak
5c3a5d4577
src/apps/ethereum: regenerate tokens 2018-12-05 11:40:57 +01:00
Jan Pochyla
98dab122f9
passphrase: use same max length as T1 2018-12-05 11:39:28 +01:00
Jan Pochyla
9da2c9502e ui: properly taint child components 2018-11-30 16:10:47 +01:00
Jan Pochyla
25788e90e8 tools: regenerate templates 2018-11-30 16:10:47 +01:00
Tomas Susanka
f3c401a5c9 wallet: do not validate script type in sign message function 2018-11-30 15:56:30 +01:00
Tomas Susanka
d5fb2a477a eth/verify: path is not validated; improve invalid signature handling
Ethereum's verify_function takes an actual address as an argument not a
derivation path. So any path validation does not make any sense.

Also, if the verify_recover function raises an exception, it gets
propogated as a DataError (additional fix for #422).
2018-11-30 13:32:13 +01:00
Dusan Klinec
f810230e71
xmr: payment ID computation fix
- typo in tail differentiating tag caused invalid short payment id encryption. was 0x8B, should have been 0x8D
- 69b646494b/src/device/device_default.cpp (L39)
- 69b646494b/src/device/device_default.cpp (L287)
2018-11-27 22:21:40 +01:00
Jan Pochyla
dd5eba8da9 ui: reduce flicker in buttons, text, and pin dialog 2018-11-27 14:49:59 +01:00
Tomas Susanka
8213fee15b eth: replace fw error with data error in verify function
closes #422
2018-11-26 16:28:40 +01:00
Jan Pochyla
1782b0273c
Merge pull request #341 from trezor/tsusanka/paths
Bip 44 path checks
2018-11-19 15:54:11 +01:00
Pavol Rusnak
b1566e9d57
src/apps/wallet/get_public_key: return xpub for multisig 2018-11-15 13:41:19 +01:00
Tibor Arpas
be58549fd9
src/apps/wallet/sign_tx: handle timestamp field 2018-11-14 17:33:03 +01:00
Pavol Rusnak
1d43322d21
src/trezor/messages: regenerate 2018-11-14 17:31:17 +01:00
Pavol Rusnak
10a284f6ee
src/apps/wallet/sign_tx: make check for OMNI more strict 2018-11-13 16:33:14 +01:00
Pavol Rusnak
4693c071b4
src/apps/wallet/sign_tx: implement OMNI parsing in OP_RETURN layout 2018-11-13 14:29:40 +01:00
Pavol Rusnak
342c3646e1
vendor: update trezor-common 2018-11-12 14:14:25 +01:00
Tomas Susanka
d83ef07d57 paths: typo, style 2018-11-12 12:21:40 +01:00
Tomas Susanka
8cf1ee5e62 paths: temporarily disable GetPublicKey paths checks
Until trezor/trezor.js#73 is fixed
2018-11-12 12:10:32 +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
c7651b3c94 tezos: remove import * 2018-11-09 13:49:04 +01:00
Pavol Rusnak
0ff7034e37
embed/extmod/modtrezorconfig: refactor PIN UI wait callback (#398)
This commit accomplishes several goals:

1) it removes any upy dependencies from storage.c/storage.h
2) ui wait callback is set during config_init and storage_init,
   which allows to simplify the code dramatically
2018-11-08 15:55:47 +01:00
Tomas Susanka
43852501f5 style fix 2018-11-05 14:49:59 +01:00
Tomas Susanka
8db7a65030 templates: regen 2018-11-05 14:38:03 +01:00
Pavol Rusnak
085f9491a2
src/apps/homescreen: NO BACKUP => SEEDLESS 2018-11-05 13:43:14 +01:00
Jan Pochyla
5c409ceeac protobuf: simplify the list of bytes optimization 2018-11-02 16:44:13 +01:00
Dusan Klinec
3020b5d4a9
xmr: key image sync progress 2018-11-02 15:30:39 +01:00
Dusan Klinec
22add1d515
xmr: full mlsag simplified 2018-11-02 14:17:53 +01:00
Dusan Klinec
3d66ba1535
xmr: mgsig generated in chunks 2018-11-02 08:19:30 +01:00
Dusan Klinec
0414a8e74b
protobuf: enable dumping large byte arrays in chunks 2018-11-02 08:19:29 +01:00
Dusan Klinec
cdf9d51ee2
xmr: step_09_sign - unimport after heavy ops 2018-11-02 07:31:28 +01:00
Dusan Klinec
ddcb836ff7
xmr: mlsag - generating serialized signature directly 2018-11-02 07:31:28 +01:00
Dusan Klinec
a462ea35ce
xmr: step_09_sign - manual MgSig serialization 2018-11-02 07:31:27 +01:00
Dusan Klinec
90fd0bb67a
xmr: mlsag memory optimizations, in-place computation
- pub key matrix is not ge25519 as it consumes high amount of memory
- in-place computation used to reduce fragmentation overhead
2018-11-02 07:31:27 +01:00
Dusan Klinec
121459dd57
xmr: sort extra fields 2018-11-01 10:30:19 +01:00
Jan Pochyla
5a8388fbc1 wallet: fix segwit checksum computation 2018-10-31 12:44:18 +01:00
Jan Pochyla
b9926a9fff utils: simplify HashWriter interface 2018-10-30 15:50:39 +01:00
Tomas Susanka
919c6a5749 xmr: allow zero amounts in ouputs
used in sweep transactions
2018-10-30 13:32:43 +01:00
Jan Pochyla
66a636433d xmr: fix step layout in tx step_02 2018-10-30 12:24:22 +01:00
Pavol Rusnak
939a932219
src/apps: use address_n as description to show_address/show_qr dialogs 2018-10-28 13:27:54 +01:00