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

13876 Commits

Author SHA1 Message Date
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
slush0
58fd1bb512 Reworked handling of DEVICE_IDS 2016-06-28 09:51:57 +02:00
slush0
97ce804cb7 Pipe w/ trezor1-emu works
UDP write to trezor2-emu works, reads to be tested
2016-06-28 09:51:57 +02:00
slush0
e8f76ebd03 WIP 2016-06-28 09:51:57 +02:00
slush0
b0e39b571a Merge pull request #64 from jhoenicke/unit
Update Unit Tests, added SetU2FCounter and debug mem functions
2016-06-28 09:46:29 +02:00
Jochen Hoenicke
d5daf1d2f0
Fixed unit tests (also for Python 3)
Removed old unit tests for non-implemented functions (SimpleSignTx, Ecies).
2016-06-28 01:06:51 +02:00
Jochen Hoenicke
eac9c99e32
Bug fixes
- Ignore u2f interface instead of failing.
- Fix set_mnenomic in debug client
- Don't encode utf-8 mnenomics to byte arrays.
2016-06-28 00:56:03 +02:00
Jochen Hoenicke
e51fb2078f
new message SetU2FCounter 2016-06-28 00:55:46 +02:00
Jochen Hoenicke
c81cd11253
command line tool to read/write memory 2016-06-28 00:55:21 +02:00
Jochen Hoenicke
c388d0837c
New debug messages 2016-06-28 00:53:46 +02:00
Pavol Rusnak
34f006cdea Merge pull request #95 from jhoenicke/u2fbitbucket
Bitbucket U2F support
2016-06-27 22:47:04 +02:00
Jochen Hoenicke
ae4dff6e5f Only compute pubkey on demand.
Changed all hdnode callers to call hdnode_fill_public_key if
they need the public key.
2016-06-27 10:13:18 +02:00
Jochen Hoenicke
3390fcf89e Compute pubkey only on demand.
Remove fingerprint from hdnode structure (if you need it, call
hdnode_fingerprint on the parent hdnode).
Only compute public_key, when hdnode_fill_public_key is called.
2016-06-27 10:13:10 +02:00
slush0
def164fbd4 Fixed typo in set_mnemonic 2016-06-26 22:03:03 +02:00
Jochen Hoenicke
97466519b0 Bitbucket U2F support 2016-06-26 21:49:41 +02:00
Pavol Rusnak
c6309ff93c
no UI for ECDHSessionKey for now (just ask for PIN) 2016-06-23 19:09:24 +02:00
Pavol Rusnak
f9d82511f2
bump version 2016-06-23 18:39:02 +02:00
Pavol Rusnak
73864e2979
determine hid version 2016-06-23 18:38:34 +02:00
Pavol Rusnak
d2b8f51a07
add initial bash_completion script 2016-06-22 17:26:11 +02:00
Pavol Rusnak
b497cffb1d
whitespace 2016-06-22 14:51:46 +02:00