mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-15 09:02:02 +00:00
config: Auto-unlock storage if no PIN is set. Update trezor-storage with improved ui_callback() reporting.
This commit is contained in:
parent
2482e11112
commit
db47ff4e51
@ -365,6 +365,11 @@ void config_init(void)
|
||||
} else {
|
||||
config_wipe();
|
||||
}
|
||||
|
||||
// Auto-unlock storage if no PIN is set.
|
||||
if (storage_is_unlocked() == secfalse && storage_has_pin() == secfalse) {
|
||||
storage_unlock(PIN_EMPTY);
|
||||
}
|
||||
}
|
||||
|
||||
void session_clear(bool lock)
|
||||
|
2
vendor/trezor-storage
vendored
2
vendor/trezor-storage
vendored
@ -1 +1 @@
|
||||
Subproject commit 0e897f673a2150607bae553e21604b253352644e
|
||||
Subproject commit 511fc205b284605651348512c5c5c2c95a642fa1
|
Loading…
Reference in New Issue
Block a user