1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-06 12:51:21 +00:00
Commit Graph

7185 Commits

Author SHA1 Message Date
Pavol Rusnak
d8f1b1397c
update Makefiles to reflect new way of building stuff 2017-01-23 14:07:35 +01:00
Pavol Rusnak
892409c9b8
update bootloader makefile to follow upstream changes 2017-01-22 19:48:18 +01:00
Jochen Hoenicke
1105490cb3 Ethereum: trezorctl updates
- Allow nonce, gas_limit, gas_price to be explicitly set to 0.
- Updated usage info.
2017-01-22 19:13:21 +01:00
Jochen Hoenicke
a990743010 Ethereum: More unit tests for signing 2017-01-22 19:13:21 +01:00
Jochen Hoenicke
607893f9ac Ethereum: EIP-155 replay protection
Added chain_id parameter to sign tx (and updated protobuf).
Added a unit test with chain_id for Ropsten testnet.
trezorctl:
 - Fixed compatibility with new ethjsonrpc
 - added chain_id parameter
2017-01-22 19:13:21 +01:00
Jochen Hoenicke
4b98513ff7 Updated protobuf
Ethereum: sign_tx eip-155 change
2017-01-22 19:13:21 +01:00
Jochen Hoenicke
32fb7e96cc Ethereum EIP-155 replay protection
Added chain_id field in sign transaction.
If chain_id is set use hashing as specified in EIP-155.
2017-01-22 19:09:07 +01:00
Jochen Hoenicke
5b40f6d90b Updated trezor-common 2017-01-22 19:09:07 +01:00
Jochen Hoenicke
f36cf5c10c Handle edge cases for ethereum txs.
Treat the case where a field is omitted identical to the case
where an empty array is given.  In particular
- data_length == 0 is allowed now and identical to giving no data.
- nonce can be omitted to indicate nonce value 0.

I still do not allow to omit gas_limit and gas_price; gas_limit
cannot be zero and transactions with zero gas_price will not be
mined.  You can still set it explicitly to zero by giving the
empty array, though.
See trezor/trezor-mcu#143.
2017-01-22 19:09:07 +01:00
Jochen Hoenicke
9d2ab7318d Ethereum: chain id for EIP-155 replay protection (#23)
Added a field chain_id.  To get a backwards compatible signature
this field should not be set.  Otherwise it should be set to the
EIP-155 chain id.  Currently only chain id between 1 and 109 are
supported.

See trezor/trezor-mcu#142
2017-01-22 12:16:49 +01:00
Jan Pochyla
d13006ebbe apps.homescreen: brighten the display after swipe 2017-01-20 16:07:33 +01:00
Jan Pochyla
bd514c4732 apps.homescreen: optimize logo display 2017-01-20 15:51:06 +01:00
Jan Pochyla
fed8838545 trezor.ui.confirm: fix HoldToConfirmDialog 2017-01-20 15:51:06 +01:00
Pavol Rusnak
505df38a84
fix when oled triangle is shown 2017-01-19 16:16:57 +01:00
Pavol Rusnak
7b23144ddd
update vendor/micropython submodule 2017-01-19 15:39:10 +01:00
Jan Pochyla
ec49c2d97a trezor.wire: unexpected message should interrupt workflow silently 2017-01-18 18:00:38 +01:00
Jan Pochyla
4ab469d02d apps.wallet: add qr code to get_address
TODO: the widget system clearly needs some work
2017-01-18 17:59:11 +01:00
Pavol Rusnak
3ef56d84e2
update vendor/micropython submodule 2017-01-18 16:48:47 +01:00
Jan Pochyla
9914b0db2b main: temporary hack, keep apps.common.storage loaded 2017-01-17 17:43:50 +01:00
Jan Pochyla
984f088519 apps.common: fix request_pin 2017-01-17 17:43:08 +01:00
Karel Bílek
3b10958113 Correcting 1.3.3 changelog 2017-01-17 16:22:11 +01:00
Jan Pochyla
26f204d04d update micropython submodule 2017-01-17 14:23:05 +01:00
Pavol Rusnak
795427588a
add trezor.io to supported vendors 2017-01-17 14:13:02 +01:00
Saleem Rashid
11d37c87cd Makefile: Generate dependency files (#141) 2017-01-15 14:49:36 +01:00
Roman Zeyde
466155270b layout: split "First Last <first@last.com>" GPG user ID for readability 2017-01-14 18:34:29 +01:00
Saleem Rashid
2dcef5cf04 Makefile: Build and sign before uploading (#140) 2017-01-13 19:04:59 +01:00
Pavol Rusnak
678279f5fa
update submodules 2017-01-13 09:34:16 +01:00
Pavol Rusnak
3d364aac36
we don't use OPTIMIZED_IV anywhere anymore 2017-01-11 15:33:46 +01:00
Jochen Hoenicke
1cceec0ae2 Check that U2F key only uses hardened derivation (#139)
We generate only U2F keys with hardened derivation.  However, we
didn't check incoming keys if they used hardened derivation.
This patch fixes this.
2017-01-10 21:51:57 +01:00
Pavol Rusnak
6eaea34c8c
-> trezor.io 2017-01-10 16:31:30 +01:00
Pavol Rusnak
2e1da5f337
-> trezor.io 2017-01-10 15:25:13 +01:00
Pavol Rusnak
cc01b86ab7
update readme 2017-01-10 15:14:29 +01:00
Pavol Rusnak
f94f7cb02b
-> trezor.io 2017-01-10 15:11:32 +01:00
Pavol Rusnak
ab006262e8
mytrezor.com -> trezor.io/start 2017-01-10 15:08:08 +01:00
Pavol Rusnak
1e297c68fa
cosmetic changes to matrix recovery 2017-01-10 14:58:28 +01:00
Pavol Rusnak
b1723fef5b
change binary name of nanopb generator (to follow upstream name) 2017-01-09 15:55:57 +01:00
Jochen Hoenicke
8e84a6716c Merge master into segwit 2017-01-06 16:55:12 +01:00
Jochen Hoenicke
e9eaad2fcf
Segwit: Show multisig segwit address
changed layout for very large addresses.
2017-01-06 16:22:01 +01:00
Jan Pochyla
8bdd59642f trezor.wire: print session ID as hex 2017-01-06 14:07:18 +01:00
Jan Pochyla
d30e565cb3 trezor.main: fix for new loop 2017-01-06 14:06:03 +01:00
Pavol Rusnak
66ba8d09b4 Merge pull request #137 from jhoenicke/segwit
Segwit updates
2017-01-04 19:11:02 +01:00
Jochen Hoenicke
f9a203431e
Display SegWit address on Trezor 2017-01-04 18:56:08 +01:00
Jochen Hoenicke
e67f13ef4b
Multi-byte address prefixes for segwit 2017-01-04 18:55:42 +01:00
Pavol Rusnak
32f3c54cc4
fix whitespace 2017-01-04 18:52:55 +01:00
Jochen Hoenicke
52da2fc5e7
Segwit: Fix problems introduced by rebase 2017-01-04 18:41:26 +01:00
Pavol Rusnak
3b97a8b34c Merge pull request #83 from jhoenicke/master
Removed duplicated code for multi-byte prefixes
2017-01-04 15:29:48 +01:00
Jochen Hoenicke
1fb56e3466
Test cases for multibyte address prefixes 2017-01-04 15:16:55 +01:00
Jochen Hoenicke
9443aefa9a
Multi-byte prefix cleanup
use the functions from address.c in ecdsa.c to avoid duplicated code.
2017-01-04 15:16:55 +01:00
Pavol Rusnak
08cfe0d8c6
add license headers to unit tests 2017-01-03 19:40:05 +01:00
Pavol Rusnak
586be7e1aa Merge pull request #90 from jhoenicke/master
Segwit preparations
2017-01-03 19:36:05 +01:00