1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-20 06:28:09 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
andrew
4429888b93 Use error_shutdown() to display 'Too many wrong PIN attempts. Storage has been wiped.' 2019-02-06 17:42:10 +01:00
andrew
2862d679ac Do not require storage to be unlocked prior to calling storage_change_pin(). The function checks the old PIN anyway. 2019-02-06 13:47:09 +01:00
andrew
47cd563c81 Interrupt the PIN wait dialog if the PIN_UI_WAIT_CALLBACK function returns sectrue. 2019-02-06 13:43:15 +01:00
andrew
6d9a4962a4 Check the 'initialized' flag in storage_*() functions before doing anything. 2019-02-04 17:32:58 +01:00
andrew
8fc03a5a95 Fix bug in auth_get() when storing the authentication_sum. Remove the superfluous auth_get() call in unlock(). 2019-02-01 20:46:16 +01:00
andrew
2888c11095 Bugfix: Unlock flash when copying sector header. 2019-01-31 17:52:51 +01:00
andrew
840f7461ee Add storage_is_unlocked(). 2019-01-30 17:36:02 +01:00
andrew
ebe884ab4d Make storage_pin_fails_increase() public. 2019-01-30 17:33:48 +01:00
andrew
7e8c4e783d Revert "Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count."
This reverts commit d49e3c9f3c.
2019-01-30 17:31:51 +01:00
andrew
7228b299b3 Add storage_lock(). 2019-01-30 16:34:57 +01:00
andrew
d49e3c9f3c Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count. 2019-01-30 16:22:50 +01:00
andrew
fc29df6f87 Rename flash_erase_sector() to flash_erase() to resolve name collision with libopencm3 in trezor-mcu. 2019-01-28 16:24:48 +01:00
andrew
65fdd53427 Rename flash_unlock() to flash_unlock_write() to resolve name collision with libopencm3 in trezor-mcu. 2019-01-28 16:02:09 +01:00
andrew
7be7709c70 Fix strict-prototypes warnings by explicitly specifying void when a function accepts no arguments. 2019-01-25 16:23:20 +01:00
Tomas Susanka
a73e147ceb readme: remove future tense; and key derivation image; other small typos 2019-01-25 15:11:33 +01:00
Tomas Susanka
f24c6e31f6 readme: import from google docs 2019-01-25 15:08:40 +01:00
Pavol Rusnak
8970e2bdeb
add .gitignore 2019-01-24 16:01:47 +01:00
Pavol Rusnak
638a933e22
add COPYING 2019-01-24 15:57:18 +01:00
Pavol Rusnak
781f1c24d0
init 2019-01-24 15:53:45 +01:00