andrew
3517018f30
Display the number of PIN entry attempts remaining.
2019-02-15 12:39:15 +01:00
Pavol Rusnak
0ff7034e37
embed/extmod/modtrezorconfig: refactor PIN UI wait callback ( #398 )
...
This commit accomplishes several goals:
1) it removes any upy dependencies from storage.c/storage.h
2) ui wait callback is set during config_init and storage_init,
which allows to simplify the code dramatically
2018-11-08 15:55:47 +01:00
Milan Rossa
b2327c37b7
firmware: log exceptions in debug mode (no silent unhandled exceptions)
2018-10-15 13:37:37 +02:00
Jan Pochyla
dcb15f77c3
src: run black
2018-07-10 13:05:15 +02:00
Jan Pochyla
ead154b907
src: run isort
2018-07-10 13:05:15 +02:00
Pavol Rusnak
c937d73217
src: minor visual nits
2018-03-01 01:13:26 +01:00
Jan Pochyla
f4c1bfda22
boot: fix unsuccessful PIN attempt label
2018-02-27 21:50:54 +01:00
Jan Pochyla
9f48e3d471
request_pin, request_passphrase: ui fixes
2018-02-27 20:21:54 +01:00
Pavol Rusnak
2cf917e58d
src: whitespace nit in boot.py
2018-02-27 16:19:15 +01:00
Peter Jensen
05ccdecbc6
src/boot: update lock screen
2018-02-27 15:34:18 +01:00
Pavol Rusnak
be79a8cff4
src+tests: make flake8 happy; explicitly mark E722 ignores (bare excepts)
2018-02-27 00:31:33 +01:00
Jan Pochyla
34f722f2df
boot: add lockscreen
2018-02-19 20:36:26 +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
a255938903
main: unlock storage after boot
2017-11-05 21:04:47 +01:00
Pavol Rusnak
393ead9beb
src: remove boot.py
2017-04-08 18:11:10 +02:00
Jan Pochyla
2cff58f4f0
boot: comment out, usb init will be in C for now
2016-12-13 16:03:57 +01:00
Pavol Rusnak
db6673b50e
move initialization of I2C1 to msg_init()
2016-09-27 17:26:13 +02:00
Pavol Rusnak
e480871db3
generate proper events from touchscreen
2016-09-27 17:26:10 +02:00
Pavol Rusnak
a15730087c
VCP is the new CDC
2016-09-27 17:26:08 +02:00
Pavol Rusnak
f42b62fa40
use mock config for stmhal, setup hid in boot
2016-09-27 17:26:05 +02:00
slush0
7dc716a05a
Stub for python src & emu.sh
2016-09-27 17:20:39 +02:00