Commit Graph

511 Commits

Author SHA1 Message Date
Pavol Rusnak
50d1537f43 disable layout retrieval in debuglink for now 2014-02-26 14:03:11 +01:00
slush0
4b9cc6cb78 Added debug printing to debuglink communication 2014-02-25 19:31:31 +01:00
Pavol Rusnak
31454ffda6 add button/pin/passphrase protection to ping call in cmd.py 2014-02-22 17:39:54 +01:00
slush0
8e97281f29 Unit tests of recovery device, apply settings 2014-02-22 02:15:21 +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
2708ccd8ba Test of change pin failure 2014-02-21 22:22:19 +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
4ca5b9e5e2 fix get_public_node call in test_msg_getaddress 2014-02-21 21:31: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
640d290129 Implements 'with' + set_expected_responses 2014-02-21 07:28:56 +01:00
slush0
eae7d98b8a set_expected_responses enforces using 'with' statement 2014-02-21 07:28:10 +01:00
slush0
9310465946 ChangePin unittest 2014-02-21 04:46:33 +01:00
slush0
2e326bae91 Reworked&updated unittest todo 2014-02-21 04:46:12 +01:00
slush0
c743765a1b Renamed unit tests 2014-02-21 02:35:41 +01:00
slush0
ca14d1a995 Renamed unit tests for better consistency 2014-02-21 02:33:23 +01:00
slush0
1a15cbafb4 Changed unittest's TODO 2014-02-21 02:33:08 +01:00
slush0
80aabfaa0f Added coin_type to sign_message 2014-02-21 02:32:37 +01:00
slush0
f6845089d5 Added utf8 tests to sign/verify messages 2014-02-21 02:32:09 +01:00
slush0
c870b65f22 Renamed unittests for better consistency 2014-02-21 02:31:34 +01:00
slush0
443ffab619 Added utf8 handling to sign_message/verify_message 2014-02-21 02:30:10 +01:00
slush0
747e58ebf7 Uses mnemonic>=0.8 (improved UTF8 handling) 2014-02-21 01:49:20 +01:00
slush0
e2aca677c0 WipeDevice test 2014-02-21 01:48:50 +01:00
slush0
56a9a4b384 DeviceLoad using UTF8 mnemonic 2014-02-21 01:48:32 +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
8f7c8799a4 forgot Success 2014-02-17 11:17:44 +01:00
Pavol Rusnak
b63418c8b8 add read_passphrase_protection to debuglink 2014-02-17 02:16:43 +01:00
Pavol Rusnak
74f3502637 don't call load_device in tests setup 2014-02-17 01:54:54 +01:00
Pavol Rusnak
8e6e3bb7be recompile pb 2014-02-17 00:19:36 +01:00
Pavol Rusnak
86f1c716a9 use set_expected_responses in test_entropy and test_pings 2014-02-15 21:50:45 +01:00
slush0
5ed9fc8b1a Tests use new "set_expected_responses" 2014-02-15 20:31:34 +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
a0bc12375c Add tests for too long message and for testnet addresses 2014-02-13 18:51:38 +01:00
slush0
9ba427e885 Fixing sign_message/verify_message API in cmd 2014-02-13 18:51:11 +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
1f893afedd Root path is [], not [0] 2014-02-13 16:50:16 +01:00
slush0
21b3b0ab91 Tests reworked to new TrezorClient API, all tests passes. 2014-02-13 16:47:52 +01:00
slush0
5128fa8442 Changed API to refactored TrezorClient, removed unused DebugLink 2014-02-13 16:47:52 +01:00