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

1204 Commits

Author SHA1 Message Date
Andrew Kozlik
d6d6416b50 usb: Avoid segfault in usbSleep(), usbReconnect() and usbPoll() when USB is not initialized. 2019-03-13 19:21:27 +01:00
Pavol Rusnak
1dada5a6fd
Merge pull request #463 from trezor/tsusanka/mnemonic-bytes
Return mnemonic as bytes
2019-03-13 12:38:00 +01:00
Tomas Susanka
2646c0901c firmware: return mnemonic as bytes in debug link 2019-03-12 15:25:05 +01:00
Tomas Susanka
57423c9f54 firmware: set bitcoin's has_node
The field has been changed to optional in
84f5a0e393
.
2019-03-12 15:25:05 +01:00
Tomas Susanka
a4668bedb4 vendor: update trezor-common 2019-03-12 15:25:05 +01:00
Pavol Rusnak
cbde3f4fdb
firmware: refactor U2F known apps, add WebAuthn entries 2019-03-09 18:24:49 +01:00
Pavol Rusnak
358ea93e80
Merge branch 'secfix' 2019-03-06 17:31:50 +01:00
Pavol Rusnak
f40219dbb6
fsm: correctly set node in EthereumPublicKey response 2019-02-28 16:38:48 +01:00
Andrew Kozlik
b65f61650a config: Set usbTiny whenever there is a possibility that protectPinUiCallback() may be called. 2019-02-25 13:54:44 +01:00
Pavol Rusnak
b457797c55
changelog: update 2019-02-25 12:44:38 +01:00
Pavol Rusnak
964a622bb5
bootloader: fix typo 2019-02-24 17:42:01 +01:00
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
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
Pavol Rusnak
276cd4b44a
firmware: set NORCOW_HEADER_LEN to 0 2019-02-21 20:40:16 +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
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
Pavol Rusnak
b26e90daf9
firmware: add bootloader 1.8.0 to whitelist 2019-02-21 14:23:34 +01:00
Pavol Rusnak
d9841c29e4
vendor: update trezor-crypto 2019-02-21 12:44:29 +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
c7af39bf8d
use shutdown from startup.s 2019-02-20 08:52:42 +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
07d2994d0c
vendor: add ignore=untracked to QR code generator submodule
The submodule does not contain .gitignore and we produce .d and .o
files in their directory :-/
2019-02-17 19:16:35 +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
92382d3f2c
Merge branch 'trezor-storage-integration' 2019-02-15 15:52:01 +01:00
Pavol Rusnak
67c0f8b8a1
storage: use fixed hw_entropy in unprivileged mode 2019-02-15 15:13:07 +01:00
Pavol Rusnak
9a9c537afd
vendor: update trezor-storage 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