1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 09:38:08 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Pavol Rusnak
10396777b8
tools: run black and flake8 on tools/ 2018-07-31 11:35:09 +02:00
Pavol Rusnak
2317aaedb9
tools: update how vtrust is being passed to build_vendorheader 2018-01-10 20:47:07 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar 2017-11-06 16:31:09 +01:00
Pavol Rusnak
78f57d083c
add vendor trust to vendorheader 2017-10-05 17:31:39 +02:00
Pavol Rusnak
5b84db0f7f
tools: fix flake8 warnings 2017-09-05 23:16:01 +02:00
Jan Pochyla
596a4227ad tools: autopep8 2017-06-14 12:22:41 +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