1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
Pavol Rusnak
7653eb699d
embed: use 4bpp fonts again 2017-10-11 23:05:08 +02:00
Pavol Rusnak
78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
Pavol Rusnak
b962ace27d
build: add production keys 2017-10-04 15:55:59 +02:00
Pavol Rusnak
e6704a3f35
tools: add get_sign_keys 2017-10-04 14:27:13 +02:00
Pavol Rusnak
06a4bfbed8
tools: add trezor support to binctl signing 2017-10-04 09:59:04 +02:00
Pavol Rusnak
29c3afe6c4
tools: move ed25519raw, ed25519cosi to python-trezor 2017-10-04 00:39:43 +02:00
Pavol Rusnak
5884d1c03f
tools: update ed25519{cosi,raw}.py to work in both py2 and py3 2017-10-03 23:48:12 +02:00
Pavol Rusnak
2139e8b02d
fonts: use 2 BPP instead of 4 for fonts 2017-10-01 20:47:35 +02:00
Pavol Rusnak
da8cc37a54
tools: move code generating tools to tools/codegen 2017-10-01 19:52:43 +02:00
Pavol Rusnak
98bdd99b97
tools: simplify ed25519cosi 2017-10-01 19:42:29 +02:00
Pavol Rusnak
8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3) 2017-10-01 17:56:19 +02:00
Pavol Rusnak
ca649eb8f0
tools: remove ed25519 dependency, prepare for ed25519cosi signing 2017-10-01 17:56:19 +02:00
Pavol Rusnak
4f11f46d07
tools: fix small issues with keytool 2017-09-30 10:36:37 +02:00
Pavol Rusnak
2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader 2017-09-29 17:31:59 +02:00
Pavol Rusnak
ef5f1326dc
build: use python3 everywhere 2017-09-25 16:18:31 +02:00
Pavol Rusnak
5b84db0f7f
tools: fix flake8 warnings 2017-09-05 23:16:01 +02:00
Pavol Rusnak
ed581a5b36
tools: fix whitespace in png2toi .py export 2017-09-04 23:18:43 +02:00
Pavol Rusnak
76658914fe
tools: png2toi - generate python output 2017-09-04 21:29:00 +02:00
Jan Pochyla
71ef4e4b3a tools/binctl: python2 compatibility 2017-08-07 11:59:45 +02:00
Pavol Rusnak
fe5b5c1940
tests: update to pytest, regenerate protobuf 2017-07-28 18:58:31 +02:00
Jan Pochyla
bab1303b1b tools/build_mocks: adapt to micropython -> embed rename 2017-07-28 16:36:14 +02:00
Pavol Rusnak
adafd9bc51
tools: fix png2toi c export 2017-06-21 18:18:59 +02:00
Jan Pochyla
181a2ad8c9 mocks: add typing module 2017-06-14 19:27:02 +02:00
Jan Pochyla
e29601e838 tools/build_mocks: support classes 2017-06-14 17:39:32 +02:00
Jan Pochyla
596a4227ad tools: autopep8 2017-06-14 12:22:41 +02:00
Pavol Rusnak
f93b8a08bc
res_collect: fix if resources.py does not exist 2017-06-13 20:15:47 +02:00
Pavol Rusnak
73b2ea6c85
travis: add make style (using flake8) 2017-06-13 19:35:34 +02:00
Pavol Rusnak
845a3a7e0d
tests: add partial pylint support 2017-06-07 19:06:26 +02:00
Jan Pochyla
63e6e85a7c res_collect: noop if no changes detected 2017-06-07 14:23:18 +02:00
Pavol Rusnak
cd7ee79c67
build: add combine and flash_combine make targets 2017-05-30 17:49:17 +02:00
Pavol Rusnak
e3b2001c89
rebuild coins 2017-05-12 22:55:47 +02:00
Pavol Rusnak
92b2deb932
coins: add cointype.segwit 2017-04-26 15:46:08 +02:00
Pavol Rusnak
07693277a4
apps.common: update coins.py + its generator to add new fields 2017-04-24 15:59:30 +02:00
Pavol Rusnak
0c060b6d4a
rename loader to bootloader 2017-04-10 19:24:21 +02:00
Pavol Rusnak
fd1718f8b6
mocks: update build script, refresh 2017-04-08 18:43:26 +02:00
Pavol Rusnak
62ad4d6a39
tools: pass sigmask and seckey as parameter to binctl 2017-04-08 18:24:46 +02:00
Pavol Rusnak
17ff61459d
tools: add pretty format to sigmask field 2017-04-06 19:02:09 +02:00
Pavol Rusnak
364bcedb04
tools: small formatting change to binctl 2017-04-06 16:58:16 +02:00
Pavol Rusnak
35e404bd38
tools: add fake signing to binctl, add make sign target 2017-04-05 19:33:50 +02:00
Pavol Rusnak
f92e8b6e4b
tools: add header to ed25519raw.py, fix whitespace in keytool 2017-04-02 23:04:08 +02:00
Jochen Hoenicke
99915f1a63 Added tool to test cooperative signing 2017-04-02 17:27:36 +02:00
Pavol Rusnak
87b7d0649b
boot: use cosi to compute aggregated key and use it 2017-04-02 02:55:51 +02:00
Pavol Rusnak
1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs 2017-04-01 23:16:25 +02:00
Pavol Rusnak
6187a8a0c1
build: refactor build_vendorheader 2017-04-01 18:28:10 +02:00
Jochen Hoenicke
e0fd890661 Implemented vendor header.
Header is generated with

    ./tools/build_vendorheader 'key1,key2,key3' 2 1.1 SatoshiLabs assets/satoshilabs.png micropython/firmware/vendorheader.bin

where

- keyN is a 64 character hex string encoding the public key
- 2 encodes 2/3 key scheme
- 1.1 is the version number (major, minor)
- SatoshiLabs is the vendor name
- satoshilabs.png is the vendor image

Updated the firmware compilation that it adds vendor header and updated loader
that it handles vendor header to be present.
2017-04-01 17:01:59 +02:00
Pavol Rusnak
435e96e1b3
build: refactor binctl and firmware/loader image stuff 2017-04-01 02:53:52 +02:00
Pavol Rusnak
b5ff140256
trezorhal: fix alignment in headers to 512 bytes 2017-03-31 23:54:59 +02:00
Pavol Rusnak
dd69929ce1
tools: rename firmwarectl to binctl, minor reformat 2017-03-30 22:58:00 +02:00
Pavol Rusnak
7da63a36e2
tools: don't convert sigidx back and forth in firmwarectl 2017-03-30 15:11:34 +02:00
Pavol Rusnak
e313234fe3
bootloader/loader: use blake2s instead of sha256 for digests 2017-03-23 15:54:34 +01:00