1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 15:30:55 +00:00
Commit Graph

7182 Commits

Author SHA1 Message Date
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
matejcik
1680eb1cfa tools: improve logging in coins_details.py 2018-07-30 15:05:19 +02:00
matejcik
e81d440359 defs: update erc20 tokens, regenerate coins_details.json 2018-07-30 15:05:02 +02:00
matejcik
7cb9bd9c78 tools: clean up imports in coin_gen 2018-07-30 14:45:01 +02:00
matejcik
b5443af4c5 tools: coin_defs renamed to coin_info and interface
improved a little
2018-07-30 14:25:53 +02:00
Pavol Rusnak
b6549f22cf
defs: fix coindef.py 2018-07-30 12:09:27 +02:00
Michael Ira Krufky
925c3a8536 eth: add Musicoin (#388) 2018-07-30 12:01:03 +02:00
Michael Ira Krufky
a3e7f2651e eth: add Musicoin (#182) 2018-07-30 11:59:42 +02:00
Pavol Rusnak
f481530aea
tests: add bip32_vector_3 2018-07-29 17:46:02 +02:00
Pavol Rusnak
279bc1f220
protob: add packages to proto files 2018-07-29 16:17:00 +02:00
Pavol Rusnak
4c77015ed9
protob: add combine makefile target for proto2js (which can't combine files by itself) 2018-07-27 16:02:01 +02:00