1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 01:48:17 +00:00
Commit Graph

1668 Commits

Author SHA1 Message Date
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
Pavol Rusnak
333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +01:00
Pavol Rusnak
a9870b9e0e
tests: update how tests are being run 2017-12-19 19:42:56 +01:00
Pavol Rusnak
eff3ce2aa8
unix: use ensure, not (void) 2017-12-19 19:42:56 +01:00
Jan Pochyla
7be96048f8 unix: fix wur in usb 2017-12-19 15:13:12 +01:00
Jan Pochyla
5f63081f37 scons: fix 64-bit build 2017-12-19 15:12:56 +01:00
Pavol Rusnak
95bea97239
travis: remove protobuf dependency 2017-12-18 21:48:17 +01:00
Pavol Rusnak
06149e8487
vendor: remove norcow submodule 2017-12-18 19:42:45 +01:00
Pavol Rusnak
4b54bfbbf2
modtrezorui: change loader size to 120x120 2017-12-16 23:44:30 +01:00
Pavol Rusnak
63e999ab84
trezor.ui: introduced minwidth to display.text functions; more optimizations 2017-12-16 19:33:09 +01:00
Pavol Rusnak
47f5cba439
flash/sdcard: introduce wur, simplify code 2017-12-16 18:42:06 +01:00
Pavol Rusnak
5e93cca0a9
WIP 2017-12-16 17:54:12 +01:00
Jochen Hoenicke
beef9ecfb5 Moved flash_unlock to norcow_update
and fixed propagation of error return
2017-12-16 17:25:41 +01:00
Pavol Rusnak
6aae87437f
modtrezorui: draw bars under letters 2017-12-16 17:22:03 +01:00
Pavol Rusnak
11a3ff055c
boardloader/bootloader: typo 2017-12-16 15:12:58 +01:00
Pavol Rusnak
4584861385
trezor.ui: introduce ui.SIZE 2017-12-16 14:50:28 +01:00
Pavol Rusnak
965bf84cdb
tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
Pavol Rusnak
ea404b53ee
tests: simplify hashlib tests, fix trezor.config test 2017-12-16 01:24:40 +01:00
Pavol Rusnak
79a3f84c3c
modtrezorui: invert FONT macro inclusion logic 2017-12-15 23:13:25 +01:00
Pavol Rusnak
80707f195b
modtrezorui: small cleanup 2017-12-15 23:03:18 +01:00
Pavol Rusnak
edb80eda61
src: fix typo 2017-12-15 21:11:46 +01:00
Pavol Rusnak
5192387060
src: move show_pin_timeout to trezor.pin 2017-12-15 21:06:29 +01:00
Pavol Rusnak
7504366a02
bootloader: simplify vtrust code 2017-12-15 20:57:54 +01:00
Jochen Hoenicke
c0cd252c83 Store pin as integer
- New module trezor.pin (add timeout here)
- Convert pin to integer by adding a '1' (to detect leading 0s)
- pin is still limited to 9 digits.
2017-12-15 20:37:03 +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
be302480fd
modtrezorcrypto: cleanup random 2017-12-15 16:56:08 +01:00
Pavol Rusnak
1a32e46e5d
bootloader: cleanup ui code 2017-12-15 15:26:36 +01:00