Commit Graph

442 Commits

Author SHA1 Message Date
Pavol Rusnak
da329ce24a add cmdtr-emu.sh for easier work with emulator 2014-06-13 16:42:23 +02:00
Pavol Rusnak
cfc8fdc214 adapt new API of EncryptMessage / DecryptMessage 2014-06-13 16:42:23 +02:00
slush0
fc64a40769 Refactored password.dat format, backward incompatible change. 2014-06-12 21:45:33 +02:00
slush0
f48646ac83 Refactored decrypting of password, now uses the same path for both create and mount 2014-06-12 19:19:56 +02:00
slush0
430362bd31 Refactored choosing of devices 2014-06-12 19:16:30 +02:00
slush0
461380e9d2 typo 2014-06-12 19:13:46 +02:00
slush0
d102520388 Storing bip32 path to password file, using Trezor entropy for generating EncFS password 2014-06-12 17:40:22 +02:00
slush0
9b9f0e9415 Removed all outputs to stdout, uses stderr instead 2014-06-12 17:40:21 +02:00
Pavol Rusnak
8ea46f34a2 add EncryptMessage and DecryptMessage 2014-06-12 17:07:14 +02:00
slush0
1aee7956e9 Demonstration usage of Trezor as a EncFS unlocking key 2014-06-12 16:40:15 +02:00
Pavol Rusnak
aa4fa425a3 encrypt->encrypt_keyvalue, decrypt->decrypt_keyvalue 2014-06-12 16:09:10 +02:00
slush0
f164e59d86 Redirects text UI to error log instead of stdout (useful for scripting) 2014-06-12 13:26:24 +02:00
Pavol Rusnak
c38f4346f6 add run-separate.sh script 2014-06-11 19:56:19 +02:00
Pavol Rusnak
f17f7d0569 don't use simplesigntx in tests where signtx can be used 2014-06-09 15:33:54 +02:00
Pavol Rusnak
1038a0a3e6 added test for cipherkeyvalue 2014-06-07 19:48:52 +02:00
slush0
6f2a60f932 Added --verbose parameter to comdtr 2014-06-06 14:50:01 +02:00
slush0
e4fe84cb52 Added client.encrypt_keyvalue, client.decrypt_keyvalue 2014-06-06 14:40:07 +02:00
slush0
0f24602832 compiled pb 2014-06-06 14:39:50 +02:00
Pavol Rusnak
0307307dad fix tests to match reality :) 2014-06-04 17:59:25 +02:00
Pavol Rusnak
c06a45c1a8 disable utf tests for sign/verify message for now 2014-06-02 17:53:41 +02:00
slush0
c921bd802a Fixed sign_message 2014-05-28 15:54:01 +02:00
Pavol Rusnak
83c93ba3a0 copy test_spend_coinbase to simplesigntx suite as well 2014-05-28 14:54:06 +02:00
slush0
3077b752d4 test_spend_coinbase 2014-05-28 14:39:09 +02:00
slush0
4e963cfd3c Fixed handling of coinbase tx 2014-05-28 14:38:44 +02:00
slush0
78a3fcb384 cmd.py renamed to cmdtr.py, it was interfering with system module 'cmd' 2014-05-27 14:50:47 +02:00
Pavol Rusnak
258e6e7fb2 rebuild pb 2014-05-26 00:59:42 +02:00
Pavol Rusnak
b7f5849ecc fix ButtonRequestType in Ping and GetEntropy 2014-04-28 14:39:05 +02:00
Pavol Rusnak
cff0b5fbf7 add test_signtx to test_protection_levels 2014-04-27 23:06:06 +02:00
Pavol Rusnak
deec6fc2fc simplify test for test_255_outputs using list comprehensions 2014-04-24 16:23:06 +02:00
Pavol Rusnak
615473409a add expected responses to test_msg_signtx test 2014-04-24 15:59:10 +02:00
Pavol Rusnak
3865d22c56 add expected responses to test_msg_signtx.test_one_one_fee unit test 2014-04-23 23:44:56 +02:00
slush0
99af68388d Added unittest test_attack_change_outputs
Removed obsolete tests, enabled test with 255 outputs
2014-04-18 18:57:00 +02:00
slush0
54bc7239ce Adde debug_processor to sign_tx() for unittest purposes 2014-04-18 18:56:12 +02:00
slush0
de1bef9533 Check if all signatures has been provided correctly 2014-04-18 18:10:00 +02:00
Pavol Rusnak
72753fa914 fix typo 2014-04-17 18:40:50 +02:00
Pavol Rusnak
35661161c9 simplify test_255_outputs 2014-04-17 18:33:26 +02:00
Pavol Rusnak
b91bd9d628 use simplesigntx tests for signtx 2014-04-17 16:37:09 +02:00
Pavol Rusnak
c642605ad2 modify simplesigntx to match signtx semantics 2014-04-17 16:30:19 +02:00
slush0
1d46bd70a9 Reworked TransactionType (again) 2014-04-17 14:05:45 +02:00
slush0
96966309d3 Compiled pb 2014-04-17 14:05:38 +02:00
slush0
48ad2f6785 Updates stream signing algo 2014-04-17 08:32:50 +02:00
slush0
994ff45a30 Updated TransactionType 2014-04-17 08:32:50 +02:00
Pavol Rusnak
7ae8894214 fix two more unit tests 2014-04-11 15:17:36 +02:00
slush0
2964cc4f9c Temporary disabled unit test 2014-04-10 15:23:36 +02:00
slush0
cbe8b42eed First unit test for streaming tx 2014-04-10 15:23:36 +02:00
slush0
d017ae2adf Fixed RequestTx structure 2014-04-10 15:23:36 +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