1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-23 15:08:19 +00:00
Commit Graph

13365 Commits

Author SHA1 Message Date
Tomas Susanka
b659f1b29c signing/eth: tokens fix
todo: add test
2018-02-19 16:31:35 +01:00
Karel Bilek
9b09375713 emulator: Removing useless build and install 2018-02-19 14:32:33 +01:00
Karel Bilek
a48dcac07d emulator: use SDL2 directly 2018-02-19 02:13:05 +01:00
Karel Bilek
998690fe41 emulator: fix Makefile 2018-02-19 02:13:05 +01:00
Pavol Rusnak
48998e5e5f
dockerfile: small typos to make them two Dockerfiles more similar 2018-02-19 01:03:40 +01:00
Karel Bilek
28f7bf2a5d emulator: Add instructions 2018-02-19 01:00:14 +01:00
Karel Bilek
4b8a963938 emulator: add docker build 2018-02-19 01:00:14 +01:00
Saleem Rashid
7376b97ee6
emulator: Add TREZOR_OLED_SCALE variable 2018-02-19 00:17:03 +01:00
Saleem Rashid
3f63acdd77
embed: Use GCC as linker
Using GCC passes the correct flags to the linker. Including, if we
choose to use features such as LTO, linker plugins.
2018-02-18 23:17:38 +01:00
Pavol Rusnak
30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures 2018-02-18 15:51:18 +01:00
Pavol Rusnak
e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display 2018-02-18 15:37:54 +01:00
Pavol Rusnak
389c895a71
tokens: rewrite generator to use ethereum-lists/tokens repo as source 2018-02-16 22:46:57 +01:00
Pavol Rusnak
f65c409416
src/apps/common: fix typos in request_passphrase 2018-02-14 23:53:10 +01:00
Pavol Rusnak
736dec1419
src/apps/management: implement ApplyFlags message 2018-02-14 23:50:26 +01:00
Pavol Rusnak
bccd61cb23
client: implement PassphraseRequest.on_device handling 2018-02-14 19:11:21 +01:00
Pavol Rusnak
3c738b62c4
src/apps/common: refactor passphrase request, implement new on_device field 2018-02-14 19:10:42 +01:00
Pavol Rusnak
75e87ede86
vendor: update trezor-common, regenerate messages 2018-02-14 18:15:18 +01:00
Pavol Rusnak
b9f2a1c27f
protob: add PassphraseRequest.on_device and PassphraseRequest.state 2018-02-14 18:14:06 +01:00
Saleem Rashid
b4e3cd3e0c emulator: Refactor strlcpy
Performance is unimportant and this implementation makes it easier to
fuzz.
2018-02-14 13:00:47 +01:00
Pavol Rusnak
4ad6a7a634
embed/bootloader: increase USB timeout to 500 2018-02-13 23:11:18 +01:00
Pavol Rusnak
5ded086800
embed/trezorhal: introduce jump_to_unprivileged, disable mpu in bootloader 2018-02-13 20:51:14 +01:00
Pavol Rusnak
302a31e8d2
embed/bootloader: enable mpu and drop to unprivileged mode before running a firmware 2018-02-13 19:36:03 +01:00
Saleem Rashid
e3a0b6e7b4 setup: Switch to unprivileged execution 2018-02-13 19:31:36 +01:00
Pavol Rusnak
a00ac050e5
setup: typo changes in mpu setup 2018-02-13 16:16:31 +01:00
Pavol Rusnak
3cba075e4f
setup: revert string in fault_handler 2018-02-13 15:51:27 +01:00
Saleem Rashid
1f8f08d48a setup: Enable MPU
Disable code execution from SRAM and reconfiguration of the MPU.

Prevents almost all code execution attacks.
2018-02-13 15:48:42 +01:00
Saleem Rashid
f0255661ed setup: Change fault handler wording 2018-02-13 15:48:42 +01:00
Pavol Rusnak
00c4b8e1e8
add vscode to .gitignore 2018-02-13 15:17:33 +01:00
Pavol Rusnak
1209e48dff
make: update flash command to use openocd 2018-02-13 15:17:32 +01:00
Pavol Rusnak
1469ede956
embed: bump versions 2018-02-13 11:54:08 +01:00
Pavol Rusnak
c115faf2cd
embed/trezorhal/usb: correct handling of interface messages in usb_class_setup 2018-02-12 18:25:13 +01:00
Saleem Rashid
3000a4ac8d Fix emulator strlcpy implementation (#298) 2018-02-12 16:56:01 +01:00
Pavol Rusnak
7b2fd6ae4c
embed/bootloader: move Welcome! string 5px above 2018-02-12 14:57:50 +01:00
Pavol Rusnak
936f0e3e26
embed: fix 3 TODO items 2018-02-12 14:51:41 +01:00
Pavol Rusnak
8a409bd99a
embed/bootloader: move USB_IFACE_NUM to main.c 2018-02-12 14:44:09 +01:00
mcudev
0a15b03917 bootloader: fix process_msg_unknown remaining chunk calculation 2018-02-12 14:40:50 +01:00
Peter Jensen
b8cf98b78b src/trezor/ui/passphrase: keyboard fix multitouch on space 2018-02-12 12:58:00 +01:00
Tomas Susanka
901b0a53a1 tests/signing: threshold test fix
This was failing due to ff32a2e8a6
This fix hardcodes the maxfee_kb variable in the test to allow further modifications
2018-02-12 12:33:17 +01:00
Peter Jensen
a83d7b9067 src/trezor/ui/passphrase: added space btn icon to keyboard 2018-02-11 14:09:54 +01:00
Pavol Rusnak
34c6fb987a
embed/bootloader: better detection of broken firmware at start 2018-02-10 17:52:45 +01:00
Pavol Rusnak
77568496da
src/apps/common: fix typo in cache 2018-02-10 17:45:25 +01:00
Pavol Rusnak
c1e1e8bf02
src/apps/common: rewrite cache to use getters/setters 2018-02-09 19:00:09 +01:00
Pavol Rusnak
6fad2f4283
src/apps/homescreen: implement {Initialize,Features}.state field, implement ClearSession handling 2018-02-09 18:08:59 +01:00
Pavol Rusnak
e256281a99
rebuild protobuf to add {Initialize,Features}.state 2018-02-09 17:46:54 +01:00
Pavol Rusnak
c7dcca60c7
protob: add state field to Initialize and Features 2018-02-09 17:13:41 +01:00
Pavol Rusnak
e93ef0c296
src: disable u2f in debug builds 2018-02-09 16:45:55 +01:00
Jan Pochyla
e888b6b967 apps/wallet/sign_tx: fix sighash 2018-02-09 14:16:33 +01:00
Pavol Rusnak
800c2c64c8
tests: fix trezor.config test by changing PYOPT to 1 2018-02-09 13:42:20 +01:00
Pavol Rusnak
b0242d3a3e
tests: fix test_apps.ethereum.layout 2018-02-09 13:36:08 +01:00
Pavol Rusnak
9aa947d2e1
embed/extmod/modtrezorcrypto: remove redundant code in bip32 2018-02-09 12:33:55 +01:00