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

12 Commits

Author SHA1 Message Date
Andrew Kozlik
dc848be167
config: Cache auto-lock delay. 2019-02-15 15:13:06 +01:00
andrew
2f9010824d
config: Erase HW_ENTROPY_DATA when no longer needed. 2019-02-15 15:13:06 +01:00
andrew
faa0664b62
config: Use efficient implementation of U2F counter from trezor-storage. 2019-02-15 15:13:06 +01:00
andrew
ae48b528a9
config: Rename session_isPinCached() to session_isUnlocked(). Change GetFeatures to always return pin_cached=false if PIN is not set, in order to maintain the same behavior as before. 2019-02-15 15:13:05 +01:00
andrew
66ffa4c7dc
config: Add hardware entropy to storage_init(). 2019-02-15 15:13:05 +01:00
andrew
7b0f5e031d
config: Change config_get*() functions to return status of the get operation. 2019-02-15 15:13:05 +01:00
andrew
03e9ea4f5c
Support interruption of the PIN wait dialog by Cancel and Initialize messages. 2019-02-15 15:13:05 +01:00
andrew
e49e84ea5a
Reorder storage keys in config.c to correspond with trezor-core and add KEY_INITIALIZED. Add CHECK_PIN to fsm_msgApplyFlags() and to other fsm_msg functions in order to unlock storage. Improve error handling in reset.c and recovery.c. 2019-02-15 15:13:05 +01:00
andrew
247337c63d
Do not lock after wipe. Fix protectPinUiCallback() to correctly display '0 seconds' when wait is 0. 2019-02-15 15:13:05 +01:00
andrew
a7fcf9b036
Fix key constant in config_setLanguage(). Update trezor-storage. 2019-02-15 15:13:04 +01:00
andrew
681137c2ef
Unlock for testing. 2019-02-15 15:13:04 +01:00
andrew
4f32cb5083
firmware: integrate trezor-storage 2019-02-15 15:12:53 +01:00