matejcik
2c70ac3a2f
protobuf: only import list when needed
2018-05-24 15:41:07 +02:00
matejcik
389f1418ed
protobuf: drop Optional markers (relying on implicit optional)
...
and add a conditional import for List
2018-05-24 15:41:07 +02:00
matejcik
efa0f60493
protobuf: use trezor-common submodule to generate messages
2018-05-24 15:41:07 +02:00
matejcik
fb318fb69b
tools: update build_protobuf and pb2py to the refactored versions
...
from python-trezor, with appropriate modifications for trezor-core
The end goal is to have these files identical, ideally coming from
trezor-common. This is most of the way there, only thing remaining
is handling of target paths.
2018-05-24 15:41:07 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
2018-05-24 15:18:05 +02:00
Pavol Rusnak
a1204d8d7d
src: cleanup CoinType usage, don't return coins in Features
2018-05-22 18:52:26 +02:00
Pavol Rusnak
13ffe75a48
tools: chmod +x build_protobuf
2018-02-27 14:26:01 +01:00
Jan Pochyla
048e0706b3
tools/pb2py: fix default list value
2018-02-27 00:12:44 +01:00
Jan Pochyla
a4477b8bef
tools/build_protobuf: fix path to trezor_common
2018-02-27 00:12:44 +01:00
Pavol Rusnak
ee242ea416
src.trezor.messages: fix and regenerate
2018-02-26 17:20:48 +01:00
Jan Pochyla
b9c111f6ae
tools: add init method to messages
2018-02-26 16:13:00 +01:00
Tomas Susanka
d23a236616
tools: build mocks uses sorted
2018-02-26 16:13:00 +01:00
Pavol Rusnak
c53b0afd5b
tools: fix bug in vheader processing in binctl
2018-02-24 21:48:58 +01:00
Jan Pochyla
d0c742e884
src/apps/common/coins: regenerate
2018-02-09 11:37:13 +01:00
Pavol Rusnak
77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
2018-02-08 15:04:33 +01:00
Pavol Rusnak
329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision
2018-02-07 19:33:39 +01:00
Pavol Rusnak
1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message
2018-02-06 17:06:43 +01:00
Pavol Rusnak
36d034d83a
tools: show fingerprint for vendorheaders too
2018-01-30 16:38:19 +01:00
Pavol Rusnak
b79ea10434
tools: update protobuf (sync with python-trezor)
2018-01-30 15:11:09 +01:00
Pavol Rusnak
f0152902fc
tools: drop netifaces requirement from keyctl-proxy
2018-01-29 15:49:55 +01:00
Pavol Rusnak
132660c378
tools: loop on error in keyctl-proxy
2018-01-29 15:29:54 +01:00
Pavol Rusnak
81ff60c3e1
tools: drop combine_sign; rework keyctl into 3 tools
2018-01-29 15:07:47 +01:00
Pavol Rusnak
5ede6864d5
tools: refactor index in keyctl
2018-01-29 09:10:19 +01:00
Pavol Rusnak
03943c960b
tools: small refactor in keyctl
2018-01-29 08:09:02 +01:00
Pavol Rusnak
11245a82ea
tools: fix bug in keyctl introduced by last commit
2018-01-28 18:24:56 +01:00
Pavol Rusnak
706ddda1a7
tools: update keyctl to work with already signed binaries
2018-01-28 17:47:16 +01:00
Pavol Rusnak
5e164ebaf1
tools: add getkey command to keyctl to retrieve the public key
2018-01-28 15:02:29 +01:00
Pavol Rusnak
7bbcd99d53
tools: add vtrust parsing to binctl
2018-01-28 11:24:50 +01:00
Pavol Rusnak
c0220192d4
tools: fix binctl script
2018-01-26 15:51:19 +01:00
Pavol Rusnak
a31c118d8e
protobuf: update build_protobuf and pb2py from python-trezor, regenerate messages
2018-01-12 13:11:22 +01:00
Pavol Rusnak
2317aaedb9
tools: update how vtrust is being passed to build_vendorheader
2018-01-10 20:47:07 +01:00
Pavol Rusnak
f0cd76de47
tools.codegen: remove unused import from gen_cert_bundle.py
2018-01-08 23:57:16 +01:00
Pavol Rusnak
30b0863725
tools.codegen: use certifi in gen_cert_bundle.py
2018-01-08 23:56:08 +01:00
Pavol Rusnak
f806488536
tools: fix computation of header fingerprint in binctl tool
2018-01-08 22:40:00 +01:00
Pavol Rusnak
6ac59f426f
tools.codegen: include commithash an repo url in gen_cert_bundle.py
2018-01-08 00:56:39 +01:00
Pavol Rusnak
10344dd864
tools.codegen: print nice stats at the end
2018-01-07 22:46:54 +01:00
Pavol Rusnak
dcb32d91f7
tools.codegen: rework gen_cert_bundle to use certs from Mozilla
2018-01-07 22:43:14 +01:00
Pavol Rusnak
8dd5edb4a1
tools: add codegen/gen_cert_bundle.py
2018-01-02 20:59:09 +01:00
Pavol Rusnak
4b54bfbbf2
modtrezorui: change loader size to 120x120
2017-12-16 23:44:30 +01:00
Pavol Rusnak
125ab8471c
trezorhal: store image fingerprint in the image_header structure
2017-12-15 19:22:59 +01:00
Pavol Rusnak
66eef86107
tools: more verbose gen_font script
2017-12-15 18:58:37 +01:00
Pavol Rusnak
965aa73b63
trezorhal: introduce fix_version in image header (version of last critical bugfix)
2017-12-14 21:29:13 +01:00
Pavol Rusnak
44196be481
binctl: show fingerprint for BinImage (hash of header - signature)
2017-12-14 14:19:02 +01:00
Tomas Susanka
aa29667059
common: coins updated
2017-11-23 16:30:11 +01:00
Pavol Rusnak
3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar
2017-11-06 16:31:09 +01:00
Pavol Rusnak
01356bad72
keyctl: show digest and path
2017-10-29 23:30:56 +01:00
Pavol Rusnak
89cc35b195
trezorhal: fix hash offset in check_image_contents
2017-10-26 18:53:20 +02:00
Pavol Rusnak
9e82a4d348
bootloader, firmware: introduce chunk hashes in the image header
2017-10-26 14:25:10 +02:00
Pavol Rusnak
3c974095aa
trezorhal: increase image header size from 512 to 1024 bytes
2017-10-26 02:11:40 +02:00
Pavol Rusnak
bdbbf0e5e8
tools: add firmware signature check (against its vendor header)
2017-10-26 00:09:17 +02:00