1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-14 10:38:09 +00:00
Commit Graph

13365 Commits

Author SHA1 Message Date
Pavol Rusnak
ace1d84265
recovery: don't reset storage on typos during dry-run recovery 2017-07-31 20:49:34 +02:00
Pavol Rusnak
a9a414df08
fix typo 2017-07-31 19:40:35 +02:00
Pavol Rusnak
c2c3debd01
changelog: fix typos 2017-07-31 16:31:33 +02:00
Pavol Rusnak
8a663f7ec3
tests: rename BCC to BCH, Bitcoin Cash to Bcash 2017-07-31 15:29:11 +02:00
Pavol Rusnak
b1838d6867
ethereum: add more tokens 2017-07-31 14:15:10 +02:00
Pavol Rusnak
32fa08f38b
tests: remove estimate_tx_size 2017-07-31 14:00:26 +02:00
Pavol Rusnak
b6dc73ce9c
tests: fix bytes/str problem in test_msg_ethereum_signtx 2017-07-31 13:56:25 +02:00
Saleem Rashid
b469519e26 client: fix matrix recovery, use named enums, use isdigit(), ignore broken E721 test 2017-07-31 13:35:31 +02:00
Jochen Hoenicke
33ed08ec32 Fix check for max try and add another check before 2017-07-31 13:13:49 +02:00
Pavol Rusnak
0feede5a01
build: switch from ubuntu to debian in docker build 2017-07-31 10:06:42 +02:00
Pavol Rusnak
4ee52ab95f
changelog: add more entries 2017-07-31 02:39:24 +02:00
Pavol Rusnak
45ca9bd583
protect: change wording 2017-07-31 02:35:53 +02:00
Pavol Rusnak
82a06ce342
firmware: mark more strings with gettext 2017-07-31 02:31:30 +02:00
Pavol Rusnak
c778d7b9c3
storage: wipe storage after 15 wrong pins 2017-07-31 02:26:28 +02:00
Pavol Rusnak
fa2f5fb33f
update coins 2017-07-30 23:38:01 +02:00
Pavol Rusnak
e7832b2beb
Bitcoin Cash -> Bcash 2017-07-30 23:37:02 +02:00
Pavol Rusnak
3ec5d354ba
coins: change coin_name for TBCH, add coin.firmware flag 2017-07-30 23:14:34 +02:00
Jochen Hoenicke
3440ead4c9
Fix multisig for BCC 2017-07-30 22:58:26 +02:00
Jochen Hoenicke
5f6948e66b
Remove progress update 2017-07-30 22:57:44 +02:00
Jochen Hoenicke
3c75d28c78 Check input bip32 path again on second pass. 2017-07-30 22:51:18 +02:00
Jochen Hoenicke
6b615ce405 No quadratic hashing for hardfork
Don't hash the whole transaction if forkid is set.  Instead use the
same codepath as for segwit.

Rename segwit_to_spend to authorized_amount and use it for forkid
amount and segwit amount validity checks.

Removed some duplicated code.
2017-07-30 22:51:18 +02:00
Saleem Rashid
979a6ef266 signing: Skip TX_META with SIGHASH_FORKID 2017-07-30 22:51:18 +02:00
Saleem Rashid
a34554b091 signing: Add SIGHASH_FORKID support 2017-07-30 22:51:18 +02:00
Saleem Rashid
841af54061 vendor: Update trezor-common 2017-07-30 22:51:18 +02:00
Pavol Rusnak
469073b350
vendor: update trezor-crypto 2017-07-30 21:57:32 +02:00
Pavol Rusnak
91c4cbdbd0
setup: move stack protector variable to setup.h 2017-07-30 21:56:30 +02:00
Pavol Rusnak
c8ddd90409
setup: enable Clock Security System interrupt 2017-07-30 21:40:07 +02:00
Pavol Rusnak
0760ff0468
setup: move stack smashing protection code to setup.c 2017-07-30 21:40:07 +02:00
Saleem Rashid
e33e1ec0b1 fsm: Do not wipe msg_resp in DebugLinkGetState 2017-07-30 18:00:01 +02:00
Saleem Rashid
dc1ed85c96 coins: Change BCC to BCH 2017-07-30 17:49:26 +02:00
Pavol Rusnak
3a35a5a5be
tests: rework device tests to checkout just device_tests subdirectory from python-trezor repo 2017-07-28 19:45:58 +02:00
Pavol Rusnak
596d41e68c
build: fix one missing change of micropython->embed 2017-07-28 19:24:26 +02:00
Pavol Rusnak
3f29925c1c
travis: install python-trezor from master 2017-07-28 19:12:36 +02:00
Pavol Rusnak
fe5b5c1940
tests: update to pytest, regenerate protobuf 2017-07-28 18:58:31 +02:00
Pavol Rusnak
81d5170c10
tests: start rewriting device tests to pytest 2017-07-28 18:07:20 +02:00
Jan Pochyla
bab1303b1b tools/build_mocks: adapt to micropython -> embed rename 2017-07-28 16:36:14 +02:00
Jan Pochyla
803e39c2a8 make: adapt to micropython -> embed rename 2017-07-28 16:33:40 +02:00
Jan Pochyla
55bd4a0806 rename /micropython to /embed 2017-07-28 16:23:45 +02:00
Pavol Rusnak
8a1d211ee9
tests: fix flake8 errors 2017-07-28 16:08:33 +02:00
Jan Pochyla
6df01fbfa3 TransportV2: adapt to recent changes
- remove checksum
- add sequence numbers
2017-07-28 15:58:20 +02:00
Pavol Rusnak
5309baf48e
tests: reduce unhexlify reuse 2017-07-28 15:24:18 +02:00
Pavol Rusnak
11bfacc9b3
tests: bytes are not necessary in unhexlify 2017-07-28 15:17:19 +02:00
Pavol Rusnak
f3010097c3
reformat coins.json 2017-07-28 15:13:26 +02:00
Saleem Rashid
1d0399d0b0 coins: Add Bitcoin Cash 2017-07-28 15:06:03 +02:00
Saleem Rashid
dd8ec3231f coins: Add forkid 2017-07-28 15:06:03 +02:00
Jochen Hoenicke
9917d9ebfc
New unit tests for signing (bitcoin cash) 2017-07-27 21:51:00 +02:00
Saleem Rashid
6580044196 test_check: Clean up test_bignum tests
This also tests zero
2017-07-27 21:20:43 +02:00
Saleem Rashid
85cb0b4f2c bignum: Fix bn_digitcount
bn_digitcount used to use bn_bitcount. This would give the maximum
digits, which would often be higher than the actual number. This would
result in leading zeroes in bn_format.
2017-07-27 21:20:43 +02:00
Saleem Rashid
43ea1392f2 bignum: rename bn_maxdigitcount to bn_digitcount
This reverts commit 5dbdf18b6c.
2017-07-27 21:20:43 +02:00
Pavol Rusnak
5e1a3ad6e0
tests: add more tests for bn_format{,_uint64} 2017-07-27 19:57:04 +02:00