Commit Graph

815 Commits

Author SHA1 Message Date
Pavol Rusnak bac91afca7
use usage_page to detect interfaces 2016-10-03 10:39:58 +02:00
Pavol Rusnak 9d3fb81f97
bump version 2016-09-28 14:38:08 +02:00
Dominik Kozaczko a5f9d86076 Fix trezorctl (#75) 2016-09-28 14:34:50 +02:00
Dominik Kozaczko 300bf5801d
fix exceptions - writeout errors instead of throwing tracebacks 2016-09-28 11:37:15 +02:00
Pavol Rusnak f379752794
bump version 2016-09-27 22:54:31 +02:00
Dominik Kozaczko 933bc12985 fix imports (#72) 2016-09-27 22:49:51 +02:00
Pavol Rusnak ef21a91ceb
fix install 2016-09-27 22:39:31 +02:00
Pavol Rusnak 8189ec0e76
update version 2016-09-27 22:24:30 +02:00
Pavol Rusnak 25672288cf
use hid_version=2 for HidTransportV2 2016-09-26 20:52:33 +02:00
Pavol Rusnak ec4e85b008
fix v2 protocol 2016-09-26 17:32:54 +02:00
Pavol Rusnak ed9f7d838f
update protobuf 2016-09-26 12:46:38 +02:00
Pavol Rusnak 05c243d29b
add possibility to skip check in firmware_update 2016-09-26 12:28:06 +02:00
Jan Pochyla 80ffa27052 enable crc32, update protocol, add session closing 2016-09-21 16:51:29 +02:00
slush0 531350d6ba Merge pull request #71 from sp4ke/sp4ke-patch-1
Avoid repeating keyword argument
2016-09-19 01:41:11 +02:00
Chakib Benziane fc2cc7a284 Avoid repeating keyword argument
Repeating the keyword argument breaks package build with the following error: "SyntaxError: keyword argument" repeated
2016-09-18 23:58:10 +02:00
Pavol Rusnak ea98665d83
update readme 2016-09-14 21:36:16 +02:00
Jan Pochyla 4d3e4574ef add session request to TransportV2, add @session helper 2016-09-13 12:25:06 +02:00
Pavol Rusnak 5fc6dc3155 Merge pull request #69 from jhoenicke/master
Unit Test: PIN protection timeout
2016-08-30 13:03:57 +02:00
Jochen Hoenicke ad5b693ffa Unit Test: PIN protection timeout
Don't expect any minimum timeout on the first PIN entry.
2016-08-30 12:55:18 +02:00
Jochen Hoenicke 195b7e47e1
More unit tests for ethereum signing 2016-08-23 22:00:50 +02:00
Pavol Rusnak 39f8d57b7e Merge pull request #68 from jhoenicke/master
Ethereum: Allow leading 0x in data. Handle new contracts.
2016-08-23 11:08:25 +02:00
Jochen Hoenicke d9df63ad89 Allow leading 0x in data. Handle new contracts.
Specify 0x or "" as destination to create a new contract.
Leading 0x in data is just ignored (data must always be given in hex).
2016-08-23 01:19:22 +02:00
Pavol Rusnak 29154811bd Merge pull request #67 from jhoenicke/master
Fix ethereum_sign_tx
2016-08-22 11:06:39 +02:00
Jochen Hoenicke c85600b9bd
Fix ethereum_sign_tx
- Workaround bug in rlp.utils.int_to_big_endian
- Command line tool now expects data to be a hexlified string
2016-08-19 23:15:38 +02:00
Pavol Rusnak 3be88e69ff
add unit tests for ethereum messages 2016-08-16 17:22:30 +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
Jan Pochyla e9427b04f3 fixes for latest V2 format, add checksum 2016-08-05 13:14:30 +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
Jan Pochyla a129b072d3 ignore socket.recv timeout in udp transport 2016-07-14 15:57:05 +02:00
Jan Pochyla 0f48e15c48 fix v2 transport 2016-07-13 17:41:08 +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
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