1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 00:28:10 +00:00
Commit Graph

174 Commits

Author SHA1 Message Date
Pavol Rusnak
3c738b62c4
src/apps/common: refactor passphrase request, implement new on_device field 2018-02-14 19:10:42 +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
Jan Pochyla
d0c742e884 src/apps/common/coins: regenerate 2018-02-09 11:37:13 +01:00
Pavol Rusnak
39576eb2a7
src/main: report device_id as usb serial number 2018-02-07 14:59:09 +01:00
Pavol Rusnak
69344f34b6
apps/common/seed: refactor methods usage 2018-02-06 15:21:27 +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
Peter Jensen
f56aaa3b1c ui/pin: check maxlength 2018-02-05 15:06:43 +01:00
Jan Pochyla
5a5842111b apps/management/reset_device: allow to skip backup 2018-02-05 14:54:46 +01:00
Jan Pochyla
e907099be1 apps/common/storage: fix usage of public fields 2018-02-05 13:49:02 +01:00
Jan Pochyla
710306495e apps: reduce unimport usage
unimport should be used only on the workflow dispatchers.
2018-01-30 18:50:59 +01:00
Jan Pochyla
c3fc5c310d apps/common/request_pin: 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
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
19ef1480d8 common: HashWriter move to common 2017-12-22 17:10:28 +01:00
Pavol Rusnak
965bf84cdb
tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
Pavol Rusnak
5192387060
src: move show_pin_timeout to trezor.pin 2017-12-15 21:06:29 +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
Pavol Rusnak
a56d322eca
storage: add homescreen 2017-12-13 02:41:59 +01:00
Jan Pochyla
757978e1c8 apps/management: fix change_pin 2017-12-08 17:26:51 +01:00
Pavol Rusnak
f88080b904
Merge branch 'pin_fails' 2017-12-07 15:29:47 +01:00
Tomas Susanka
aa29667059 common: coins updated 2017-11-23 16:30:11 +01:00
Tomas Susanka
dc6701af90 wallet/signing: native P2WPKH, P2WPKH in P2SH, scripts 2017-11-23 16:30:11 +01:00
Jan Pochyla
8288255048 storage: use new api, remove pin 2017-11-05 21:04:47 +01:00
Jan Pochyla
3ae6819725 apps/common: experiment with ui.layout 2017-10-10 15:35:01 +02:00
Jan Pochyla
80a8757740 apps/common/request_pin: request pin on client 2017-10-10 11:49:14 +02:00
Jan Pochyla
4fa5e36053 apps/common/request_pin: test ui.layout 2017-10-09 15:34:55 +02:00
Jan Pochyla
e923b885af fix style 2017-10-03 12:29:46 +02:00
Peter Jensen
027cc49f47 added icons to buttons 2017-09-26 17:05:53 +02:00
Jan Pochyla
808317424d use trezor.ui.{BG,FG} 2017-09-26 12:05:26 +02:00
Jan Pochyla
3379c94598 apps/common/request_pin: add support for 0 2017-09-21 15:57:08 +02:00
Jan Pochyla
f8d961f839 apps/common/request_pin: fix request_pin_on_display 2017-09-21 15:22:50 +02:00
Jan Pochyla
49cc4651c2 bunch of api cleanups 2017-09-19 23:47:35 +02:00
Jan Pochyla
b83d2d1166 apps.common.coins: regenerate 2017-08-15 18:14:14 +02:00
Jan Pochyla
3562ffdc54 wire: pass Context to apps 2017-08-15 18:14:14 +02:00
Pavol Rusnak
fe5b5c1940
tests: update to pytest, regenerate protobuf 2017-07-28 18:58:31 +02:00
Jan Pochyla
3318ed22f5 trezor.ui.confirm: content is required 2017-06-20 12:03:36 +02:00
Pavol Rusnak
73b2ea6c85
travis: add make style (using flake8) 2017-06-13 19:35:34 +02:00
Jan Pochyla
cb9a856484 apps.common.seed: add get_root_without_passphrase
TODO: decomplect storage/seed/workflows after introducing storage classes (session/request/persistent)
2017-05-23 12:44:36 +02:00
Pavol Rusnak
b98c98e6e8
coins: bump bitcoin maxfee 2017-05-13 01:29:49 +02:00
Pavol Rusnak
e3b2001c89
rebuild coins 2017-05-12 22:55:47 +02:00
Pavol Rusnak
16c7284e98
apps.common: introduce cache module instead of caching in global variables 2017-05-09 01:10:45 +02:00
Pavol Rusnak
92b2deb932
coins: add cointype.segwit 2017-04-26 15:46:08 +02:00
Pavol Rusnak
9587563c77
apps.common: update coins 2017-04-25 15:51:59 +02:00
Pavol Rusnak
07693277a4
apps.common: update coins.py + its generator to add new fields 2017-04-24 15:59:30 +02:00
Pavol Rusnak
a7e17f07ee
tests: finish sign_identity workflow, update run_tests_python_trezor.sh to reflect current state 2017-04-16 22:21:21 +02:00
Pavol Rusnak
e7bcaae3d4
src.apps.common: update coins.py 2017-04-12 14:48:51 +02:00
Peter Jensen
76705dde5b trezor.ui: change failure pin msg 2017-04-06 14:16:48 +02:00
Peter Jensen
96020a4953 micro fix 2017-03-21 13:15:15 +01:00
Peter Jensen
8d4cd85659 minor design changes 2017-03-20 21:41:06 +01:00
Jan Pochyla
fd9361ce77 apps.common.storage: make config ids public 2017-01-24 14:14:03 +01:00
Jan Pochyla
059315feb4 apps.common: add protect_by_passphrase 2017-01-24 14:14:03 +01:00
Jan Pochyla
984f088519 apps.common: fix request_pin 2017-01-17 17:43:08 +01:00
Jan Pochyla
59feeed3cb apps.common.request_pin: add at_least_once 2016-12-19 11:32:08 +01:00
Jan Pochyla
e73ff1f3c2 apps: improve language getters/setters 2016-12-15 12:48:33 +01:00
Jan Pochyla
c03924c05f apps.common.request_pin: fix client cancel 2016-12-15 12:34:18 +01:00
Jan Pochyla
2a58ca986f apps.common.storage: fix device_id init 2016-12-15 12:33:39 +01:00
Jan Pochyla
b8968e7387 minor perf changes 2016-12-12 15:26:49 +01:00
Jan Pochyla
d2e31e24ee apps.common.seed: simplify, remove root caching 2016-12-12 15:26:49 +01:00
Jan Pochyla
3e1b821b3c minor fixes 2016-12-08 16:31:10 +01:00
Jan Pochyla
e0dfc2ef03 apps: reflect the wire api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla
0b7874ad43 loop: rename Future to Signal
Future semantics were changed to allow multiple deliveries to avoid allocating more future objects than neccessary, and Signal describes this behaviour more accurately.
2016-12-08 16:19:09 +01:00
Jan Pochyla
b145f8f309 apps.common.signtx: add example sanitization 2016-12-08 16:19:09 +01:00
Jan Pochyla
6edaa68ab3 apps.common: remove sign.pseudo 2016-11-23 15:06:39 +01:00
Jan Pochyla
e8da59ced0 apps.common: add protect_with_pin, adjust seed.py 2016-11-23 15:06:39 +01:00
Jan Pochyla
b400448b97 apps: adjust to last commit 2016-11-23 15:06:39 +01:00
Jan Pochyla
a8b519d127 signtx: prealloc the bytearrays 2016-11-23 15:06:39 +01:00
Jan Pochyla
05f832cae7 storage: remove pbuf, add pin lock 2016-11-23 15:06:39 +01:00
Pavol Rusnak
ecac1d79f2
apps.wallet: refactor message digest method into shared module
naming would need some further thoughts, though
2016-11-16 23:13:04 +01:00
Pavol Rusnak
620ed74aa7
apps.wallet: implement VerifyMessage 2016-11-16 22:55:11 +01:00
Jan Pochyla
722cc2d63b apps.common: add client-side pin input method 2016-11-16 14:28:56 +01:00
Jan Pochyla
d00a6723c0 apps.common.signtx: code style 2016-11-16 14:28:56 +01:00
Pavol Rusnak
315440fc18
apps.common: refactor address_type functions 2016-11-16 12:42:11 +01:00
Pavol Rusnak
cfdd517bf4
apps.common.signtx: fix outputs for multibyte address prefixes 2016-11-16 01:45:18 +01:00
Pavol Rusnak
ea12087de7
apps.common: add op_return to signtx 2016-11-16 01:39:31 +01:00
Pavol Rusnak
357a081b53
apps.wallet: add FeeOverThreshold handling 2016-11-16 01:21:25 +01:00
Pavol Rusnak
e10e20d550
apps.common.signtx: fix p2sh output 2016-11-15 18:19:32 +01:00
Pavol Rusnak
ceb4ed8c59
apps.common.signtx: rework check_address_type function 2016-11-15 18:12:10 +01:00
Jan Pochyla
72be5cf2f2 signtx: fix typo 2016-11-15 18:07:49 +01:00
Pavol Rusnak
8d496d456b
apps.common.signtx: add paytoscripthash support, fix multibyte 2016-11-15 18:02:05 +01:00
Jan Pochyla
39b3ecb224 confirm: allow to resolve the dialogs from outside 2016-11-15 13:48:31 +01:00
Jan Pochyla
a798a07220 signtx: confirm output before hashing 2016-11-15 11:59:27 +01:00
Jan Pochyla
b89666fb87 apps.debug: cleanup 2016-11-15 11:59:27 +01:00
Jan Pochyla
ed8973e86d signtx: unify input script derivation 2016-11-15 11:59:27 +01:00
Pavol Rusnak
b09f0eaf4e
tests: add test for apps.common.coins 2016-11-15 11:57:18 +01:00
Pavol Rusnak
72a41182c2
apps.common.storage: fix device_id generator 2016-11-12 15:03:45 +01:00
Jan Pochyla
8754d74620 signtx: do not include change in total 2016-11-11 15:54:38 +01:00
Jan Pochyla
44f6f21186 signtx: add UI similar to trezor1 2016-11-11 14:13:04 +01:00
Jan Pochyla
2e4c63f836 homescreen: return correct coins in Features 2016-11-11 11:26:38 +01:00
Jan Pochyla
90b2f3a3e0 seed: clone node before deriving 2016-11-11 11:21:47 +01:00
Jan Pochyla
4f8e01c5df signtx: fix address derivation 2016-11-11 11:20:26 +01:00
Jan Pochyla
24d8a04131 signtx: minor refactoring 2016-11-11 11:19:47 +01:00