Commit Graph

45 Commits (a7a9eab4454e2f3756ca4bb0d42028c0691412df)

Author SHA1 Message Date
Andrew Kozlik 0e48a1a39a
Fix spaces/tabs so that a single convention is used in each file.
6 years ago
andrew 05f3b74b65
Fix rebase.
6 years ago
andrew 7b0f5e031d
config: Change config_get*() functions to return status of the get operation.
6 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.
6 years ago
andrew 679174ea7a
Fix separated backup. Fix forgotten config_getMnemonic() in DEBUG_LINK build.
6 years ago
andrew 4f32cb5083
firmware: integrate trezor-storage
6 years ago
Pavol Rusnak a7c32248bd
reset: commit to storage unconditionally at the end of backup procedure
6 years ago
Pavol Rusnak 3b5fe11253
reset: use mnemonic_clear
6 years ago
Pavol Rusnak 79779f4da6
replace all usage of memset(_, 0, _) with memzero
6 years ago
Pavol Rusnak 0cf5ef837f
reset: add link to ToS to reset_device
6 years ago
Pavol Rusnak 3f1d7b09f1
reset/recovery: refactor last commit
6 years ago
Pavol Rusnak 9730471a73
reset: wording
6 years ago
Pavol Rusnak 96cf9e9065
reset: don't show internal entropy when skip_backup is set
6 years ago
Pavol Rusnak 3a4660ede2
reset: don't show internal entropy when no_backup is set
6 years ago
Pavol Rusnak cb9182166e
reset: fix setting of needs_backup flag
6 years ago
Pavol Rusnak 9749cb070b
storage: setNoBackup does not have to have parameter
6 years ago
Pavol Rusnak 4a0f0259d1
firmware: introduce seedless setup (aka no_backup)
6 years ago
matejcik c17cec93f7
firmware: use flattened protobuf symbols
6 years ago
Pavol Rusnak 0febd07dfc
firmware: update code to use new nested messages in trezor-common
6 years ago
Pavol Rusnak 399706ae22
storage: implement unfinished_backup flag
7 years ago
Pavol Rusnak fc7189f801
use Failure_PinMismatch where it makes sense (ChangePin, ResetDevice, RecoveryDevice)
7 years ago
Pavol Rusnak f22c849767 storage: rework storage_commit into storage_update
7 years ago
Pavol Rusnak 57bbcc754a storage: make storage accessible only via functions
7 years ago
Saleem Rashid e3460b9f00 reset: Call storage_commit after initialization
7 years ago
Pavol Rusnak 18d8cb3c56
add project website (trezor.io) to license header
7 years ago
Pavol Rusnak 30367bfad1
reset: refactor code into layoutResetWord
7 years ago
Pavol Rusnak a01ba51a2a
storage: copy only required bytes from old storage, bump storage version
7 years ago
Pavol Rusnak 3d7d0f0734
use C99 for loop where possible
7 years ago
Pavol Rusnak ba2b2f24da
firmware: mark backup as done before giving away the mnemonic, not after
7 years ago
Pavol Rusnak 8fa3ce7e14
reset: distinguish between separated call and joined call, mark backup as done only when performed completely
7 years ago
Pavol Rusnak b65068c159
reset: add Features.needs_backup
7 years ago
Pavol Rusnak 97fa33de46
reset: show needs backup signed when storage is not backed up
7 years ago
Pavol Rusnak 9298e4d9e3
reset: make backup workflow independent of initialization
7 years ago
Pavol Rusnak c6fd70b471
gettext: mark localizable strings as proof-of-concept
7 years ago
Pavol Rusnak 00f6312a81
rename failures, unify strings where possible
7 years ago
Pavol Rusnak c4d144a82e
extract CHECK_PARAM
8 years ago
Pavol Rusnak 71890e4edf
implement u2f_counter in LoadDevice, Recoverydevice and ResetDevice messages
8 years ago
Pavol Rusnak 633024a993
send failure when reset workflow is aborted (this sends features when it was aborted by initialize message)
8 years ago
Pavol Rusnak b1e3c52b08
remove DialogIcon enum, use bitmap structure directly
8 years ago
Pavol Rusnak 5e5138066a
adapt the reorder of hash_final functions
9 years ago
Pavol Rusnak 50c8811af9
double sized font for reset device
9 years ago
Roman Zeyde 755b0388f0 firmware: exclude debug functionality from release build
9 years ago
Pavol Rusnak 309604d286 change setup wording
10 years ago
Pavol Rusnak 9d1cc7933d adjust reset_device loop to match recovery_device loop
10 years ago
Pavol Rusnak 0d0a1ab5f2 import v1.0.0
11 years ago