1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 03:48:09 +00:00
Commit Graph

177 Commits

Author SHA1 Message Date
slush0
994ff45a30 Updated TransactionType 2014-04-17 08:32:50 +02:00
slush0
400f3e669f Reworked RequestTx 2014-04-10 15:23:35 +02:00
slush0
ff77261a61 Fixed bin_output 2014-04-10 15:23:35 +02:00
slush0
345f6d6814 Compiled pb 2014-04-10 15:23:35 +02:00
Pavol Rusnak
5dc0be857c update pb 2014-04-07 18:37:03 +02:00
slush0
2c5e663aa8 Fixed spacing 2014-04-02 20:07:08 +02:00
Pavol Rusnak
60df691bb2 make txapi class more universal 2014-04-02 19:31:47 +02:00
Pavol Rusnak
c3f74420a4 add OP_EQUAL to txapi parser 2014-04-02 19:18:14 +02:00
Pavol Rusnak
0ca0594077 parse sequence in txapi as well 2014-03-30 00:44:42 +01:00
Pavol Rusnak
49eec8b78e txapi cleanup 2014-03-29 21:31:17 +01:00
Pavol Rusnak
7a1e2827c8 check for known scriptPubKey asm 2014-03-28 21:48:48 +01:00
Pavol Rusnak
38ed16934f use bitcore for tx api 2014-03-28 21:34:15 +01:00
Pavol Rusnak
860aa753c9 put TXAPIs into one location 2014-03-28 19:51:56 +01:00
Pavol Rusnak
412528d522 fix PinMatrixRequest type enum 2014-03-28 16:26:48 +01:00
Pavol Rusnak
dc0d7fd1d6 initialize version/lock_time in TransactionType 2014-03-27 19:10:24 +01:00
Pavol Rusnak
51b9d4e177 recompile pb, adjust TransactionType constructors 2014-03-25 19:36:46 +01:00
Pavol Rusnak
8f870c54ed recompile pb 2014-03-23 20:01:19 +01:00
Pavol Rusnak
0a2e1b66c9 update pb 2014-03-14 21:10:02 +01:00
Pavol Rusnak
560e2a7038 rebuild pb 2014-03-13 15:01:50 +01:00
Pavol Rusnak
27070e84a9 support binary messages in sign/verify message 2014-03-11 18:06:38 +01:00
slush0
099cdd2578 Fixed load_device_by_xprv 2014-03-07 21:57:50 +01:00
Pavol Rusnak
4fc8868589 rename word variables in DebugLinkState message 2014-03-07 17:38:38 +01:00
Pavol Rusnak
ffa289967c adapt to new pb, small fixes 2014-03-01 12:08:43 +01:00
slush0
4b9cc6cb78 Added debug printing to debuglink communication 2014-02-25 19:31:31 +01:00
slush0
89d17297ce Compiled pb 2014-02-22 00:36:06 +01:00
slush0
ff31a7bebc Compiled pb 2014-02-21 22:42:14 +01:00
slush0
39348895f9 Fixed unittest for get_subnode CKD 2014-02-21 22:19:55 +01:00
slush0
e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests 2014-02-21 22:16:13 +01:00
slush0
60e23c38d3 Compiled pb 2014-02-21 22:16:13 +01:00
slush0
4b69996244 Implemented DebugLink->word request 2014-02-21 22:16:13 +01:00
Pavol Rusnak
f2cb352ac3 don't pprint FirmwareUpload message 2014-02-21 19:13:14 +01:00
Pavol Rusnak
729fac2077 add coin param to get_public_node call; new test for getpublickey message 2014-02-21 18:57:21 +01:00
slush0
eae7d98b8a set_expected_responses enforces using 'with' statement 2014-02-21 07:28:10 +01:00
slush0
443ffab619 Added utf8 handling to sign_message/verify_message 2014-02-21 02:30:10 +01:00
slush0
58dee1a986 Improved utf8 handling 2014-02-21 01:48:11 +01:00
slush0
fabb952327 Compiled pb 2014-02-21 01:46:24 +01:00
slush0
dfeb6de331 Test for Reset Device 2014-02-20 19:15:43 +01:00
slush0
8e4611f56c Compiled pb 2014-02-20 19:14:31 +01:00
slush0
2a3e5ace6b Added TrezorClientDebug which prints wire messages to stdout 2014-02-20 16:09:58 +01:00
slush0
6e90d5763e Added debug printing 2014-02-20 16:01:17 +01:00
slush0
b6a280c380 Fixed passphrase request 2014-02-20 15:58:28 +01:00
Pavol Rusnak
b63418c8b8 add read_passphrase_protection to debuglink 2014-02-17 02:16:43 +01:00
Pavol Rusnak
8e6e3bb7be recompile pb 2014-02-17 00:19:36 +01:00
slush0
86a2a9f845 TrezorDebugClient: Removed expected_buttonrequests, added more generic expected_responses 2014-02-15 20:30:39 +01:00
slush0
f48cf157c7 Fixes HID detection on Mac 2014-02-13 19:04:51 +01:00
slush0
a117057dea Slightly refactored mixin structure, added debugging output 2014-02-13 17:20:40 +01:00
slush0
9b8462f71e typo 2014-02-13 16:54:58 +01:00
slush0
558f61e635 Heavily refactored TrezorClient 2014-02-13 16:47:52 +01:00
Pavol Rusnak
dc54376b15 use filecache module if possible 2014-02-09 04:47:19 +01:00
slush0
22dd34baa1 Compiled pb 2014-02-09 00:12:52 +01:00
slush0
262d493ce2 CallException has always code and message 2014-02-09 00:12:22 +01:00
slush0
e919f1bd30 Fixed expect_buttonrequests
Splitted simplesigntx
2014-02-08 23:15:38 +01:00
Pavol Rusnak
6ee8d7d949 and test_pings for combinations of input params 2014-02-07 11:31:12 +01:00
Pavol Rusnak
17e28c0e10 add asserts to debuglink tests 2014-02-07 01:47:55 +01:00
Pavol Rusnak
49cecb563d add test_debuglink test 2014-02-06 23:34:13 +01:00
slush0
aeb0db92de Compiled pb 2014-02-06 13:49:04 +01:00
slush0
7edf015914 Removed debug printing 2014-02-06 10:44:10 +01:00
slush0
39f4ade40b Implemented ButtonRequestType 2014-02-06 10:44:10 +01:00
slush0
b81c5be4c3 Compiled pb 2014-02-06 10:44:09 +01:00
Pavol Rusnak
1716093dbb compile pb once again 2014-02-05 22:15:05 +01:00
slush0
2a59a8e055 Added Ping.button_protection 2014-02-04 01:02:16 +01:00
slush0
229cfa3cd4 Compiled pb 2014-02-04 01:02:07 +01:00
slush0
60e6064d4e Configurable ping message 2014-02-04 00:31:44 +01:00
slush0
fa8c5e884f Compiled pb 2014-02-04 00:30:58 +01:00
slush0
a56700a03b Reworked HID path handling (to fix Windows issues) 2014-02-03 21:49:07 +01:00
Pavol Rusnak
d629a76689 print message size in _pprint 2014-02-03 17:37:39 +01:00
slush0
c9a348d4a9 Unit tests for signing messages 2014-02-03 16:17:13 +01:00
slush0
1fcb7e7fff Compiled pb 2014-02-03 16:17:02 +01:00
slush0
5a10692e86 Implemented RecoveryDevice 2014-02-02 18:27:44 +01:00
slush0
cbd1e36bb8 Compiled pb 2014-02-02 18:27:36 +01:00
slush0
845f874aea Added Features.initialized
Implemented wipe_device
2014-02-01 13:39:21 +01:00
slush0
e2c8ad0f90 Compiled pb 2014-02-01 13:39:06 +01:00
slush0
eb22fad568 protobuf text_format now prints in both binary and hex form 2014-02-01 11:57:59 +01:00
slush0
2782655320 Monkeypatching of google.protobuf.text_format 2014-02-01 11:29:44 +01:00
Pavol Rusnak
366a7aa07d monkeypatching: text formatting of protobuf messages 2014-01-31 21:21:53 +01:00
slush0
fe0e409e77 Implementation of ChangePin 2014-01-31 19:48:19 +01:00
Pavol Rusnak
24861a1b58 add check for expected type of message responses 2014-01-27 20:19:12 +01:00
slush0
1089f58eb5 Code cleanup 2014-01-27 16:57:32 +01:00
slush0
93d7fe5341 Estimate tx size 2014-01-16 23:08:20 +01:00
slush0
a1000528f3 Compiled pb 2014-01-16 23:04:48 +01:00
slush0
91b2b637b4 BIP32 public CKD 2014-01-14 14:29:18 +01:00
slush0
999194fa59 Compiled pb 2014-01-14 14:29:13 +01:00
slush0
20aa0faeb0 Compiled pb 2014-01-14 11:30:58 +01:00
slush0
b9925432cd Basic blockchain.info API
SimpleSignTx basic unit test
2014-01-13 04:44:57 +01:00
slush0
6aa8fbd1da Compiled pb 2014-01-13 04:44:35 +01:00
slush0
ca6ab18ae5 Fixes DebugLinkGetState 2014-01-12 16:17:22 +01:00
slush0
981cf2ce7a Fixed ApplySettings 2014-01-10 00:11:03 +01:00
slush0
e0ed224656 cmd allows textual bip32 paths with prime derivation
Implemented PassphraseRequest
2014-01-09 17:34:29 +01:00
slush0
4c55093f6a pb2json allow extra fields to merge with 2014-01-09 17:33:58 +01:00
slush0
323838d41e Compiled pb 2014-01-09 17:33:43 +01:00
slush0
3b19508a9d xprv checksum 2014-01-08 15:59:18 +01:00
slush0
dc671173d0 Implemented ResetDevice 2014-01-06 01:54:53 +01:00
slush0
f0e7c61cdd Compiled pb 2014-01-06 01:54:31 +01:00
slush0
e542c2dc29 Fixed load_device, including command line 2013-12-30 23:35:20 +01:00
slush0
56eb483f70 Added base58 decoder 2013-12-30 23:34:56 +01:00
slush0
b4ff6139ae Refactored code to follow trezor-common structures 2013-12-16 18:14:58 +01:00
Pavol Rusnak
d3df313442 cleanup protobuf mess 2013-12-16 17:40:25 +01:00
slush0
b7a2800b97 Compiled messages 2013-12-16 16:04:03 +01:00
slush0
a544af7c88 ckd public derivation 2013-12-16 16:03:38 +01:00
slush0
3ec7a7685a Signing messages, splitted protobuf 2013-11-26 17:29:50 +01:00