Commit Graph

38 Commits (335504ce5c5c43d99c44646e16a7b175b0fd22df)

Author SHA1 Message Date
Pavol Rusnak 10396777b8
tools: run black and flake8 on tools/
6 years ago
Pavol Rusnak e7b761e66f
embed: refactor sector_count constants
6 years ago
matejcik 038e76071c tools: update keyctl and friends to use new cosi functions
6 years ago
Pavol Rusnak c53b0afd5b
tools: fix bug in vheader processing in binctl
6 years ago
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message
7 years ago
Pavol Rusnak 36d034d83a
tools: show fingerprint for vendorheaders too
7 years ago
Pavol Rusnak 7bbcd99d53
tools: add vtrust parsing to binctl
7 years ago
Pavol Rusnak c0220192d4
tools: fix binctl script
7 years ago
Pavol Rusnak a31c118d8e
protobuf: update build_protobuf and pb2py from python-trezor, regenerate messages
7 years ago
Pavol Rusnak 2317aaedb9
tools: update how vtrust is being passed to build_vendorheader
7 years ago
Pavol Rusnak f806488536
tools: fix computation of header fingerprint in binctl tool
7 years ago
Pavol Rusnak 125ab8471c
trezorhal: store image fingerprint in the image_header structure
7 years ago
Pavol Rusnak 965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix)
7 years ago
Pavol Rusnak 44196be481
binctl: show fingerprint for BinImage (hash of header - signature)
7 years ago
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar
7 years ago
Pavol Rusnak 89cc35b195
trezorhal: fix hash offset in check_image_contents
7 years ago
Pavol Rusnak 9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header
7 years ago
Pavol Rusnak 3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes
7 years ago
Pavol Rusnak bdbbf0e5e8
tools: add firmware signature check (against its vendor header)
7 years ago
Pavol Rusnak 57f2eee5bf
tools: split computation of signatures to keyctl, remove from binctl
7 years ago
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader
7 years ago
Pavol Rusnak 06a4bfbed8
tools: add trezor support to binctl signing
7 years ago
Pavol Rusnak 29c3afe6c4
tools: move ed25519raw, ed25519cosi to python-trezor
7 years ago
Pavol Rusnak 8ddcd74080
build: sign all stuff using ed25519 cosi (2 out of 3)
7 years ago
Pavol Rusnak ca649eb8f0
tools: remove ed25519 dependency, prepare for ed25519cosi signing
7 years ago
Pavol Rusnak ef5f1326dc
build: use python3 everywhere
7 years ago
Pavol Rusnak 5b84db0f7f
tools: fix flake8 warnings
7 years ago
Jan Pochyla 71ef4e4b3a tools/binctl: python2 compatibility
7 years ago
Pavol Rusnak 0c060b6d4a
rename loader to bootloader
7 years ago
Pavol Rusnak 62ad4d6a39
tools: pass sigmask and seckey as parameter to binctl
7 years ago
Pavol Rusnak 17ff61459d
tools: add pretty format to sigmask field
7 years ago
Pavol Rusnak 364bcedb04
tools: small formatting change to binctl
7 years ago
Pavol Rusnak 35e404bd38
tools: add fake signing to binctl, add make sign target
7 years ago
Pavol Rusnak 87b7d0649b
boot: use cosi to compute aggregated key and use it
7 years ago
Jochen Hoenicke e0fd890661 Implemented vendor header.
7 years ago
Pavol Rusnak 435e96e1b3
build: refactor binctl and firmware/loader image stuff
7 years ago
Pavol Rusnak b5ff140256
trezorhal: fix alignment in headers to 512 bytes
7 years ago
Pavol Rusnak dd69929ce1
tools: rename firmwarectl to binctl, minor reformat
7 years ago