1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 01:18:28 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
Pavol Rusnak
eba242b806
format: start using clang-format with style=Google 2019-03-29 17:11:04 +01:00
Andrew Kozlik
0e48a1a39a
Fix spaces/tabs so that a single convention is used in each file. 2019-02-15 15:13:06 +01:00
andrew
05f3b74b65
Fix rebase. 2019-02-15 15:13:06 +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
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
679174ea7a
Fix separated backup. Fix forgotten config_getMnemonic() in DEBUG_LINK build. 2019-02-15 15:13:04 +01:00
andrew
4f32cb5083
firmware: integrate trezor-storage 2019-02-15 15:12:53 +01:00
Pavol Rusnak
a7c32248bd
reset: commit to storage unconditionally at the end of backup procedure 2019-02-01 15:17:06 +01:00
Pavol Rusnak
3b5fe11253
reset: use mnemonic_clear 2019-01-23 18:38:30 +01:00
Pavol Rusnak
79779f4da6
replace all usage of memset(_, 0, _) with memzero 2019-01-23 17:00:01 +01:00
Pavol Rusnak
0cf5ef837f
reset: add link to ToS to reset_device 2018-12-11 12:37:08 +01:00
Pavol Rusnak
3f1d7b09f1
reset/recovery: refactor last commit 2018-10-22 14:39:49 +02:00
Pavol Rusnak
9730471a73
reset: wording 2018-10-11 15:27:03 +02:00
Pavol Rusnak
96cf9e9065
reset: don't show internal entropy when skip_backup is set 2018-10-11 15:24:40 +02:00
Pavol Rusnak
3a4660ede2
reset: don't show internal entropy when no_backup is set 2018-10-08 15:39:55 +02:00
Pavol Rusnak
cb9182166e
reset: fix setting of needs_backup flag 2018-10-04 18:36:36 +02:00
Pavol Rusnak
9749cb070b
storage: setNoBackup does not have to have parameter 2018-10-04 17:30:37 +02:00
Pavol Rusnak
4a0f0259d1
firmware: introduce seedless setup (aka no_backup) 2018-10-04 17:19:37 +02:00
matejcik
c17cec93f7
firmware: use flattened protobuf symbols 2018-09-06 18:47:36 +02:00
Pavol Rusnak
0febd07dfc
firmware: update code to use new nested messages in trezor-common 2018-07-10 17:21:11 +02:00
Pavol Rusnak
399706ae22
storage: implement unfinished_backup flag 2018-04-04 12:42:52 +02:00
Pavol Rusnak
fc7189f801
use Failure_PinMismatch where it makes sense (ChangePin, ResetDevice, RecoveryDevice) 2018-02-20 17:48:19 +01:00
Pavol Rusnak
f22c849767 storage: rework storage_commit into storage_update 2017-12-12 16:28:42 +01:00
Pavol Rusnak
57bbcc754a storage: make storage accessible only via functions
add calls also for debug build and use them in fsm
2017-12-12 16:28:42 +01:00
Saleem Rashid
e3460b9f00 reset: Call storage_commit after initialization
Fixes #230
2017-11-14 13:42:44 +01:00
Pavol Rusnak
18d8cb3c56
add project website (trezor.io) to license header 2017-11-05 17:47:23 +01:00
Pavol Rusnak
30367bfad1
reset: refactor code into layoutResetWord 2017-09-04 08:12:33 +02:00
Pavol Rusnak
a01ba51a2a
storage: copy only required bytes from old storage, bump storage version
+ backup_device: ask for pin, always use correct number of words
2017-08-16 13:11:31 +02:00
Pavol Rusnak
3d7d0f0734
use C99 for loop where possible 2017-07-23 22:20:51 +02:00
Pavol Rusnak
ba2b2f24da
firmware: mark backup as done before giving away the mnemonic, not after 2017-07-05 12:17:46 +02:00
Pavol Rusnak
8fa3ce7e14
reset: distinguish between separated call and joined call, mark backup as done only when performed completely 2017-06-29 14:14:20 +02:00
Pavol Rusnak
b65068c159
reset: add Features.needs_backup 2017-06-29 14:14:20 +02:00
Pavol Rusnak
97fa33de46
reset: show needs backup signed when storage is not backed up 2017-06-29 14:14:20 +02:00
Pavol Rusnak
9298e4d9e3
reset: make backup workflow independent of initialization 2017-06-29 14:14:20 +02:00
Pavol Rusnak
c6fd70b471
gettext: mark localizable strings as proof-of-concept 2017-06-18 22:47:32 +02:00
Pavol Rusnak
00f6312a81
rename failures, unify strings where possible 2017-06-18 21:19:21 +02:00
Pavol Rusnak
c4d144a82e
extract CHECK_PARAM 2016-11-22 22:04:09 +01:00
Pavol Rusnak
71890e4edf
implement u2f_counter in LoadDevice, Recoverydevice and ResetDevice messages 2016-10-31 16:20:15 +01:00
Pavol Rusnak
633024a993
send failure when reset workflow is aborted (this sends features when it was aborted by initialize message) 2016-07-04 15:02:24 +02:00
Pavol Rusnak
b1e3c52b08
remove DialogIcon enum, use bitmap structure directly 2016-06-08 19:20:07 +02:00
Pavol Rusnak
5e5138066a
adapt the reorder of hash_final functions 2016-04-26 11:53:58 +02:00
Pavol Rusnak
50c8811af9
double sized font for reset device 2015-11-18 19:52:16 +01:00
Roman Zeyde
755b0388f0 firmware: exclude debug functionality from release build 2015-08-24 15:51:20 +03:00
Pavol Rusnak
309604d286 change setup wording 2014-12-16 18:45:39 +01:00
Pavol Rusnak
9d1cc7933d adjust reset_device loop to match recovery_device loop 2014-06-06 16:25:54 +02:00
Pavol Rusnak
0d0a1ab5f2 import v1.0.0 2014-04-29 14:38:32 +02:00