Commit Graph

1645 Commits

Author SHA1 Message Date
Peter Jensen ed9e63142d ui: request_words, keyboard ui 2018-01-16 15:46:32 +01:00
Jan Pochyla 95db112d10 apps/management/recovery_device: mnemonic keyboard 2018-01-16 15:46:32 +01:00
Pavol Rusnak 27d9abe883
trezor.config: add public values (readable without unlock)
They are indicated via MSB bit of appid
2018-01-13 16:09:22 +01:00
Pavol Rusnak 0a9d42981d
tests: fix endiannes in test_apps.ethereum.layout 2018-01-13 15:40:04 +01:00
Pavol Rusnak 1530afe4ad
vendor: update trezor-crypto, adapt codebase to changes 2018-01-13 15:36:03 +01:00
Pavol Rusnak d11bbde2e1
trezor.crypto: fix sha3-{256,512} argument handling 2018-01-12 13:50:34 +01:00
Pavol Rusnak 7efef68e97
trezor.crypto: add static keyword to crc 2018-01-12 13:43:52 +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 af93c7299d
apps.ethereum: don't use ButtonRequestType.ConfirmOutput for compatibility with T1 2018-01-11 23:11:13 +01:00
Tomas Susanka c06ec002a3 ethereum/signing: typo
already tested, tests implemented in the pythontrezor repo
2018-01-11 23:08:35 +01:00
Tomas Susanka aa8bb77e32 ethereum/signing: display data fix 2018-01-11 23:08:35 +01:00
Tomas Susanka 7d0cafecc3 ethereum/singing: layout seperated 2018-01-11 23:08:35 +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 4d065df376
build: add possibility to build ARM toolchain from source 2018-01-09 21:45:43 +01:00
Pavol Rusnak ee925f7813
prodtest: draw border on start too 2018-01-09 21:21:55 +01:00
Jan Pochyla 622cb847e5 prodtest: fix touch coordinates 2018-01-09 15:28:11 +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 7537c26c83
trezor.crypto: use mp_obj_new_str_from_vstr where we already have preallocated vstr 2018-01-07 13:56:18 +01:00
Pavol Rusnak 981ec87877
trezor.crypto: put back vstr where it makes sense (= user controlled input) 2018-01-05 13:13:20 +01:00
Pavol Rusnak 26ac0b6e52
cross: don't use MICROPY_FORCE_32BIT=1 (no need for that) 2018-01-05 01:07:05 +01:00
Pavol Rusnak 8eb071f371
docker/travis: update to gcc-arm-none-eabi-7-2017-q4-major 2018-01-04 18:18:24 +01:00
Pavol Rusnak 7d1d6ce393
src: import hexlify explicitly, fix hexlify usage 2018-01-04 13:24:39 +01:00
Pavol Rusnak 4a7592d470
trezor.crypto: remove vstr usage, refactor mp_obj_new_str_from_vstr into mp_obj_new_bytes and mp_obj_new_str 2018-01-03 21:53:58 +01:00
Pavol Rusnak 8dd5edb4a1
tools: add codegen/gen_cert_bundle.py 2018-01-02 20:59:09 +01:00
Pavol Rusnak b98a1db6ee
embed: cleanup unused modules 2018-01-02 20:00:12 +01:00
Pavol Rusnak fa95f0a037
trezor.crypto: implement chacha20poly1305 aka rfc7539 2018-01-02 18:57:23 +01:00
Pavol Rusnak 5a304d8e25
vendor: update trezor-crypto 2018-01-02 14:35:41 +01:00
Pavol Rusnak b9d5af8c19
modtrezorcrypto: remove ssss (different implementation will be re-added later) 2018-01-02 14:13:42 +01:00
Pavol Rusnak 4cc8a5432d
bootloader: use normal/regular font rather than bold 2018-01-02 01:44:39 +01:00
Pavol Rusnak 94588dd588
modtrezorui: introduce TREZOR_FONT_PREFILL, set it to 0 in bootloader 2018-01-02 01:37:31 +01:00
Pavol Rusnak 424115967f
embed: fix wur for usb functions 2018-01-01 21:49:08 +01:00
Pavol Rusnak f1a75b36f7
vendor: update micropython to 1.9.3 release 2018-01-01 21:49:08 +01:00
Peter Jensen ae02858ef4 removed unused bgs 2017-12-28 16:10:04 +01:00
Pavol Rusnak d6593e710b
apps.ethereum: implement SignMessage/VerifyMessage 2017-12-23 15:12:31 +01:00
Pavol Rusnak e47aa9f0c4
apps.ethereum: code cleanup 2017-12-23 14:09:45 +01:00
Tomas Susanka 54fcbb68df HashWriter: getvalue -> get_digest 2017-12-22 17:10:28 +01:00
Tomas Susanka 8880d218b3 HashWriter: extra arguments are passed to the hash function 2017-12-22 17:10:28 +01:00
Tomas Susanka 5bf5d477b9 ethereum/signing: hashwriter is used 2017-12-22 17:10:28 +01:00
Tomas Susanka 688b568bd9 ethereum: files rename 2017-12-22 17:10:28 +01:00
Tomas Susanka 19ef1480d8 common: HashWriter move to common 2017-12-22 17:10:28 +01:00
Tomas Susanka 1f677306a1 ethereum/signing: streaming; all tests passing 2017-12-22 17:10:28 +01:00
Tomas Susanka 47b3baa30a ethereum/signing: all test passing, no data stream 2017-12-22 17:10:28 +01:00
Tomas Susanka dc02b322bf ethereum/signing: basic structure, first test passing
first commit based on the trezor-mcu repo
eth tokens added using the common ethereum_tokens-gen.py script
first device test passing
2017-12-22 17:10:28 +01:00
Tomas Susanka 8304e86bd7 submodules: trezor common updated 2017-12-22 17:10:28 +01:00
Pavol Rusnak fe0534658f
tests: no need to include ubinascii for unit tests 2017-12-19 21:57:42 +01:00