Commit Graph

7185 Commits (3e74ed927bbfbafb668687d8dca0dcdfd48cf885)
 

Author SHA1 Message Date
andrew 66ffa4c7dc
config: Add hardware entropy to storage_init().
5 years ago
andrew c592a09459
protect.c: Display 'Verifying PIN' instead of 'Wrong PIN entered' in the PIN_UI_WAIT_CALLBACK.
5 years ago
andrew 7b0f5e031d
config: Change config_get*() functions to return status of the get operation.
5 years ago
andrew 5d4fb55561
Improve __fatal_error() layout.
5 years ago
andrew 03e9ea4f5c
Support interruption of the PIN wait dialog by Cancel and Initialize messages.
5 years ago
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.
5 years ago
andrew 247337c63d
Do not lock after wipe. Fix protectPinUiCallback() to correctly display '0 seconds' when wait is 0.
5 years ago
andrew d433401311
Update trezor-storage.
5 years ago
andrew a7fcf9b036
Fix key constant in config_setLanguage(). Update trezor-storage.
5 years ago
andrew 679174ea7a
Fix separated backup. Fix forgotten config_getMnemonic() in DEBUG_LINK build.
5 years ago
andrew 681137c2ef
Unlock for testing.
5 years ago
andrew b8932205ce
Update trezor-storage.
5 years ago
andrew d970597ddd
Fix emulator memory access.
5 years ago
andrew 4f32cb5083
firmware: integrate trezor-storage
5 years ago
Pavol Rusnak 5137f4ec00
firmware: bump version to 1.8.0
5 years ago
Pavol Rusnak 5688a9e47e
gitignore: add *.d
5 years ago
Pavol Rusnak 6d817a813d
Merge branch 'trezor-storage-integration'
5 years ago
Andrew Kozlik 69efeac015
tests: Limit the APP values in test_trezor.config to 1, ..., 63
5 years ago
Andrew Kozlik bc46892ba0
vendor: update trezor-storage
5 years ago
Andrew Kozlik 06ef27a718
config: Erase HW_ENTROPY_DATA when no longer needed. This assumes that config.init() is called only once in production. For the emulator tests config.init() can be called repeatedly, since HW_ENTROPY_DATA is null-initialized to begin with.
5 years ago
Andrew Kozlik fd6eb333a6
src/apps/common/storage: allow U2F counter to be written even when storage is locked
5 years ago
Andrew Kozlik 6afd9b1d09
tests: Do not require storage to be unlocked prior to calling storage_change_pin(). The function checks the old PIN anyway.
5 years ago
andrew 52c7f0eb93
config: Use efficient implementation of U2F counter from trezor-storage.
5 years ago
andrew 8b78e6710a
common.c: Add error_shutdown().
5 years ago
andrew 36f354714d
modtrezorconfig: Chenge ui_wait_callback() to return secbool.
5 years ago
andrew c106e81a05
Update trezor-storage.
5 years ago
andrew 55e030dbae
Add config.lock().
5 years ago
Pavol Rusnak 8832c6e63b
embed/trezorhal: rename flash functions
5 years ago
Pavol Rusnak b754ee8cf6
embed/trezorhal: collect HW entropy before MPU kicks in
5 years ago
Pavol Rusnak c0317e1aff
embed/trezorhal: add more checks to flash write functions
5 years ago
Pavol Rusnak 40325f4069
makefile: add debugging targets for reading/erasing storage sectors
5 years ago
andrew 8541c4265b
Fix comment in _next_counter().
5 years ago
Pavol Rusnak 434a9c2084
storage: add norcow_config.h, reorganize storage sources in SConscript files
5 years ago
andrew 0309e9e520
Update trezor-storage submodule.
5 years ago
andrew 1d43f9bea2
Delete the U2F counter if it's set to None.
5 years ago
andrew 92faa9f958
Fix parameter count for config.delete().
5 years ago
andrew 32c80e9889
Make U2F counter public.
5 years ago
andrew a19446fabd
Fix use_passphrase setting in storage.py.
5 years ago
andrew 4246d7f6cd
Update trezor-storage submodule (do not automatically lock the storage after wipe).
5 years ago
andrew e3ab0dfbcb
Reformat Python files using black, isort and flake8.
5 years ago
andrew bddb72d76a
Include trezor-storage before micropython.
5 years ago
andrew 1c0946f562
Fix typo in include.
5 years ago
andrew d41072b0ce
Update origin for trezor-storage submodule.
5 years ago
andrew fa7b496a9a
Revert changes to seed recovery dialog, to avoid tests failing. These changes were moved to the branch andrewkozlik/pin-messages.
5 years ago
andrew 97a4cdb68e
Use only unique device ID as salt to storage_init(). Update storage submodule.
5 years ago
andrew 8be3896038
Convert U2F counter from private to public to take advantage of the more efficient implementation.
5 years ago
andrew fa339bbe06
Add config.delete(key) method.
5 years ago
andrew 4a194e48c6
Update trezor-storage submodule.
5 years ago
andrew 5f94b6a6d2
Add CPUID, flash size and unique device ID as salt to storage_init().
5 years ago
andrew 4cea4d2a4a
Implement efficient counter in storage.py.
5 years ago