1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 19:39:05 +00:00
Commit Graph

813 Commits

Author SHA1 Message Date
Andrew Kozlik
6b66c7540c
config: Remove unused functions config_hasMnemonic() and config_hasNode(). Since mnemonic and node are protected entries, these functions would always return false when storage is locked. We now instead use the INITIALIZED flag which is public. 2019-02-15 15:13:07 +01:00
Andrew Kozlik
45193ffc1d
config: Use secbool instead of bool at least internally. 2019-02-15 15:13:06 +01:00
Andrew Kozlik
dc848be167
config: Cache auto-lock delay. 2019-02-15 15:13:06 +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
2f9010824d
config: Erase HW_ENTROPY_DATA when no longer needed. 2019-02-15 15:13:06 +01:00
andrew
faa0664b62
config: Use efficient implementation of U2F counter from trezor-storage. 2019-02-15 15:13:06 +01:00
andrew
05f3b74b65
Fix rebase. 2019-02-15 15:13:06 +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
66ffa4c7dc
config: Add hardware entropy to storage_init(). 2019-02-15 15:13:05 +01:00
andrew
c592a09459
protect.c: Display 'Verifying PIN' instead of 'Wrong PIN entered' in the PIN_UI_WAIT_CALLBACK. 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
03e9ea4f5c
Support interruption of the PIN wait dialog by Cancel and Initialize messages. 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
247337c63d
Do not lock after wipe. Fix protectPinUiCallback() to correctly display '0 seconds' when wait is 0. 2019-02-15 15:13:05 +01:00
andrew
a7fcf9b036
Fix key constant in config_setLanguage(). Update trezor-storage. 2019-02-15 15:13:04 +01:00
andrew
679174ea7a
Fix separated backup. Fix forgotten config_getMnemonic() in DEBUG_LINK build. 2019-02-15 15:13:04 +01:00
andrew
681137c2ef
Unlock for testing. 2019-02-15 15:13:04 +01:00
andrew
4f32cb5083
firmware: integrate trezor-storage 2019-02-15 15:12:53 +01:00
Pavol Rusnak
5137f4ec00
firmware: bump version to 1.8.0 2019-02-15 14:25:49 +01:00
Pavol Rusnak
4bc37c6b82
signing: add default values for branch_id (zcash) 2019-02-15 01:44:10 +01:00
Pavol Rusnak
26f9b5ba81
flash: unify lock/unlock sequences 2019-02-10 13:22:08 +01:00
Pavol Rusnak
11311da48a
fsm: input messages are no longer confidential 2019-02-04 14:25:13 +01:00
Pavol Rusnak
19c7c8bc3b
signing: implemented simplified API for MultisigRedeemScriptType
If address_n is the same for all nodes in the multisig, provide it just once
and supply nodes directly (not in the HDNodePathType structure)
2019-02-04 13:53:30 +01:00
Pavol Rusnak
f9ba64ea94
messages: introduce messages_map_limits 2019-02-04 13:53:05 +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
8a4e8013f1
firmware: process tx.branch_id (zcash) 2019-01-31 21:17:00 +01:00
Pavol Rusnak
7e3d0a0a77
signing: use the new hasher_InitParam API 2019-01-31 19:20:29 +01:00
Pavol Rusnak
77a6718f76 ethereum: address in messages is now string 2019-01-29 17:16:14 +01:00
Pavol Rusnak
98ec2f096c
bootloader: small changes to ui, replace vendor string 2019-01-27 15:06:05 +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
cbba5f28ae
ethereum: nitpick in GetPublicKey 2019-01-14 17:15:55 +01:00
Tomas Susanka
cf0b5d669b eth: don't check for ed25519 in get public key 2019-01-14 17:12:32 +01:00
Tomas Susanka
0d4efce5a7 eth: get public key 2019-01-14 17:12:32 +01:00
OliverBenT
8adb269e27 changelog: update, add 1.7.3 2018-12-23 21:45:42 +01:00
Pavol Rusnak
a819a1c41b
firmware: add new bl hash to whitelist 2018-12-19 18:02:42 +01:00
Pavol Rusnak
4d502bb5de
bump versions 2018-12-19 17:45:08 +01:00
Pavol Rusnak
cd112497a5
u2f: fix gcc/clang warning 2018-12-18 14:49:31 +01:00
Pavol Rusnak
666b9701d2
firmware: update changelog 2018-12-18 11:50:28 +01:00
Pavol Rusnak
0b26c529ec
u2f: replace U2F header with newer ones
Fix U2F constants, add more checks.
2018-12-17 23:18:02 +01:00
Pavol Rusnak
da5b0a2894
vendor: update trezor-common/trezor-crypto
disable Ethereum{Get,}PublicKey message for now
2018-12-17 17:57:03 +01:00
Pavol Rusnak
d34faccc77
storage: bump version to 10, add no_backup field 2018-12-15 16:12:28 +01:00
Pavol Rusnak
0fb6732fb2
storage: add false to passphraseCached explicitly 2018-12-15 13:55:58 +01:00
Pavol Rusnak
14b6044cb8
storage: add false to pinCached explicitly 2018-12-13 12:32:30 +01:00
Pavol Rusnak
fa3481e37d
firmware/storage: cache PIN after set 2018-12-12 17:37:08 +01:00
Pavol Rusnak
0cf5ef837f
reset: add link to ToS to reset_device 2018-12-11 12:37:08 +01:00
Tomas Susanka
b51f995da7 stellar: typo in failure message 2018-12-04 10:04:16 +01:00
Pavol Rusnak
b1725e7264
fsm: return xpub for multisig 2018-11-15 13:43:08 +01:00
Pavol Rusnak
ca24156eb5
changelog: update 2018-11-13 16:51:26 +01:00
Pavol Rusnak
9cd261c81a
layout: parse and show OMNI transactions 2018-11-13 16:50:10 +01:00