Commit Graph

294 Commits (ui-t3t1)

Author SHA1 Message Date
Pavol Rusnak 6e6ff78ce0
core: re-enable frozen modules in the emulator build
5 years ago
Tomas Susanka 18482a9c37 storage: style
5 years ago
Pavol Rusnak 8b06598474
core+legacy: rework code styling checks
5 years ago
matejcik e5670856a2 MONOREPO CREATE FROM trezor-core
5 years ago
Pavol Rusnak fb8d6fe820
tools: add hid-bridge by Ondrej Vejpustek
5 years ago
Pavol Rusnak bfcba533b6
tools: don't generate messages unused in the current codebase
5 years ago
Pavol Rusnak 5560a35af7
tools: fix keyctl-proxy
5 years ago
Dusan Klinec 6724e4e409
xmr: master merging commit
6 years ago
Dusan Klinec ff387ba716 build_mocks fix2
6 years ago
Pavol Rusnak 066d4b4e9a
tools: use env where possible
6 years ago
matejcik 75c14433de templates: make diff louder
6 years ago
matejcik 348b99b8dc build: generate code with Mako templates
6 years ago
Pavol Rusnak 3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font
6 years ago
Pavol Rusnak 10396777b8
tools: run black and flake8 on tools/
6 years ago
Pavol Rusnak fecc6e53a0
tools: update tools to generate clang-format compatible output
6 years ago
Pavol Rusnak 7bf30ccb37
style: add cstyle target to Makefile + clang-format config, don't enforce for now
6 years ago
Pavol Rusnak 324d82507e
vendor: update trezor-common
6 years ago
Pavol Rusnak 28455a8789
tools: add fmt:off to res_collect
6 years ago
Yura Pakhuchiy 7db1061123 Add .curve_name and Groestlcoin to coininfo.py
6 years ago
Pavol Rusnak 13c659c202
vendor: update trezor-common, regenerate messages
6 years ago
Pavol Rusnak ac5e3f200a
src: rename wire_types to MessageType, drop copy in tools/build_protobuf
6 years ago
matejcik 2091ae97bf tools: use pb2py from trezor-common
6 years ago
Pavol Rusnak 4b58162b54
vendor: update trezor-common, enable Zencash
6 years ago
Pavol Rusnak de2178a1e9
tools: add more verbose output to keyctl-coordinator
6 years ago
Jan Pochyla fd35b4c5c9 coins: add slip44
6 years ago
Pavol Rusnak e7b761e66f
embed: refactor sector_count constants
6 years ago
Pavol Rusnak c7a7537ffe
tools: update keyctl-proxy to work with new python-trezor
6 years ago
Pavol Rusnak ad1e0e81b2
src/apps/ethereum: refactor networks module
6 years ago
Tomas Susanka 3422474811 nem: mosaics definitions are generated from trezor-common
6 years ago
Pavol Rusnak dfd02821af
src/apps/wallet: add support for zcash overwinter
6 years ago
Pavol Rusnak d6717b59cc
vendor: update trezor-common; add version_group_id flag (for zcash overwintered tx)
6 years ago
Pavol Rusnak 6433862a11
coins: update how coins are being generated from trezor-common
6 years ago
matejcik 038e76071c tools: update keyctl and friends to use new cosi functions
6 years ago
Pavol Rusnak d1800e0256
src/apps/common: refactor coins.py into coins.py and coininfo.py
6 years ago
Pavol Rusnak f2f3d39cf1
fix style
6 years ago
matejcik c6ac4f2200
protobuf: drop kwargs from constructors
6 years ago
matejcik b502169bae
protobuf: drop const() markers as they are currently useless
6 years ago
matejcik 2c70ac3a2f
protobuf: only import list when needed
6 years ago
matejcik 389f1418ed
protobuf: drop Optional markers (relying on implicit optional)
6 years ago
matejcik efa0f60493
protobuf: use trezor-common submodule to generate messages
6 years ago
matejcik fb318fb69b
tools: update build_protobuf and pb2py to the refactored versions
6 years ago
Pavol Rusnak ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
6 years ago
Pavol Rusnak a1204d8d7d
src: cleanup CoinType usage, don't return coins in Features
6 years ago
Pavol Rusnak 13ffe75a48
tools: chmod +x build_protobuf
6 years ago
Jan Pochyla 048e0706b3 tools/pb2py: fix default list value
6 years ago
Jan Pochyla a4477b8bef tools/build_protobuf: fix path to trezor_common
6 years ago
Pavol Rusnak ee242ea416
src.trezor.messages: fix and regenerate
6 years ago
Jan Pochyla b9c111f6ae tools: add init method to messages
6 years ago
Tomas Susanka d23a236616 tools: build mocks uses sorted
6 years ago
Pavol Rusnak c53b0afd5b
tools: fix bug in vheader processing in binctl
6 years ago
Jan Pochyla d0c742e884 src/apps/common/coins: regenerate
6 years ago
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change
6 years ago
Pavol Rusnak 329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision
6 years ago
Pavol Rusnak 1c5beb1c12
embed/bootloader: add information about firmware (version, vendor, etc.) to Features message
6 years ago
Pavol Rusnak 36d034d83a
tools: show fingerprint for vendorheaders too
6 years ago
Pavol Rusnak b79ea10434
tools: update protobuf (sync with python-trezor)
6 years ago
Pavol Rusnak f0152902fc
tools: drop netifaces requirement from keyctl-proxy
6 years ago
Pavol Rusnak 132660c378
tools: loop on error in keyctl-proxy
6 years ago
Pavol Rusnak 81ff60c3e1
tools: drop combine_sign; rework keyctl into 3 tools
6 years ago
Pavol Rusnak 5ede6864d5
tools: refactor index in keyctl
6 years ago
Pavol Rusnak 03943c960b
tools: small refactor in keyctl
6 years ago
Pavol Rusnak 11245a82ea
tools: fix bug in keyctl introduced by last commit
6 years ago
Pavol Rusnak 706ddda1a7
tools: update keyctl to work with already signed binaries
6 years ago
Pavol Rusnak 5e164ebaf1
tools: add getkey command to keyctl to retrieve the public key
6 years ago
Pavol Rusnak 7bbcd99d53
tools: add vtrust parsing to binctl
6 years ago
Pavol Rusnak c0220192d4
tools: fix binctl script
6 years ago
Pavol Rusnak a31c118d8e
protobuf: update build_protobuf and pb2py from python-trezor, regenerate messages
6 years ago
Pavol Rusnak 2317aaedb9
tools: update how vtrust is being passed to build_vendorheader
6 years ago
Pavol Rusnak f0cd76de47
tools.codegen: remove unused import from gen_cert_bundle.py
6 years ago
Pavol Rusnak 30b0863725
tools.codegen: use certifi in gen_cert_bundle.py
6 years ago
Pavol Rusnak f806488536
tools: fix computation of header fingerprint in binctl tool
6 years ago
Pavol Rusnak 6ac59f426f
tools.codegen: include commithash an repo url in gen_cert_bundle.py
6 years ago
Pavol Rusnak 10344dd864
tools.codegen: print nice stats at the end
6 years ago
Pavol Rusnak dcb32d91f7
tools.codegen: rework gen_cert_bundle to use certs from Mozilla
6 years ago
Pavol Rusnak 8dd5edb4a1
tools: add codegen/gen_cert_bundle.py
6 years ago
Pavol Rusnak 4b54bfbbf2
modtrezorui: change loader size to 120x120
7 years ago
Pavol Rusnak 125ab8471c
trezorhal: store image fingerprint in the image_header structure
7 years ago
Pavol Rusnak 66eef86107
tools: more verbose gen_font script
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
Tomas Susanka aa29667059 common: coins updated
7 years ago
Pavol Rusnak 3636a5f1b1
bootloader/vendorheader: vtrust is bitmap not scalar
7 years ago
Pavol Rusnak 01356bad72
keyctl: show digest and path
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 46fdb8bcb4
tools: use combine_sign to compute signatures, binctl just for adding to binary
7 years ago
Pavol Rusnak 57f2eee5bf
tools: split computation of signatures to keyctl, remove from binctl
7 years ago
Pavol Rusnak 34f363f903
tools: add optional output parameter to toi2png
7 years ago
Pavol Rusnak 7653eb699d
embed: use 4bpp fonts again
7 years ago
Pavol Rusnak 78f57d083c
add vendor trust to vendorheader
7 years ago
Pavol Rusnak b962ace27d
build: add production keys
7 years ago
Pavol Rusnak e6704a3f35
tools: add get_sign_keys
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 5884d1c03f
tools: update ed25519{cosi,raw}.py to work in both py2 and py3
7 years ago
Pavol Rusnak 2139e8b02d
fonts: use 2 BPP instead of 4 for fonts
7 years ago
Pavol Rusnak da8cc37a54
tools: move code generating tools to tools/codegen
7 years ago
Pavol Rusnak 98bdd99b97
tools: simplify ed25519cosi
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 4f11f46d07
tools: fix small issues with keytool
7 years ago
Pavol Rusnak 2bc37a10fe
use different set of keys for boardloader/bootloader/vendorheader
7 years ago
Pavol Rusnak ef5f1326dc
build: use python3 everywhere
7 years ago
Pavol Rusnak 5b84db0f7f
tools: fix flake8 warnings
7 years ago
Pavol Rusnak ed581a5b36
tools: fix whitespace in png2toi .py export
7 years ago
Pavol Rusnak 76658914fe
tools: png2toi - generate python output
7 years ago
Jan Pochyla 71ef4e4b3a tools/binctl: python2 compatibility
7 years ago
Pavol Rusnak fe5b5c1940
tests: update to pytest, regenerate protobuf
7 years ago
Jan Pochyla bab1303b1b tools/build_mocks: adapt to micropython -> embed rename
7 years ago
Pavol Rusnak adafd9bc51
tools: fix png2toi c export
7 years ago
Jan Pochyla 181a2ad8c9 mocks: add typing module
7 years ago
Jan Pochyla e29601e838 tools/build_mocks: support classes
7 years ago
Jan Pochyla 596a4227ad tools: autopep8
7 years ago
Pavol Rusnak f93b8a08bc
res_collect: fix if resources.py does not exist
7 years ago
Pavol Rusnak 73b2ea6c85
travis: add make style (using flake8)
7 years ago
Pavol Rusnak 845a3a7e0d
tests: add partial pylint support
7 years ago
Jan Pochyla 63e6e85a7c res_collect: noop if no changes detected
7 years ago
Pavol Rusnak cd7ee79c67
build: add combine and flash_combine make targets
7 years ago
Pavol Rusnak e3b2001c89
rebuild coins
7 years ago
Pavol Rusnak 92b2deb932
coins: add cointype.segwit
7 years ago
Pavol Rusnak 07693277a4
apps.common: update coins.py + its generator to add new fields
7 years ago
Pavol Rusnak 0c060b6d4a
rename loader to bootloader
7 years ago
Pavol Rusnak fd1718f8b6
mocks: update build script, refresh
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 f92e8b6e4b
tools: add header to ed25519raw.py, fix whitespace in keytool
7 years ago
Jochen Hoenicke 99915f1a63 Added tool to test cooperative signing
7 years ago
Pavol Rusnak 87b7d0649b
boot: use cosi to compute aggregated key and use it
7 years ago
Pavol Rusnak 1eff07f84d
build: don't convert from png in build_vendorheader, remove vendorheader.bin from vcs
7 years ago
Pavol Rusnak 6187a8a0c1
build: refactor build_vendorheader
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
Pavol Rusnak 7da63a36e2
tools: don't convert sigidx back and forth in firmwarectl
7 years ago
Pavol Rusnak e313234fe3
bootloader/loader: use blake2s instead of sha256 for digests
7 years ago
Pavol Rusnak 630ce53c73
tools: fix firmwarectl to reflect loader rename
7 years ago
Pavol Rusnak f443407fae
modtrezorui: add extern to includes
7 years ago
Pavol Rusnak 89ec08eec0
bootloader: allow stage 1 to rewrite whole flash
7 years ago
Pavol Rusnak d8efa32091
bootloader: more wip
7 years ago
Pavol Rusnak 302f0e614a
tools: implement VendorHeader and FirmwareImage classes in firmwarectl
7 years ago
Pavol Rusnak 7d4414000e
tools: join check_bootloader and check_firmware into firmwarectl tool
7 years ago
Pavol Rusnak 2d7c6b0c34
bootloader: cleanup, more documentation, added scripts for checking
7 years ago
slush0 d6ae782dfc pb2py moved to trezor-common
8 years ago
slush0 0ea856589f Added non-micropython compatibility.
8 years ago
Pavol Rusnak 373487af1f
tools: update coins-gen.py
8 years ago