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

1252 Commits

Author SHA1 Message Date
Milan Rossa
b2327c37b7 firmware: log exceptions in debug mode (no silent unhandled exceptions) 2018-10-15 13:37:37 +02:00
Pavol Rusnak
f07dfe9344
src/trezor/crypto/base58: refactor hash function names 2018-10-14 16:11:00 +02:00
Leandro Reinaux
33e9dac2fe
src/apps/common: add smartcash curve 2018-10-14 16:11:00 +02:00
Pavol Rusnak
13fa7d22b9
src/apps/management/reset_device: don't show internal entropy when skip_backup is set 2018-10-11 15:27:42 +02:00
Pavol Rusnak
addbdd8937
src/apps/common: refactor address_n_to_str into apps.common.layout 2018-10-10 17:58:26 +02:00
Pavol Rusnak
cc25069064
src/apps/debug: don't erase storage on debug in emulator 2018-10-10 16:07:57 +02:00
Pavol Rusnak
9ddb1b9280
src/apps/common: update coininfo.py.mako 2018-10-10 14:45:59 +02:00
Pavol Rusnak
4a26870fcc
src/trezor/crypto: refactor {blake256,sha256}_ripemd160_digest to trezor.crypto.scripts 2018-10-10 13:40:55 +02:00
Pavol Rusnak
2277a9c754
src/apps/wallet/sign_tx: re-enable Decred 2018-10-10 13:00:36 +02:00
Pavol Rusnak
de12ad705c
src/apps/management/reset_device: don't show internal entropy when no_backup is set 2018-10-08 15:42:35 +02:00
Pavol Rusnak
0d68711e47
Revert "src/apps/wallet/sign_tx: add support for Decred"
This reverts commit 7834d06aac.
This reverts commit 335504ce5c.
2018-10-08 14:29:59 +02:00
Pavol Rusnak
335504ce5c
src/apps/wallet/sign_tx: small fixes to decred 2018-10-06 15:17:42 +02:00
Pavol Rusnak
6bced8bb54
style: fix F841 local variable is assigned to but never used 2018-10-06 13:38:30 +02:00
Matheus Degiovani
7834d06aac
src/apps/wallet/sign_tx: add support for Decred 2018-10-06 13:24:01 +02:00
Pavol Rusnak
9e3ae93796
src/apps/management: fix storage.load_mnemonic calls 2018-10-04 18:15:03 +02:00
Pavol Rusnak
ad5aa03a2d
src/apps/common: regenerate coininfo 2018-10-04 17:53:29 +02:00
Pavol Rusnak
d2521de385
storage: implement no_backup option (aka seedless setup) 2018-10-04 17:36:44 +02:00
Tomas Susanka
8aa29ae1d6 style: new black release formats all hex numbers in uppercase
introduced in the new 18.9 version of black
2018-10-03 13:48:55 +02:00
alepop
e1eb405ed7 lisk: fix _update_raw_tx function for second signature calculation (#348) 2018-09-28 10:43:18 +02:00
ZuluCrypto
17c3ff92f8 Stellar - Fix typo in confirm_init (#359) 2018-09-24 00:30:35 +02:00
Pavol Rusnak
86db527722
src/apps/common: add decred attribute to coininfo, enable Decred 2018-09-21 12:52:32 +02:00
Pavol Rusnak
0499e983fe
src/apps/common: update layout for signverify 2018-09-19 19:33:22 +02:00
Dusan Klinec
6d98a97f7c protobuf: message fields moved to get_fields method 2018-09-19 15:59:23 +02:00
Dusan Klinec
3ae4106465 vendor: trezor-common version bump, pb sync, template sync 2018-09-19 15:59:23 +02:00
Tomas Susanka
2a0dc76981
Merge pull request #350 from zulucrypto/stellar-fixExplicitNativeAsset
Stellar: explicitly specifying native asset in payment op causes "firmware error"
2018-09-18 10:59:56 +02:00
Adrian Matejov
7918e1f818 tezos: added Readme
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
Adrian Matejov
8b252bff80 tezos: fixed nitpicks
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
Adrian Matejov
203c850779 tezos: supporting only ed25519 curve
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
Adrian Matejov
e009c0ca22 tezos: removed duplicated code
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
Adrian Matejov
f0f6807e4f tezos: display_address -> show
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
Adrian Matejov
2750d668ad tezos: added tezos cryptocurrency
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
2018-09-13 15:06:03 +02:00
ZuluCrypto
00692d8156
stellar - do not attempt to serialize asset code or issuer when type is native 2018-09-10 19:44:43 -06:00
Pavol Rusnak
5efab07b23
cardano: remove GetPublicKey.root_hd_passphrase, style changes 2018-09-07 19:35:57 +02:00
Dušan Plavák
060a8cbdfd cardano: replace derivation scheme v1 for v2 (#342) 2018-09-07 19:07:15 +02:00
Tomas Susanka
c0770ad131 cardano: remove sign/verify functions (#347) 2018-09-06 14:49:11 +02:00
Tomas Susanka
12a7996364 vendor: trezor-common updated; protobuf regen 2018-09-06 14:46:24 +02:00
Jan Pochyla
38bbb9dd83 apps: remove split_words, use Text layout functionality 2018-09-06 13:52:38 +02:00
Pavol Rusnak
b296d627fa
vendor: update trezor-common 2018-09-05 17:00:39 +02:00
Pavol Rusnak
ebdd8c9b07
src/apps/wallet: implement script_type handling in get_public_key; update vendor/trezor-common 2018-09-05 15:43:26 +02:00
Tomas Susanka
fc427fa726 templates: forgotten build 2018-09-05 12:21:18 +02:00
Tomas Susanka
f75f315dbc ripple: style 2018-09-05 10:45:03 +02:00
Tomas Susanka
19bbe707f7 ripple: validate fix 2018-09-05 10:31:09 +02:00
Tomas Susanka
a3f8ace253 vendor: trezor-common updated; protobuf regen 2018-09-04 14:04:53 +02:00
Pavol Rusnak
30b96a0f07
style: fix trezor.utils 2018-08-31 17:15:10 +02:00
Pavol Rusnak
8d9d4816da
embed/extmod/modtrezorutils: remove utils.symbol, use constants directly 2018-08-31 16:55:01 +02:00
Pavol Rusnak
e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic 2018-08-31 16:55:01 +02:00
Dusan Klinec
5b5b593eb3 workflow: allow more arguments to the import workflow
Allows to use stateful message handlers

```python
wire.add(MessageType.MoneroTransactionSign, __name__, "get_address", STATE)
```
2018-08-30 14:12:03 +02:00
Tomas Susanka
b23077b707 cardano: cardano prefix removed from functions 2018-08-30 12:15:25 +02:00
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