1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-05 04:10:58 +00:00
Commit Graph

7242 Commits

Author SHA1 Message Date
Yannick Heneault
df5348fb14 emulator: support /dev/{u,}random configuration at compile time; default is still /dev/urandom (#396) 2018-08-10 15:40:08 +02:00
matejcik
ca608d0a98 flake8: fix complaints (for the last time, hopefully) 2018-08-10 15:24:21 +02:00
matejcik
6029a98414 debuglink: fix bug in self_test bootloader detection 2018-08-10 15:18:34 +02:00
matejcik
045ad85ecd trezorctl: use new API 2018-08-10 15:18:26 +02:00
matejcik
4b4469b9f4 tests: clean up usage of hardening constants 2018-08-10 14:37:49 +02:00
matejcik
c0ef1ec535 tests: use new API 2018-08-10 14:04:58 +02:00
matejcik
d5dee0c897 trezorlib: move mostly-debug methods from device to debuglink 2018-08-10 13:33:14 +02:00
matejcik
65d8adb0be trezorlib: rename device.*_device to device.* 2018-08-10 13:32:50 +02:00
matejcik
8d1400cbd6 ignore .vscode project dir 2018-08-07 13:03:51 +02:00
matejcik
25a706f042 tools: coin_gen can render into a given filename
before, it could only render from `foo.bar.mako` to `foo.bar`
2018-08-07 13:00:30 +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
Michael Ira Krufky
b6232410a8 eth: add Ether-1 (ETHO) 2018-08-06 16:22:25 +02:00
Michael Ira Krufky
cf83a97c84 eth: add Ether-1 (ETHO) 2018-08-06 16:21:52 +02:00
Pavol Rusnak
3de28570e4
firmware: don't use hardcoded version_group_id, but use the one from coin definition 2018-08-06 16:21:05 +02:00
matejcik
a3d560529c trezorlib: post-merge updates 2018-08-06 16:15:44 +02:00
matejcik
2bb7088281 Merge branch 'master' into matejcik/client-split 2018-08-06 16:13:04 +02:00
脇山P
2e0aaf5cff add monacoin's blockbook (#187) 2018-08-06 12:32:34 +02:00
Pavol Rusnak
7b6e8a1158
docs: add GC9307 to hardware.md 2018-08-04 21:53:55 +02:00
Pavol Rusnak
e3d18ecb47
embed: refactor display_identify into a "getter" function 2018-08-04 20:45:59 +02:00
Pavol Rusnak
3022cd50c8
embed: use runtime detection of connected display controller 2018-08-04 17:43:54 +02:00
Pavol Rusnak
7b8266221d
embed: use static where appropriate in display-stm32.h 2018-08-04 17:22:23 +02:00
Pavol Rusnak
68ef9b9322
embed: add comment about why first value of display_id is discarded 2018-08-04 17:19:04 +02:00
Pavol Rusnak
bc5dba751a
embed: refactor display_identify in display-stm32 2018-08-04 17:15:29 +02:00
mcudev
c0b5d33743 display_identify: improve identification of ILI9341 2018-08-04 17:03:40 +02:00
Pavol Rusnak
cc3882abf1
vendor: update trezor-common; regenerate messages 2018-08-03 19:14:29 +02:00
Pavol Rusnak
3a7bdf684a
protob: make isort happy correctly 2018-08-03 19:11:02 +02:00
Pavol Rusnak
f24cb943b0
protob: add one empty line to pb2py to make isort happy 2018-08-03 18:57:43 +02:00
Pavol Rusnak
bfbc6d5ab9
src: cleanup "utf8" madness 2018-08-03 18:52:20 +02:00
Pavol Rusnak
4ebd7d2ad8
embed/extmod/modtrezorui: fix typo in display-stm32.h 2018-08-03 13:39:06 +02:00
Pavol Rusnak
f1dc43f951
embed: don't sync in display_refresh when using GC9307 2018-08-02 19:02:04 +02:00
Pavol Rusnak
e7a74ccfee
embed: add support for GC9307 display driver 2018-08-02 18:30:43 +02:00
heneault
dca28f1c44 commit emulator flash modification to persistent storage (#390) 2018-08-02 14:59:46 +02:00
Pavol Rusnak
f4252d755c
embed: introduce display_identify 2018-08-01 18:52:58 +02:00
Pavol Rusnak
5d62454c6a
refactor hashers, introduce HASHER_SHA2_RIPEMD160 2018-08-01 15:03:43 +02:00
Matheus Degiovani
0b0f01fb59 Fix decred bip32 name 2018-08-01 13:31:46 +02:00
leoreinaux
621e8ded45 defs: add SmartCash (#183) 2018-07-31 15:07:43 +02:00
Pavol Rusnak
456037599f
hasher: add HASHER_SHA3{,K} 2018-07-31 14:20:18 +02:00
Pavol Rusnak
10396777b8
tools: run black and flake8 on tools/ 2018-07-31 11:35:09 +02:00
Pavol Rusnak
481bb4ccab
embed: remove unused stmhal stuff from build dependencies 2018-07-30 18:37:37 +02:00
matejcik
11a386fed4 tools: require python 3.6 2018-07-30 18:10:00 +02:00
matejcik
36469fc898 tools: better filtering by support for mako code generators 2018-07-30 17:30:59 +02:00
Jan Pochyla
ce7ed00eb9
Merge pull request #272 from trezor/tsusanka/ripple
Add Ripple support
2018-07-30 17:00:01 +02:00
matejcik
d608294a14 tools: don't be noisy when support info is missing
because we have other tools for that
2018-07-30 16:38:39 +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
matejcik
d154fb4134 travis: update to new tools 2018-07-30 16:07:07 +02:00
matejcik
eed6c0fa43 tools: add README 2018-07-30 15:59:14 +02:00
matejcik
e4d99939de tools: drop obsolete tools
`build_coins.py` is replaced by `coin_gen.py coins_json`
`gen_ethereum_tokens.py` is replaced by Mako generators in core/mcu
2018-07-30 15:06:38 +02:00