1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
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
Pavol Rusnak
be79a8cff4
src+tests: make flake8 happy; explicitly mark E722 ignores (bare excepts) 2018-02-27 00:31:33 +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
Pavol Rusnak
965bf84cdb
tests: cleanup flake8 warnings 2017-12-16 02:11:26 +01:00
Pavol Rusnak
ea404b53ee
tests: simplify hashlib tests, fix trezor.config test 2017-12-16 01:24:40 +01:00
Pavol Rusnak
e8f70ed4af
pin: implement graphics pin timeout 2017-12-14 19:01:41 +01:00
Pavol Rusnak
626a8885ce
trezor.config: add compaction test 2017-12-08 16:46:13 +01:00
Jan Pochyla
40a9ac2e29 tests: fix trezor.config test 2017-11-10 15:18:43 +01:00
Pavol Rusnak
acb68dc429
trezor.config: rework for new structure 2017-06-20 13:30:02 +02:00
Jan Pochyla
33f833f40a config: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla
be7ee61ddd config: always use bytes() for default value 2016-11-23 15:06:39 +01:00
Pavol Rusnak
c6ea71901d
trezor.config: use norcow 2016-11-21 19:56:23 +01:00
Pavol Rusnak
a31dba225e
test: add test for trezor.config.wipe 2016-11-08 21:34:52 +01:00
Pavol Rusnak
33b5436dcc
tests: move to /tests to avoid freezing 2016-11-06 17:04:25 +01:00