Jochen Hoenicke
f4ed55377d
Moved get_ethereum_address from ecdsa to bip32
...
The new name of the function is `hdnode_get_ethereum_address`
and it gets a hdnode as input as opposed to a public key. This
also avoids first computing the compressed public key and then
uncompressing it.
Test cases were adapted to work with new function. The test-vectors
are the same as for bip32 and independently checked with an adhoc
python implementation.
2016-08-18 16:21:33 +02:00
Pavol Rusnak
3be88e69ff
add unit tests for ethereum messages
2016-08-16 17:22:30 +02:00
Pavol Rusnak
245e2cc23d
update bip39bruteforce tool
2016-08-15 15:21:26 +02:00
Pavol Rusnak
78c6328b36
fix ethereum_sign_tx
2016-08-10 18:30:04 +02:00
Pavol Rusnak
6a1564ba87
fix firmware_update fetching firmware
2016-08-10 16:51:06 +02:00
slush0
a8ed2d41e8
Merge pull request #16 from trezor/chrome-extension-patch
...
Adding chrome extension to white-listed domains
2016-08-10 16:44:21 +02:00
Karel Bílek
6d0f3083f3
Adding chrome extension to white-listed domains
2016-08-10 15:59:28 +02:00
Jan Pochyla
e9427b04f3
fixes for latest V2 format, add checksum
2016-08-05 13:14:30 +02:00
Pavol Rusnak
c29457337b
Merge pull request #100 from schinzelh/patch-1
...
add python-ecdsa dependency
2016-07-31 20:11:20 +02:00
Holger Schinzel
1dfca212f1
add python-ecdsa dependency
2016-07-23 10:06:19 +02:00
Pavol Rusnak
8bb7f550ad
Merge pull request #65 from jhoenicke/master
...
Fix for older python version
2016-07-19 22:24:40 +02:00
Jochen Hoenicke
90122cf29a
Fix for older python version
2016-07-19 21:37:54 +02:00
Pavol Rusnak
4d6d9fe8ba
Merge pull request #62 from jhoenicke/pbkdf2_fast
...
Faster PBKDF2
2016-07-19 16:43:49 +02:00
Pavol Rusnak
e25fcc8d91
Merge pull request #99 from jhoenicke/master
...
Ask for confirmation on ECDH Session (gpg decrypt)
2016-07-19 16:38:33 +02:00
Jochen Hoenicke
7d8cb9018e
Ask for confirmation on ECDH Session (gpg decrypt)
...
Also fix abort to send a reply (a cancel failure)
2016-07-14 18:12:55 +02:00
Jan Pochyla
a129b072d3
ignore socket.recv timeout in udp transport
2016-07-14 15:57:05 +02:00
Jochen Hoenicke
d8e17d5d4d
Test cases for sha256 and sha512
2016-07-13 22:17:58 +02:00
Jochen Hoenicke
9101c050aa
Smoother progress bar for wakeup
...
Call interrupt twice as often; makes progress bar smoother.
2016-07-13 22:17:49 +02:00
Jochen Hoenicke
32bda8d1d9
Faster PBKDF2 by reusing intermediate results.
...
The old implementation needed 6 sha transformations per iterations:
- 2 for computing sha512 of seed,
- 2 for computing digests of ipads/opads,
- 2 for computing digests of intermediate hashes.
The first 4 transformations are the same in every iteration so we cache
them. A new function hmac_sha512_prepare computes these digests.
We made sha512_Transform visible in pbkdf2 and prevent unneccessary
big/little endian conversions back and forth.
2016-07-13 22:17:23 +02:00
Jan Pochyla
0f48e15c48
fix v2 transport
2016-07-13 17:41:08 +02:00
Pavol Rusnak
b29db007f9
Merge pull request #15 from jhoenicke/segwit
...
Prepare protocol for segwit.
2016-07-11 16:07:32 +02:00
Jochen Hoenicke
1a66454066
GetAddress with scripttype
...
Added script_type field to GetAddress, which can later be
used to display segwit addresses on the Trezor.
2016-07-10 15:21:00 +02:00
Jochen Hoenicke
def589743e
Signing protocol extensions for segwit
...
Extended InputScriptType and OutputScriptType for witness.
We use the same constant for multisig and normal segwit scripts;
they can be differentiated by the fact that multisig is set.
Added amount to TxInputType (with segwit we can trust it as it
is added to the signed part).
2016-07-10 15:19:29 +02:00
Pavol Rusnak
b95f785701
update readme to reflect new mytrezor location
2016-07-04 19:04:13 +02:00
Pavol Rusnak
4912ac550c
Revert "add __dummy field to HDNode where fingerprint used to be (in order not to binary compatibility)"
...
This reverts commit 9a8df5a4bb
.
2016-07-04 18:49:25 +02:00
Pavol Rusnak
c80f0fbc52
remove cpython wrapper - it's broken and nobody uses it
2016-07-04 18:27:28 +02:00
Pavol Rusnak
437c5739f1
Merge branch 'jhoenicke-master'
2016-07-04 17:45:01 +02:00
Pavol Rusnak
f489550a1b
Merge branch 'master' of https://github.com/jhoenicke/trezor-mcu into jhoenicke-master
2016-07-04 17:42:39 +02:00
Pavol Rusnak
9a8df5a4bb
add __dummy field to HDNode where fingerprint used to be (in order not to binary compatibility)
2016-07-04 17:37:28 +02:00
Pavol Rusnak
dc167592d5
increase timeout in test_codepoints
2016-07-04 17:32:02 +02:00
Pavol Rusnak
b5f89bb478
fpr -> fingerprint
2016-07-04 17:29:48 +02:00
Pavol Rusnak
ab81351de1
Merge pull request #61 from jhoenicke/master
...
Compute pubkey only on demand.
2016-07-04 17:28:18 +02:00
Pavol Rusnak
79e4d4d8c2
fix uppercase letters in GitHub/GitLab
2016-07-04 16:58:57 +02:00
Pavol Rusnak
40ca2c9210
add gitlab to u2f_knownapps
2016-07-04 15:48:36 +02:00
Pavol Rusnak
633024a993
send failure when reset workflow is aborted (this sends features when it was aborted by initialize message)
2016-07-04 15:02:24 +02:00
Pavol Rusnak
3ce756b692
add set -e to shell scripts
2016-07-03 13:54:32 +02:00
Pavol Rusnak
7e83062352
update dockerfile to fedora:24
2016-07-03 13:41:17 +02:00
Pavol Rusnak
e00453661d
remove trezorctl-emu.sh script, trezorctl now uses default pipe path if not provided
2016-07-02 20:50:04 +02:00
Pavol Rusnak
16b6289c50
unclutter root dir by moving scripts into tools subdirectory
2016-07-02 20:47:18 +02:00
Pavol Rusnak
ef9eaf4553
rename ethereum_send_tx to ethereum_sign_tx, add --publish option
2016-07-02 20:26:58 +02:00
slush0
39e827a90a
Reworked get_transport for hid/bridge.
2016-06-30 16:47:17 +02:00
Pavol Rusnak
3b4f226d48
cleanup transports
2016-06-30 16:23:07 +02:00
Pavol Rusnak
c972d396ae
fix test_protection_levels
2016-06-30 15:19:44 +02:00
Pavol Rusnak
fdbae0b0e0
fix hid_control_request for debug link
2016-06-30 14:04:11 +02:00
Pavol Rusnak
4c2b12b0c5
update whitespace
2016-06-30 13:55:30 +02:00
slush0
6b8fc64e0a
Whitelisted trezor.io, Added PID/VID for Trezor2
2016-06-29 20:54:55 +02:00
Pavol Rusnak
d61a151900
add bn_divmod1000 including unit test
2016-06-28 20:05:01 +02:00
slush0
6aaa5928e2
Fixed _write_chunk for hid_version==2
2016-06-28 09:51:57 +02:00
slush0
9b409ae6a4
Refactored Bridge transport, WIP
2016-06-28 09:51:57 +02:00
slush0
514a7643f5
Bridge uses wallet.trezor.io for config file.
2016-06-28 09:51:57 +02:00