Andrew Kozlik
|
a7a9eab445
|
config: Fix pointer arithmetic in config_upgrade_v10().
|
2019-02-22 13:45:53 +01:00 |
|
Pavol Rusnak
|
80840b2321
|
firmware: change bootloader 1.8.0 hash in the whitelist
|
2019-02-21 17:24:58 +01:00 |
|
Pavol Rusnak
|
07231d936e
|
introduce new memory layout
firmware header is now stored with code, not within the storage sectors
|
2019-02-21 15:08:27 +01:00 |
|
Pavol Rusnak
|
b26e90daf9
|
firmware: add bootloader 1.8.0 to whitelist
|
2019-02-21 14:23:34 +01:00 |
|
Pavol Rusnak
|
22f37e81a3
|
bootloader: enable MPU, introduce delays to USB stack
|
2019-02-21 09:06:55 +01:00 |
|
Pavol Rusnak
|
0f5c96926c
|
firmware/u2f: memzero the readbuffer
|
2019-02-20 20:34:33 +01:00 |
|
Pavol Rusnak
|
7492cf07fc
|
firmware: fix buffer size in address_n_str
|
2019-02-20 20:34:33 +01:00 |
|
Pavol Rusnak
|
fd46339f5c
|
ethereum: clear local variables in layoutEthereumFee
|
2019-02-20 20:34:32 +01:00 |
|
Pavol Rusnak
|
44bb5864d4
|
fix whitespace
|
2019-02-19 18:01:10 +01:00 |
|
Pavol Rusnak
|
a00c7f9720
|
mpu: rename mpu_config to mpu_config_firmware
|
2019-02-19 17:52:29 +01:00 |
|
Pavol Rusnak
|
7e82f27553
|
protect: make waiting UI more sexy
|
2019-02-19 15:32:18 +01:00 |
|
Pavol Rusnak
|
d95112ba05
|
firmware/protect: show progressbar in verifying pin dialog
+ update trezor-storage
|
2019-02-18 19:58:47 +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 |
|
Pavol Rusnak
|
827df268a6
|
firmware: fix unused argument in collect_hw_entropy
|
2019-02-18 18:24:40 +01:00 |
|
Pavol Rusnak
|
540be49897
|
firmware: use OTP block 3 for storing randomness
|
2019-02-18 17:57:19 +01:00 |
|
Pavol Rusnak
|
402e7c4ec6
|
firmware: fix undefined symbol in emulator
|
2019-02-18 00:54:56 +01:00 |
|
Pavol Rusnak
|
79e9ae28b7
|
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator
|
2019-02-16 17:21:35 +01:00 |
|
Pavol Rusnak
|
67c0f8b8a1
|
storage: use fixed hw_entropy in unprivileged mode
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
5230a0f846
|
config: Do not lock storage after completing loadDevice().
|
2019-02-15 15:13:07 +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 Kozlik
|
55bc3c7430
|
config: Check metadata magic before upgrading storage from version 10. Bump config version.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
0b79d0e596
|
config: Store cleartext PIN for DEBUG_LINK.
|
2019-02-15 15:13:07 +01:00 |
|
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 |
|