1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
Commit Graph

7597 Commits

Author SHA1 Message Date
Pavol Rusnak
222c9ea46c
bootloader: compatibility with old bootloaders 2019-02-24 14:01:33 +01:00
Pavol Rusnak
7baa8c29fc
bootloader: move timer_init to jump_to_firmware 2019-02-24 12:24:40 +01:00
Pavol Rusnak
6cda903a1d
setup: change mpu definition for bootloader, fix typo 2019-02-23 20:47:49 +01:00
Pavol Rusnak
91d9bd28c2
build: don't try to sign emulator build 2019-02-23 19:02:40 +01:00
Andrew Kozlik
f05664fdf3
config: Avoid unlocking storage after wipe. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
b62ab43b95
config: Avoid wiping storage twice. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
db47ff4e51
config: Auto-unlock storage if no PIN is set. Update trezor-storage with improved ui_callback() reporting. 2019-02-23 17:55:49 +01:00
Andrew Kozlik
2482e11112
protect: check old PIN before requesting new PIN 2019-02-23 17:55:42 +01:00
Andrew Kozlik
ae0395f0f4
protect: Update protectPinUiCallback() to show arbitrary message. 2019-02-23 17:55:16 +01:00
Andrew Kozlik
edae40e22c
pin: do not allow the user to enter an empty PIN
An empty PIN is used to signify PIN removal and T1 does not allow entering an empty PIN neither via web-wallet nor via trezorctl.
2019-02-23 17:50:39 +01:00
Andrew Kozlik
e60914e30f
pin: avoid changing PIN unnecessarily 2019-02-23 17:50:28 +01:00
Andrew Kozlik
456a2c68d6
pin: change show_pin_timeout() to display arbitrary message
Don't pre-check old PIN when removing PIN protection.
2019-02-23 17:50:20 +01:00
Andrew Kozlik
511fc205b2 Improve the information which gets passed to ui_callback(). Exact total remaining time, smooth progress and better messages. 2019-02-23 01:52:25 +01:00
Andrew Kozlik
0e897f673a In unlock() show 'Processing' instead of 'Verifying PIN' if the PIN is empty. 2019-02-22 19:04:14 +01:00
Andrew Kozlik
cf9e276c6e In derive_kek() show 'Processing' instead of 'Verifying PIN' if the PIN is empty or the device is not being unlocked. 2019-02-22 18:45:49 +01:00
Pavol Rusnak
3d82cca381
trezorhal: refactor erasing sectors 2019-02-22 17:22:46 +01:00
Pavol Rusnak
cbe8320d96
vendor: update trezor-storage 2019-02-22 16:22:40 +01:00
Pavol Rusnak
806f943116
bootloader: require only left button to start the bootloader 2019-02-22 15:47:34 +01:00
Pavol Rusnak
99c6777c7c
vendor: update trezor-storage 2019-02-22 13:47:43 +01:00
Andrew Kozlik
a7a9eab445
config: Fix pointer arithmetic in config_upgrade_v10(). 2019-02-22 13:45:53 +01:00
Andrew Kozlik
24df1ca2b7 Merge branch 'master' of github.com:trezor/trezor-storage 2019-02-22 11:27:44 +01:00
Andrew Kozlik
1b9329b6fa Fix undefined integer shift. 2019-02-22 11:26:28 +01:00
Pavol Rusnak
62c0e91dd0
firmware: bundle new bootloader 2.0.3 2019-02-21 21:44:11 +01:00
Pavol Rusnak
276cd4b44a
firmware: set NORCOW_HEADER_LEN to 0 2019-02-21 20:40:16 +01:00
Pavol Rusnak
5d645ef61b
bootloader: refactor mpu settings 2019-02-21 19:39:50 +01:00
Pavol Rusnak
08b462b2b9
vendor: update trezor-storage 2019-02-21 17:42:36 +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
400ac96873
bootloader: refactor to save space 2019-02-21 17:12:38 +01:00
matejcik
408c6712c1 transport/webusb: reset USB device when connecting
bridge does the same thing
fixes #361
2019-02-21 17:11:13 +01:00
Pavol Rusnak
3055633d84
vendor: update trezor-crypto and trezor-storage 2019-02-21 17:03:44 +01:00
Pavol Rusnak
828ba7b5b0
bootloader: enable MPU, introduce delays to USB stack 2019-02-21 16:53:17 +01:00
Pavol Rusnak
5560a35af7
tools: fix keyctl-proxy 2019-02-21 16:53:01 +01:00
Tomas Susanka
a109cc26c0 README: swap ENCRDATA and TAG as introduced in previous commit 2019-02-21 16:24:05 +01:00
Andrew Kozlik
5ecd77681f vendor: Update trezor-storage. 2019-02-21 15:35:04 +01:00
Andrew Kozlik
e55737c4b1 Change encrypted entry format to (IV || tag || ciphertext). 2019-02-21 15:22:46 +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
fe39d10211
vendor: update trezor-storage 2019-02-21 14:51:45 +01:00
Andrew Kozlik
9100a3ee64 Improve PVC check to mitigate side channel attacks by adding randomization and using word-wise comparison. 2019-02-21 14:32:19 +01:00
Pavol Rusnak
b26e90daf9
firmware: add bootloader 1.8.0 to whitelist 2019-02-21 14:23:34 +01:00
Jan Pochyla
f5ee6cef98 boot: fade into the "verifying PIN" dialog 2019-02-21 14:06:20 +01:00
Jan Pochyla
86bec3b0ae seed: use sync backlight sliding 2019-02-21 13:22:57 +01:00
Pavol Rusnak
d9841c29e4
vendor: update trezor-crypto 2019-02-21 12:44:29 +01:00
Tomas Susanka
f11373c0ee xmr: set 8 null bytes using multiplication 2019-02-21 09:11:54 +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
Andrew Kozlik
5b49878cdb Check that the input to storage_set_encrypted() doesn't exceed the maximum length of 65507. 2019-02-20 18:27:19 +01:00
Tomas Susanka
6124c21915 style 2019-02-20 14:38:36 +01:00
Tomas Susanka
2b048ce25c xmr: typos in comments 2019-02-20 14:00:43 +01:00