1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 05:18:08 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
andrew
5c2765740d Add efficient counter implementation. 2019-02-08 20:24:55 +01:00
andrew
18fa999974 Support entries which are writable even when the storage is locked. Needed for U2F counter on Trezor 1. 2019-02-08 17:50:27 +01:00
andrew
0497802014 Display more information when handle_fault() is invoked to help diagnose bugs. We might want to remove this in the next release. 2019-02-07 14:03:25 +01:00
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