Commit Graph

1818 Commits

Author SHA1 Message Date
Pavol Rusnak 34c6fb987a
embed/bootloader: better detection of broken firmware at start 2018-02-10 17:52:45 +01:00
Pavol Rusnak 77568496da
src/apps/common: fix typo in cache 2018-02-10 17:45:25 +01:00
Pavol Rusnak c1e1e8bf02
src/apps/common: rewrite cache to use getters/setters 2018-02-09 19:00:09 +01:00
Pavol Rusnak 6fad2f4283
src/apps/homescreen: implement {Initialize,Features}.state field, implement ClearSession handling 2018-02-09 18:08:59 +01:00
Pavol Rusnak e93ef0c296
src: disable u2f in debug builds 2018-02-09 16:45:55 +01:00
Jan Pochyla e888b6b967 apps/wallet/sign_tx: fix sighash 2018-02-09 14:16:33 +01:00
Pavol Rusnak 800c2c64c8
tests: fix trezor.config test by changing PYOPT to 1 2018-02-09 13:42:20 +01:00
Pavol Rusnak b0242d3a3e
tests: fix test_apps.ethereum.layout 2018-02-09 13:36:08 +01:00
Pavol Rusnak 9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32 2018-02-09 12:33:55 +01:00
Pavol Rusnak 593ccdafec
embed/extmod/modtrezorcrypto: use uint32_t for HDNode int attributes 2018-02-09 12:22:23 +01:00
Jan Pochyla 350de72c54 apps/wallet/sign_tx: force_bip143 2018-02-09 11:37:13 +01:00
Jan Pochyla d0c742e884 src/apps/common/coins: regenerate 2018-02-09 11:37:13 +01:00
Pavol Rusnak 2fe0ce542f
firmware: introduce PYOPT, use it consistently in mpy-cross and in runtime, set it to 1 by default 2018-02-08 18:04:10 +01:00
Pavol Rusnak fa697ba322
embed/vendorheader: add unsafe_signed_prod, use it by default 2018-02-08 16:45:23 +01:00
Pavol Rusnak 77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change 2018-02-08 15:04:33 +01:00
Pavol Rusnak 984327fea5
src/trezor/ui: add new BTN_KEY_CONFIRM style to mnemonic keyboard, use that one 2018-02-07 19:48:32 +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 c4990646c7
src/main: reorder interfaces, so debug+vcp are after regular interfaces
endpoints 0x05 and 0x85 cause halt for now, allocate them to yet unused debug interface
2018-02-07 16:14:37 +01:00
Pavol Rusnak 39576eb2a7
src/main: report device_id as usb serial number 2018-02-07 14:59:09 +01:00
Pavol Rusnak a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00
Pavol Rusnak d5ae4d72b6
src/apps/management: ask for mnemonic words twice in reset_device 2018-02-06 19:40:02 +01:00
Pavol Rusnak fedfde7e99
src/trezor: refactor format_amount into utils, use it where possible 2018-02-06 18:35:14 +01:00
Pavol Rusnak 340f926804
apps/wallet+apps/ethereum: fix formatting of amounts (avoid using float) 2018-02-06 17:50:36 +01:00
Pavol Rusnak 47c598b56e
embed/bootloader: don't show build field in version (stick to major.minor.patch) 2018-02-06 17:18:37 +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 548b8cb25b
embed/trezorhal: move cmd_buffer into usb_vcp_state_t 2018-02-06 15:30:15 +01:00
Pavol Rusnak 585e9842f8
src/apps+tests: use TODO consistently across whole codebase 2018-02-06 15:23:51 +01:00
Pavol Rusnak 69344f34b6
apps/common/seed: refactor methods usage 2018-02-06 15:21:27 +01:00
Jan Pochyla b139e1a7ac ui/passphrase: align long passphrase to the right 2018-02-06 14:11:49 +01:00
Jan Pochyla deb64c3c43 ui/passphrase: confirm button, visuals 2018-02-06 14:11:49 +01:00
Jan Pochyla 1c9380a9d9 ui/passphrase: extract new passphrase keyboard 2018-02-06 14:11:49 +01:00
Peter Jensen 7b89e4b14c ui/passphrase: ask for source of passphrase 2018-02-06 14:11:49 +01:00
Jan Pochyla bd44eceeef apps/wallet: sign & verify message layouts 2018-02-06 14:10:35 +01:00
Pavol Rusnak 8b49e04ade
apps.management: align dots in reset_device 2018-02-05 15:51:03 +01:00
Jan Pochyla 00c4da83b9 modtrezorconfig: fix has_pin 2018-02-05 15:36:59 +01:00
Jan Pochyla 32c74e6e9a apps/management/load_device: fix load_mnemonic 2018-02-05 15:13:48 +01:00
Jan Pochyla 58f48f8ade apps/management/reset_device: fix change_pin 2018-02-05 15:13:33 +01:00
Peter Jensen f56aaa3b1c ui/pin: check maxlength 2018-02-05 15:06:43 +01:00
Peter Jensen 9c84b742a0 ui/pin: change design of pin bullets 2018-02-05 15:01:26 +01:00
Jan Pochyla ac0be4b061 ui/scroll: tweak swipe animation 2018-02-05 14:55:03 +01:00
Jan Pochyla 5a5842111b apps/management/reset_device: allow to skip backup 2018-02-05 14:54:46 +01:00
Jan Pochyla f20ce1fcc9 ui: add click helper 2018-02-05 13:49:02 +01:00
Jan Pochyla e907099be1 apps/common/storage: fix usage of public fields 2018-02-05 13:49:02 +01:00
Jan Pochyla 5f76dc714a apps/management/reset_device: fix display clear, move pin request 2018-02-05 13:49:02 +01:00
Jan Pochyla a7f011d59e apps/management/reset_device: hold to confirm 2018-02-05 13:49:02 +01:00
Jan Pochyla 6a0f18bef1 ui/loader: shrink before deactivating 2018-02-05 13:49:02 +01:00
Pavol Rusnak d791253e07
assets: remove unused/moved images 2018-02-04 19:45:45 +01:00
Pavol Rusnak 46fc37f977
src: fix flake whitespace issues 2018-02-04 12:18:34 +01:00
Pavol Rusnak a9aa5febda
travis: don't try to build vendorheader, try to build prodtest 2018-02-04 12:13:49 +01:00
Pavol Rusnak e865012663
bootloader: use webusb by default 2018-02-03 16:40:52 +01:00