Pavol Rusnak
20f1644ef9
src/apps/management: fix change_pin behaviour
2018-02-26 23:02:44 +01:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers
2018-02-26 14:07:37 +01:00
Pavol Rusnak
db141fbc14
src/trezor: rework PIN progress update
2018-02-25 02:30:33 +01:00
Jan Pochyla
00c4da83b9
modtrezorconfig: fix has_pin
2018-02-05 15:36:59 +01:00
Pavol Rusnak
27d9abe883
trezor.config: add public values (readable without unlock)
...
They are indicated via MSB bit of appid
2018-01-13 16:09:22 +01:00
Jochen Hoenicke
beef9ecfb5
Moved flash_unlock to norcow_update
...
and fixed propagation of error return
2017-12-16 17:25:41 +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
48ef409fdb
modtrezorio: remove mocks
2017-12-15 00:06:09 +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
Jochen Hoenicke
497021f2ef
storage: New pin fail section inside NORCOW
...
Added a function to update NORCOW data.
Changed storage pin fail logic.
2017-12-14 17:18:45 +01:00
Pavol Rusnak
20a1326ebb
storage: fix typo
2017-12-11 23:11:43 +01:00
Pavol Rusnak
e268aeb8b7
flash: simplify/unify flash_erase_sectors usage
2017-12-09 18:00:37 +01:00
Pavol Rusnak
6ab0f03ec4
embed: norcow_init, storage_init and flash_init don't return secbool, they halt using ensure if something goes wrong
2017-12-09 14:48:49 +01:00
Pavol Rusnak
38e3088325
common: don't expose shutdown() via common.h
2017-12-08 12:42:43 +01:00
Jan Pochyla
5bd39c70b0
storage: fix change_pin and small details
2017-11-08 18:08:19 +01:00
Jan Pochyla
237740de9c
storage: implement change_pin
2017-11-06 17:47:05 +01:00
Jan Pochyla
df77e74988
storage: fix unlock
2017-11-06 17:26:13 +01:00
Jan Pochyla
0376ff7f48
storage, norcow: use secbool
2017-11-05 20:46:59 +01:00
Jan Pochyla
418f035811
storage: add has_pin and change_pin
...
TODO: finish change_pin
2017-11-05 20:46:59 +01:00
Jan Pochyla
353883e0f3
storage: rename constant
2017-11-05 20:46:11 +01:00
Jan Pochyla
f07b4dda0b
modtrezorconfig: extract pin & unlocking to storage.c
2017-11-05 20:46:11 +01:00