Commit Graph

19 Commits

Author SHA1 Message Date
Peter Jensen e43ce25611 src/trezor/ui/style: update resources and icons in dialogs 2018-02-27 23:52:49 +01:00
Jan Pochyla 9f48e3d471 request_pin, request_passphrase: ui fixes 2018-02-27 20:21:54 +01:00
Jan Pochyla 375a95c214 src/apps: cleanup workflow modules 2018-02-27 16:36:17 +01:00
Jan Pochyla 4ef79ca48b src/apps: remove layout_ from workflow functions 2018-02-27 16:35:29 +01:00
Jan Pochyla 5e8ea18cce src/apps: use more specific ButtonRequestType 2018-02-27 01:51:34 +01:00
Pavol Rusnak 20f1644ef9
src/apps/management: fix change_pin behaviour 2018-02-26 23:02:44 +01:00
Pavol Rusnak b97e5b7a55
src/trezor/ui: use ICON_DEFAULT by default, not ICON_RESET 2018-02-26 23:00:50 +01:00
Jan Pochyla 76590c44ad src/apps/common/request_pin: cancel is optional 2018-02-22 15:20:20 +01:00
Peter Jensen 22c9296aac src/apps/management/change_pin: fix pin label 2018-02-19 16:52:37 +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
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 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
Jan Pochyla 757978e1c8 apps/management: fix change_pin 2017-12-08 17:26:51 +01:00
Jan Pochyla 3562ffdc54 wire: pass Context to apps 2017-08-15 18:14:14 +02:00
Jan Pochyla 666018ec57 apps.management.change_pin: ask event if unlocked 2016-12-19 11:32:39 +01:00
Jan Pochyla 96ead03e03 apps: fix for change_pin and debug 2016-12-17 13:20:57 +01:00
Jan Pochyla 8811814867 apps.management: add change_pin workflow 2016-12-15 12:36:07 +01:00