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

7322 Commits

Author SHA1 Message Date
Pavol Rusnak
9744e89378
protob: fix small issues with protob, run graph.py in travis 2018-10-18 14:55:50 +02:00
Tomas Susanka
50b9ecaf46 xmr: few comments 2018-10-18 14:14:19 +02:00
Tomas Susanka
e52cbed7be vendor: another update trezor-common
monero protobuf changes
2018-10-18 13:54:30 +02:00
Tomas Susanka
588f8e03f5
Merge pull request #216 from ph4r05/xmr-thining
xmr: protocol message thinning
2018-10-18 13:50:27 +02:00
Dusan Klinec
d04e118471
xmr: protocol message thinning
As discussed in https://github.com/trezor/trezor-core/issues/368
2018-10-18 13:45:58 +02:00
Pavol Rusnak
a60b58e06b
vendor: update trezor-common 2018-10-18 11:39:12 +02:00
Pavol Rusnak
5e259ab2c3
tests: fix test for Zcash Sapling test 2018-10-17 16:59:11 +02:00
Pavol Rusnak
ab9ea4bb54
firmware: fix Zcash ZIP243 signing 2018-10-17 16:57:25 +02:00
Pavol Rusnak
443539aedd
src/apps/wallet/sign_tx: fix Zcash ZIP243 signing 2018-10-17 16:41:19 +02:00
Pavol Rusnak
8177ad6128
tests: add one more zcash zip243 test 2018-10-17 15:07:33 +02:00
Pavol Rusnak
dddc628974
udev: add more info about udev rules path 2018-10-17 14:28:20 +02:00
David
2a3adb584d Update bitcore.json (#214) 2018-10-17 11:37:09 +02:00
EOS Classic
e3b4231926 Change EOSC Chainid (#215) 2018-10-17 11:35:36 +02:00
matejcik
00a3f24731 device_tests: raise timeout in TestMsgResetDeviceT2
because swipe_down action is slow and it might not finish
in time for reading reset_words, so you read the same reset_words twice
2018-10-16 17:17:08 +02:00
Pavol Rusnak
71e52e3520
firmware: use preimage hasher for Zcash Sapling 2018-10-16 11:36:28 +02:00
Pavol Rusnak
a938a1c901
nix: add shell.nix 2018-10-16 11:29:58 +02:00
Pavol Rusnak
60b5b7032c
hasher: add HASHER_SAPLING_PREIMAGE 2018-10-16 11:29:45 +02:00
Pavol Rusnak
685f24b454
tests: add test for Zcash Sapling 2018-10-16 10:58:12 +02:00
Pavol Rusnak
c8a053ac64
src/apps/wallet/sign_tx: fix style in last commit 2018-10-15 21:03:06 +02:00
Pavol Rusnak
74d50a2b4e
src/apps/wallet/sign_tx: enable ZIP243 hashing 2018-10-15 20:45:17 +02:00
Pavol Rusnak
e2d405aa0a
src/apps/wallet/sign_tx: update ZIP243 Sapling code 2018-10-15 19:08:43 +02:00
Pavol Rusnak
e16a8fc8c9
src/apps/wallet/sign_tx: refactor Zcash, add WIP ZIP243; use ensure instead of assert where possible 2018-10-15 18:33:39 +02:00
Pavol Rusnak
4f9284d572
firmware: drop version_group_id from coin definition, use externally provided one 2018-10-15 18:07:16 +02:00
Pavol Rusnak
85c7b39e3f
nix: add python.protobuf 2018-10-15 18:06:56 +02:00
Pavol Rusnak
76080a2343
vendor: update trezor-common 2018-10-15 17:59:31 +02:00
Pavol Rusnak
ea0262266d
fix typo 2018-10-15 17:59:13 +02:00
Pavol Rusnak
1ee03bc2eb
vendor: update trezor-common 2018-10-15 17:55:39 +02:00
Pavol Rusnak
681772e8bb
remove version_group_id from coin definitions 2018-10-15 17:55:09 +02:00
Pavol Rusnak
837781eb55
vendor: update trezor-common, use Tx.version_group_id where possible 2018-10-15 17:52:11 +02:00
Pavol Rusnak
95ffa894c8
protob: add version_group_id to SignTx and TxAck 2018-10-15 17:29:43 +02:00
Pavol Rusnak
2742890439
protob: add Decred comments 2018-10-15 17:25:17 +02:00
Milan Rossa
b2327c37b7 firmware: log exceptions in debug mode (no silent unhandled exceptions) 2018-10-15 13:37:37 +02:00
Pavol Rusnak
f07dfe9344
src/trezor/crypto/base58: refactor hash function names 2018-10-14 16:11:00 +02:00
Leandro Reinaux
33e9dac2fe
src/apps/common: add smartcash curve 2018-10-14 16:11:00 +02:00
Pavol Rusnak
ef464e1596
nix: add autoflake 2018-10-12 16:50:09 +02:00
matejcik
3f92683bc6 firmware: update forgotten comment 2018-10-12 16:05:50 +02:00
matejcik
e1efd493fd trezorctl: updated firmware update flow
We can now locally verify firmware signatures and hashes. We also
recognize min_firmware_version, so this resolves #308

This also helps with #273, as trezorlib is now mostly usable for signing
firmware images.
2018-10-12 15:58:55 +02:00
matejcik
3e7b26b454 exceptions: smarter, nicer exceptions from Failures 2018-10-12 15:49:17 +02:00
Pavol Rusnak
610233280d
build: unify Dockerfiles 2018-10-12 14:13:39 +02:00
Pavol Rusnak
555a650eb8
build: remove unnecessary Dockerfile.emulator 2018-10-12 14:03:23 +02:00
Pavol Rusnak
04cdb68ed2
build: unify build-docker.sh and build-docker.gcc_source.sh 2018-10-12 13:57:27 +02:00
matejcik
eb2b58e1f4 cosi: tests for new verify_m_of_n method 2018-10-12 12:58:49 +02:00
matejcik
ba365b5486 cosi: replace slow djb implementation of ed25519 with an optimized one
from https://github.com/pyca/ed25519

This makes the calculations several orders of magnitude faster, which
allows us to run the CoSi test in Travis. It also doesn't stop firmware
update for several seconds while we validate the CoSi signatures.

It's still essentially the same insecure implementation, fallible to all
the same timing attacks, and it shouldn't be used for anything except
validating public signatures of public data. But now it also takes about
as much time as it should on modern hardware.
2018-10-12 12:58:44 +02:00
Pavol Rusnak
3d5fa7a2f6
tests: refactor test_msg_resetdevice_skipbackup 2018-10-11 17:26:20 +02:00
Milan Rossa
fc9bc85ea3
unix: user profiles support for emulator 2018-10-11 16:51:04 +02:00
Milan Rossa
32fe5d20af
unix: emulator debug build options 2018-10-11 16:33:45 +02:00
Pavol Rusnak
84b53e5813
travis: remove TREZOR_MODEL=1 target for now 2018-10-11 16:14:00 +02:00
Pavol Rusnak
16d9d58ee1
tests: add test in resetdevice for combination of display_random and skip_backup 2018-10-11 15:29:30 +02:00
Pavol Rusnak
13fa7d22b9
src/apps/management/reset_device: don't show internal entropy when skip_backup is set 2018-10-11 15:27:42 +02:00
Pavol Rusnak
9730471a73
reset: wording 2018-10-11 15:27:03 +02:00