Pavol Rusnak
44bb5864d4
fix whitespace
2019-02-19 18:01:10 +01:00
Andrew Kozlik
c58c265d9c
config: Check mnemonic by comparing hashes instead of the actual mnemonics, to mitigate side-channel attacks.
2019-02-18 18:45:26 +01:00
Andrew Kozlik
b4c0b59c89
msg: GetFeatures should always return passphrase_protection, needs_backup, unfinished_backup and no_backup, even if the value is not available in storage.
2019-02-15 15:13:07 +01:00
andrew
ae48b528a9
config: Rename session_isPinCached() to session_isUnlocked(). Change GetFeatures to always return pin_cached=false if PIN is not set, in order to maintain the same behavior as before.
2019-02-15 15:13:05 +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
4f32cb5083
firmware: integrate trezor-storage
2019-02-15 15:12:53 +01:00
Pavol Rusnak
98ec2f096c
bootloader: small changes to ui, replace vendor string
2019-01-27 15:06:05 +01:00
Pavol Rusnak
3f1d7b09f1
reset/recovery: refactor last commit
2018-10-22 14:39:49 +02:00
Pavol Rusnak
14efc70f82
reset: add confirm dialog
2018-10-22 14:10:35 +02:00
Pavol Rusnak
4a0f0259d1
firmware: introduce seedless setup (aka no_backup)
2018-10-04 17:19:37 +02:00
Pavol Rusnak
9afaeff36f
firmware: fix typo in unfinished_backup
2018-09-20 13:52:22 +02:00
Pavol Rusnak
7b4f027445
fsm: use const where applicable, document where it isn't and why
2018-09-14 14:40:29 +02:00
matejcik
c17cec93f7
firmware: use flattened protobuf symbols
2018-09-06 18:47:36 +02:00
Pavol Rusnak
4661db1fd4
add missing license headers
2018-09-06 18:28:56 +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
dac7efadb8
firmware: move storage_update for applyFlags
2018-06-22 09:50:21 +02:00
Pavol Rusnak
a83c64fbdb
protob: don't return coins in Features message
2018-05-22 18:40:15 +02:00
Pavol Rusnak
370c58929c
fsm: use passphrase protection instead of passphrase encryption
2018-05-21 15:50:53 +02:00
Jochen Hoenicke
cb9eefdce6
Recovery: Don't ask for confirmation on dry run. ( #347 )
...
The message is very confusing, as it is not recovering the device.
Since dry-run recovery does not change anything, there is no need to ask
for confirmation.
2018-05-11 14:03:28 +02:00
Pavol Rusnak
fb3e468ea2
fsm: split fsm_msg functions into various topic include files
2018-05-03 16:48:47 +02:00