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

8829 Commits

Author SHA1 Message Date
Pavol Rusnak
95db902d28
ethereum: update token list 2017-07-03 13:13:07 +02:00
Pavol Rusnak
4603b0c800
bootloader: subtle changes in bootloader.c and fastflash.c to make them more similar 2017-07-01 16:22:22 +02:00
mruddy
f274d8cd73 fix bootloader stack protector fault 2017-07-01 16:13:35 +02:00
Pavol Rusnak
0f42f64dfd
bootloader: do not show fingerprint on very first flash; refactor firmware_present, introduce brand_new_firmware 2017-06-30 16:52:00 +02:00
mruddy
90d214eb4b add ability for developers to easily avoid locking their flash memory sectors 2017-06-30 15:47:16 +02:00
Roman Zeyde
d15dd7c944 recovery: zero new_mnemonic memory before returning to the user 2017-06-30 14:43:16 +02:00
Pavol Rusnak
87b815d6ec
bootloader: selftest now writes and checks various bit patterns 2017-06-29 18:36:19 +02:00
Pavol Rusnak
425341ba44
bootloader: add small test to SelfTest (erase/restore metadata), small refactor 2017-06-29 18:13:30 +02:00
Pavol Rusnak
2bf807878d
bootloader: add SelfTest 2017-06-29 17:31:23 +02:00
Pavol Rusnak
c2a40f4b67
add SelfTest message 2017-06-29 17:23:15 +02:00
Pavol Rusnak
3c0a9c2a87
update submodules 2017-06-29 14:16:34 +02:00
Pavol Rusnak
8fa3ce7e14
reset: distinguish between separated call and joined call, mark backup as done only when performed completely 2017-06-29 14:14:20 +02:00
Pavol Rusnak
b65068c159
reset: add Features.needs_backup 2017-06-29 14:14:20 +02:00
Pavol Rusnak
97fa33de46
reset: show needs backup signed when storage is not backed up 2017-06-29 14:14:20 +02:00
Pavol Rusnak
9298e4d9e3
reset: make backup workflow independent of initialization 2017-06-29 14:14:20 +02:00
Pavol Rusnak
91a1b6c4bc
drop EstimateTxSize (and TxSize) 2017-06-28 18:49:44 +02:00
Pavol Rusnak
68f5246e2f
deprecate EstimateTxSize and TxSize 2017-06-28 18:44:19 +02:00
Pavol Rusnak
9a709832a9
tests: unit test for ResetDevice_skipbackup (and subsequent BackupDevice) 2017-06-28 18:04:19 +02:00
Pavol Rusnak
cbce29163b
tests: add test for RecoveryDevice.dry_run 2017-06-28 16:39:51 +02:00
Pavol Rusnak
e9dbfc757c
add usage; add newlines to some tests 2017-06-28 13:42:44 +02:00
Pavol Rusnak
01b4825d53
ethereum: add new tokens 2017-06-28 13:24:08 +02:00
Jan Pochyla
d77373eef7 trezor.msg: udp supports only one interface 2017-06-27 13:49:48 +02:00
Jan Pochyla
a2a4b285d4 trezor.msg: fix empty read 2017-06-27 13:49:35 +02:00
Pavol Rusnak
654ee5d8ec
add Features.needs_backup 2017-06-26 19:49:29 +02:00
Jan Pochyla
915cf849e9 trezor.msg: remove select, add poll
TODO: decide if we want to continue polling on interface numbers, or rather on usb/touch file objects
2017-06-26 16:03:20 +02:00
Pavol Rusnak
73708aa47e
refactor recovery.is_same_mnemonic function to storage_containsMnemonic 2017-06-26 15:44:01 +02:00
Jan Pochyla
695833c6c0 trezor.msg: send with 1 sec timeout until we make it async 2017-06-26 12:06:40 +02:00
Pavol Rusnak
9e7922d61a
added license (LGPL-3.0+) 2017-06-26 11:37:20 +02:00
Saleem Rashid
899852423d fastflash: Compatible with GCC 4.9.3 2017-06-25 18:19:07 +02:00
Saleem Rashid
d80979cd0a Travis CI: Build FASTFLASH=1 2017-06-25 18:19:07 +02:00
Saleem Rashid
ed5e9c9347 firmware: Define FASTFLASH in all cases 2017-06-25 18:19:07 +02:00
Saleem Rashid
21eb49faff firmware: Start fastflash when left button held 2017-06-25 18:19:07 +02:00
Saleem Rashid
65bb167db6 firmware: Create ELF from fastflash/bootloader.bin 2017-06-25 18:19:07 +02:00
Saleem Rashid
e74f9d8730 fastflash: Link bootloader that runs from RAM 2017-06-25 18:19:07 +02:00
Saleem Rashid
80d17c1333 bootloader: Allow building as an app 2017-06-25 18:19:07 +02:00
Saleem Rashid
0b3373e6df bootloader: Remove duplicate 'flash' target 2017-06-25 18:19:07 +02:00
Saleem Rashid
1214a3f69b vendor: Update trezor-crypto 2017-06-25 18:12:36 +02:00
Pavol Rusnak
7f0f73d1c6
tests: fix style in tools/signtest.py 2017-06-25 18:10:05 +02:00
Saleem Rashid
5331935626 ed25519-donna: Remove duplicate basepoint tables 2017-06-25 12:14:35 +02:00
Pavol Rusnak
33f274d145
style: use flake8 2017-06-23 21:52:53 +02:00
Pavol Rusnak
71996c1e43
update protobuf, update tox.ini, prepare for BackupDevice 2017-06-23 19:26:35 +02:00
Pavol Rusnak
e04ecf819b
preparation for delegated backup 2017-06-23 19:06:24 +02:00
Pavol Rusnak
886c3a0a11
modtrezorcrypto: use lowercase QSTRs so we don't have to 'import as' 2017-06-23 17:50:45 +02:00
Pavol Rusnak
c51089803d
trezorctl: add newline to failure print 2017-06-23 17:06:22 +02:00
Pavol Rusnak
8253425293
recovery: change wording 2017-06-23 16:47:53 +02:00
Roman Zeyde
db7915e946
Allow testing recovery with an initialized device
This would allow safe mnemonic validation by using a dry-run flag.
2017-06-23 16:39:49 +02:00
Jochen Hoenicke
db19dd1306 Set -mcpu=cortex-m3 linker flag.
This fixes a bug with Ubuntu 17.04.
It includes the correct architecture (armv7-m) and also includes
the flag -mfix-cortex-m3-ldrd as default.
2017-06-23 00:11:20 +02:00
Roman Zeyde
0d76936174 Allow testing recovery with an initialized device 2017-06-23 00:08:59 +02:00
Pavol Rusnak
247cbd2ff1
regenerate protobuf, disable unused messages 2017-06-22 12:47:18 +02:00
Pavol Rusnak
f50d547ce4
regenerate protobuf, added RecoveryDevice.dry_run 2017-06-22 12:38:57 +02:00