Commit Graph

704 Commits

Author SHA1 Message Date
Jan Pochyla 7960f3ad8e loop: use utimeq.discard() 2018-01-22 13:07:21 +01:00
Pavol Rusnak 8bf19b4c92
trezorhal: refactor trezor.io USB stuff into more files, add WebUSB 2018-01-21 00:04:05 +01:00
Pavol Rusnak ba1a313016
main: small refactor 2018-01-20 23:15:39 +01:00
Jan Pochyla 23728c2713 loop: make wait properly dispose of child tasks 2018-01-18 17:45:44 +01:00
Jan Pochyla dc7d7bb3bd apps/homescreen: add pin_protection to Features
Fixes WipeDevice test.
2018-01-18 17:45:44 +01:00
Jan Pochyla db9ac661f9 apps/debug: fix DebugLinkGetState 2018-01-18 17:45:44 +01:00
Peter Jensen 150da5d40c ui/keyboard: move pending marker 2018-01-16 15:46:32 +01:00
Jan Pochyla 58c3bba9e2 apps/management/reset_device: fix for new storage 2018-01-16 15:46:32 +01:00
Jan Pochyla 77b78e277a apps/management/recovery_device: adapt for new keyboard 2018-01-16 15:46:32 +01:00
Jan Pochyla cd0fa4df4a ui/keyboard: refactor 2018-01-16 15:46:32 +01:00
Jan Pochyla 4a83864593 ui/confirm: fix content in HoldToConfirmDialog 2018-01-16 15:46:32 +01:00
Jan Pochyla 248daa8970 ui/button: styles, refactoring 2018-01-16 15:46:32 +01:00
Jan Pochyla c3fc5c310d apps/common/request_pin: icons 2018-01-16 15:46:32 +01:00
Jan Pochyla 5ed83f0e18 ui/text: add icon_color 2018-01-16 15:46:32 +01:00
Jan Pochyla 814de4acb4 ui/style: colors and icons 2018-01-16 15:46:32 +01:00
Jan Pochyla dbed5eade9 ui: add grid function 2018-01-16 15:46:32 +01:00
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 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 7d1d6ce393
src: import hexlify explicitly, fix hexlify usage 2018-01-04 13:24:39 +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 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
Pavol Rusnak 333c0a633a
trezor.crypto: adopt crc32 function 2017-12-19 21:54:22 +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 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
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 bc6d9b47a3
storage: use one char for value ids 2017-12-14 21:59:47 +01:00
Pavol Rusnak d1df2c45fa
apps.common: update show_pin_timeout layout 2017-12-14 20:16:05 +01:00
Pavol Rusnak e8f70ed4af
pin: implement graphics pin timeout 2017-12-14 19:01:41 +01:00
Jochen Hoenicke 87f7054e46 Added callback for PIN timeout
When PIN is entered or changed and their were failed tries the function
waits for time (exponential slow down).  For every second it waits, it
now calls back into python to give it the chance to show a message.

GUI still needs to be implemented
2017-12-14 17:19:51 +01:00
Pavol Rusnak 70ac202d7a
modtrezorcrypto: add trezor.crypto.hashlib.blake256 2017-12-13 20:47:12 +01:00
Pavol Rusnak a56d322eca
storage: add homescreen 2017-12-13 02:41:59 +01:00
Pavol Rusnak 16bc1c6cb6
src: fix flake8 style 2017-12-09 18:38:36 +01:00
Jan Pochyla 757978e1c8 apps/management: fix change_pin 2017-12-08 17:26:51 +01:00