Commit Graph

74 Commits

Author SHA1 Message Date
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
Pavol Rusnak 630ce53c73
tools: fix firmwarectl to reflect loader rename 2017-03-20 16:03:02 +01:00
Pavol Rusnak f443407fae
modtrezorui: add extern to includes 2017-02-22 14:26:30 +01:00
Pavol Rusnak 89ec08eec0
bootloader: allow stage 1 to rewrite whole flash 2017-02-17 17:54:40 +01:00
Pavol Rusnak d8efa32091
bootloader: more wip 2017-02-17 15:49:43 +01:00
Pavol Rusnak 302f0e614a
tools: implement VendorHeader and FirmwareImage classes in firmwarectl 2017-02-09 18:14:10 +01:00
Pavol Rusnak 7d4414000e
tools: join check_bootloader and check_firmware into firmwarectl tool 2017-02-09 16:26:15 +01:00
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking 2017-02-08 19:43:47 +01:00
slush0 d6ae782dfc pb2py moved to trezor-common 2016-12-04 19:24:48 +01:00
slush0 0ea856589f Added non-micropython compatibility.
Optional generation of wiretype index file.
2016-12-04 19:12:01 +01:00
Pavol Rusnak 373487af1f
tools: update coins-gen.py 2016-11-11 18:11:37 +01:00
Pavol Rusnak 105b9c8167
tools: simplify coins-gen.py 2016-11-09 14:52:43 +01:00
Pavol Rusnak 3015045df6
apps.common.coins: update to return CoinType, not dict (also modify generator) 2016-11-09 14:46:59 +01:00
Pavol Rusnak c49c4ea29e
apps.common.coins: make coins definitions more readable + adapt generator 2016-11-06 15:50:39 +01:00
Jan Pochyla 783fddf749 messages: do not use const() 2016-11-02 01:03:16 +01:00
Jan Pochyla 20b612f8c1 pb2py: use new protobuf message format 2016-10-26 17:34:07 +02:00
Pavol Rusnak 6e658ff2f1
trezor.messages: regenerate classes 2016-10-24 15:45:05 +02:00
Pavol Rusnak e62e8dbe6f
tools: move coins-gen tool to /tools 2016-10-20 17:07:56 +02:00
Pavol Rusnak fffe930d8c
modtrezorui: rename fonts 2016-10-18 15:05:55 +02:00
Jan Pochyla 2d7d241a8d res_collect: fix for resources in subdirectories 2016-10-12 13:12:27 +02:00
Pavol Rusnak f8bf6d8cff
tools: added toi2png tool 2016-10-10 13:38:33 +02:00
Pavol Rusnak 90836621f5
tools: skip hidden files in res_collect 2016-10-06 17:54:57 +02:00
chren a47b6ee7bb design changes in bootloader mockups 2016-10-05 19:36:30 +02:00
chren 5cbb1ff892 minor design changes in ui-mockups of bootloader 2016-10-05 15:44:34 +02:00
Pavol Rusnak a1b75b879d
remove the need for pb2 subdir for pb2py generator 2016-10-03 18:16:15 +02:00
Pavol Rusnak 031550a5ed
regenerate mocks 2016-10-03 15:48:09 +02:00
slush0 f5d2007297 Use const() for protobuf definitions 2016-10-03 15:41:15 +02:00
Pavol Rusnak 3fe688e9b4
add size reporting to res_collect tool 2016-10-03 11:56:24 +02:00
slush0 1d7d408bc8 Updating resources on build automatically 2016-09-29 13:35:39 +02:00
Jan Pochyla f2b509b591 use micropython.const() in trezor.messages 2016-09-29 12:37:40 +02:00
Jan Pochyla fb7b85e479 move protobuf to a single module 2016-09-28 23:17:11 +02:00