Commit Graph

266 Commits (620e48e4d0066320ced1e3f971a31deec67d3adc)

Author SHA1 Message Date
Pavol Rusnak 23d75bfc10
trezorctl: sign_tx command based on tx_sign_tool by mruddy
7 years ago
Pavol Rusnak a71c33d123
trezorctl+client: add support for CoSi commit/sign
7 years ago
bithobbes 54df69a407 client.py: matrix recovery info: mention backspace
7 years ago
Jan Pochyla 8202971109 rework lazy connecting in client
7 years ago
Jan Pochyla 3d3c2a29d0 client: add missing close method
7 years ago
Saleem Rashid eb1d66e27f trezorlib: Add nem_get_address
7 years ago
Saleem Rashid 58b56bead6 trezorctl: Add nem_sign_tx
7 years ago
Jan Pochyla bc42eb68d6 transports: refactor, split protocol code
7 years ago
Pavol Rusnak 32fa08f38b
tests: remove estimate_tx_size
7 years ago
Saleem Rashid b469519e26 client: fix matrix recovery, use named enums, use isdigit(), ignore broken E721 test
7 years ago
Pavol Rusnak 81d5170c10
tests: start rewriting device tests to pytest
7 years ago
Jochen Hoenicke 9917d9ebfc
New unit tests for signing (bitcoin cash)
7 years ago
Pavol Rusnak 8133317172
add SignMessage.script_type
7 years ago
Pavol Rusnak de6402e95e
implement set_flags (aka ApplyFlags)
7 years ago
Pavol Rusnak d865c0ea31
trezorctl: load_device -s now loads SLIP-0014 mnemonic, --skip-checksum renamed to --ignore-checksum
7 years ago
Pavol Rusnak 23ab43d612
ethereum: implement EthereumSignMessage/EthereumVerifyMessage
7 years ago
Pavol Rusnak c7a2c72a75
simplify SelfTest.payload
7 years ago
Pavol Rusnak 1727b9a9b6
add SelfTest.payload
7 years ago
Pavol Rusnak f73fc33439
drop internal use of protobuf_json, use json_format provided by google.protobuf
7 years ago
Pavol Rusnak 0ee1667c6f
trezorctl: cleanup
7 years ago
Pavol Rusnak bcf54dbe94
trezorctl/client: add self_test
7 years ago
Pavol Rusnak 33f274d145
style: use flake8
7 years ago
Pavol Rusnak 71996c1e43
update protobuf, update tox.ini, prepare for BackupDevice
7 years ago
Roman Zeyde 0d76936174 Allow testing recovery with an initialized device
7 years ago
Pavol Rusnak 609b8d4a4a
fix stderr.write usage
7 years ago
Pavol Rusnak 564e6590c2
use FirmwareErase.length field
7 years ago
Pavol Rusnak e7a56899c6
more python3 compatibility
7 years ago
Pavol Rusnak de2f9e7c14
protob: regenerate, fix using old failure codes
7 years ago
Roman Zeyde a2db5a57f2 Fix client.py and protobuf_json.py for Python 3 support
7 years ago
Pavol Rusnak 2363db721a
fix stderr.write to use bytes
7 years ago
Peter Banik a99e29a05f
Added coin_name argument to get_public_node and trezorctl (#108)
8 years ago
Peter Banik ca1d3e5f39 Added Decred to coin list (#109)
8 years ago
Pavol Rusnak 504db8283b
add version and lock_time attributes to sign_tx function
8 years ago
Pavol Rusnak 29348f4098
add new firmware update method, update protobuf
8 years ago
Pavol Rusnak 4758eb7b07
add more coins to coin expansion
8 years ago
mruddy a2792cda19 load_device_by_mnemonic and recovery_device: expand unique mnemonic word prefix matches (#96)
8 years ago
mruddy de94bf2247 load_device_by_mnemonic: normalize mnemonic before validation (#95)
8 years ago
Jochen Hoenicke 1dc3152c11 Make ScrambledWords default recovery method (#93)
8 years ago
Jochen Hoenicke 607893f9ac Ethereum: EIP-155 replay protection
8 years ago
Pavol Rusnak 795427588a
add trezor.io to supported vendors
8 years ago
Jochen Hoenicke 3e2cccf225 SegWit: Display address on Trezor
8 years ago
Pavol Rusnak 0bba092741
add LGPLv3 headers to sources files
8 years ago
Jochen Hoenicke c935b51849
Support for matrix recovery
8 years ago
Pavol Rusnak 02c319f850
trezorctl: accept also cointype/a/b/c as get_address path
8 years ago
Pavol Rusnak 68d490917f
trezorctl: accept also m/a/b/c as get_address path
8 years ago
Pavol Rusnak 22faa4cafa
add msg_signtx_zcash unittest
8 years ago
Pavol Rusnak c6094dc9ad
verify_message now requires coin_name
8 years ago
Dominik Kozaczko 933bc12985 fix imports (#72)
8 years ago
Jan Pochyla 4d3e4574ef add session request to TransportV2, add @session helper
8 years ago
Jochen Hoenicke d9df63ad89 Allow leading 0x in data. Handle new contracts.
8 years ago
Jochen Hoenicke c85600b9bd
Fix ethereum_sign_tx
8 years ago
Pavol Rusnak 78c6328b36
fix ethereum_sign_tx
8 years ago
Jochen Hoenicke d5daf1d2f0
Fixed unit tests (also for Python 3)
8 years ago
Jochen Hoenicke eac9c99e32
Bug fixes
8 years ago
Jochen Hoenicke e51fb2078f
new message SetU2FCounter
8 years ago
slush0 def164fbd4 Fixed typo in set_mnemonic
8 years ago
Roman Zeyde f60c42cd94 Add ECDH support to client
8 years ago
Nick Johnson 0c3449298c Implement ethereum_sign_tx
8 years ago
Nick Johnson 593406ef46 Rename to ethereum_get_address, use binascii.hexlify
8 years ago
Nick Johnson 67bd1c223e Add support for get_ethereum_address to trezorlib and trezorctl.
8 years ago
Pavol Rusnak 54c8bfd1d4
import print function from future
8 years ago
Pavol Rusnak 1fe94e7fa5
more python3 fixes
8 years ago
Pavol Rusnak f7cc1cd3a1
remove FIXME :)
8 years ago
Pavol Rusnak de9b10fd90
more python3 stuff
8 years ago
slush0 64fadde3e0
Passes first unit tests (against trezor-emu over transport_pipe).
8 years ago
slush0 6ec2ff3eac
Preparation for python3 support (WIP)
8 years ago
Pavol Rusnak 8b7e6058ed
Revert "Added code to make trezor-agent work with keepkey."
9 years ago
Pavol Rusnak f3449fcbd7
fix spelling of TREZOR
9 years ago
Neil Booth bc14e05998 ProtocolMixin: make expand_path static
9 years ago
Pavol Rusnak f1868b72cd Merge pull request #49 from keepkey/master
9 years ago
Pavol Rusnak fc1b12d80d
fix whitespace
9 years ago
Kenneth Heutmaker 53e361b70b Added code to make trezor-agent work with keepkey.
9 years ago
Pavol Rusnak c025595951
add iv parameter to encrypt_keyvalue/decrypt_keyvalue
9 years ago
Pavol Rusnak c2c70c5c6c
implement get_public_node.arguments --ecdsa-curve-name --show-display
9 years ago
Pavol Rusnak b2bc509218 added description for pin entering
9 years ago
Roman Zeyde b155b83ca5 update protobuf with ECDSA curve selection
9 years ago
Pavol Rusnak 16c07561b5 don't assign tx_api when not needed
9 years ago
Pavol Rusnak f74d31788c old PIN -> current PIN
10 years ago
Pavol Rusnak 68ef2d2262 implement SignIdentity/SignedIdentity
10 years ago
Pavol Rusnak 686b8cc4b8 update protobuf, introduce homescreen
10 years ago
slush0 bb4d21ba65 Added feature check
10 years ago
Pavol Rusnak 63ee124254 test for ApplySettings.use_passphrase
10 years ago
Pavol Rusnak c0d0b191d6 test_msg_getaddress_show test now supports multisig
10 years ago
Pavol Rusnak 610547cf32 add button_wait feature for tests
10 years ago
Pavol Rusnak 608251bece update encrypt/decrypt message commands
10 years ago
Pavol Rusnak a939d3de1d fix getpass usage
10 years ago
Pavol Rusnak 1c6ed65921 add more tests to test_msg_verifymessage
10 years ago
Pavol Rusnak 667577abc4 add screenshot feature (default disabled)
10 years ago
David Dworken 86a46933b5 Use getpass('') and confirm passphrase
10 years ago
Pavol Rusnak f9e45d8e94 rework EncryptMessage/DecryptMessage
10 years ago
Pavol Rusnak d65d7cb855 update protobuf
10 years ago
Liz Fong-Jones 81a6a1a6d2 Fix missing %s in format string
10 years ago
Pavol Rusnak ef87f2e1d3 add GetAddress.show_display; ButtonRequest_Address
10 years ago
Pavol Rusnak 3527a51669 update pb
10 years ago
Pavol Rusnak c31157fea1 print firmware fingerprint on upload
10 years ago
Pavol Rusnak 2d2e31fa50 refactor pprint (add new inspection fields, but comment them)
10 years ago
Pavol Rusnak 260a4322a6 add ClearSession message with unit test
10 years ago
Pavol Rusnak a3d22dc56e add tests for EncryptMessage/DecryptMessage
10 years ago
Pavol Rusnak 1d84a35095 fix str+bool concat
10 years ago
Pavol Rusnak cfc8fdc214 adapt new API of EncryptMessage / DecryptMessage
10 years ago
slush0 9b9f0e9415 Removed all outputs to stdout, uses stderr instead
10 years ago
Pavol Rusnak 8ea46f34a2 add EncryptMessage and DecryptMessage
10 years ago
slush0 f164e59d86 Redirects text UI to error log instead of stdout (useful for scripting)
10 years ago
slush0 e4fe84cb52 Added client.encrypt_keyvalue, client.decrypt_keyvalue
10 years ago
slush0 54bc7239ce Adde debug_processor to sign_tx() for unittest purposes
11 years ago
slush0 de1bef9533 Check if all signatures has been provided correctly
11 years ago
Pavol Rusnak 72753fa914 fix typo
11 years ago
Pavol Rusnak c642605ad2 modify simplesigntx to match signtx semantics
11 years ago
slush0 1d46bd70a9 Reworked TransactionType (again)
11 years ago
slush0 48ad2f6785 Updates stream signing algo
11 years ago
slush0 400f3e669f Reworked RequestTx
11 years ago
slush0 2c5e663aa8 Fixed spacing
11 years ago
Pavol Rusnak 860aa753c9 put TXAPIs into one location
11 years ago
Pavol Rusnak 412528d522 fix PinMatrixRequest type enum
11 years ago
Pavol Rusnak 27070e84a9 support binary messages in sign/verify message
11 years ago
slush0 099cdd2578 Fixed load_device_by_xprv
11 years ago
Pavol Rusnak 4fc8868589 rename word variables in DebugLinkState message
11 years ago
Pavol Rusnak ffa289967c adapt to new pb, small fixes
11 years ago
slush0 e19c8881c0 Removed 'version' from HDNodeType & fixed unit tests
11 years ago
slush0 4b69996244 Implemented DebugLink->word request
11 years ago
Pavol Rusnak f2cb352ac3 don't pprint FirmwareUpload message
11 years ago
Pavol Rusnak 729fac2077 add coin param to get_public_node call; new test for getpublickey message
11 years ago
slush0 eae7d98b8a set_expected_responses enforces using 'with' statement
11 years ago
slush0 443ffab619 Added utf8 handling to sign_message/verify_message
11 years ago
slush0 58dee1a986 Improved utf8 handling
11 years ago
slush0 2a3e5ace6b Added TrezorClientDebug which prints wire messages to stdout
11 years ago
slush0 6e90d5763e Added debug printing
11 years ago
slush0 b6a280c380 Fixed passphrase request
11 years ago
slush0 86a2a9f845 TrezorDebugClient: Removed expected_buttonrequests, added more generic expected_responses
11 years ago
slush0 a117057dea Slightly refactored mixin structure, added debugging output
11 years ago
slush0 9b8462f71e typo
11 years ago
slush0 558f61e635 Heavily refactored TrezorClient
11 years ago
slush0 262d493ce2 CallException has always code and message
11 years ago
slush0 e919f1bd30 Fixed expect_buttonrequests
11 years ago
Pavol Rusnak 6ee8d7d949 and test_pings for combinations of input params
11 years ago
slush0 39f4ade40b Implemented ButtonRequestType
11 years ago
slush0 2a59a8e055 Added Ping.button_protection
11 years ago
slush0 60e6064d4e Configurable ping message
11 years ago
Pavol Rusnak d629a76689 print message size in _pprint
11 years ago
slush0 c9a348d4a9 Unit tests for signing messages
11 years ago
slush0 5a10692e86 Implemented RecoveryDevice
11 years ago
slush0 845f874aea Added Features.initialized
11 years ago
slush0 2782655320 Monkeypatching of google.protobuf.text_format
11 years ago
Pavol Rusnak 366a7aa07d monkeypatching: text formatting of protobuf messages
11 years ago
slush0 fe0e409e77 Implementation of ChangePin
11 years ago
Pavol Rusnak 24861a1b58 add check for expected type of message responses
11 years ago
slush0 1089f58eb5 Code cleanup
11 years ago
slush0 93d7fe5341 Estimate tx size
11 years ago
slush0 91b2b637b4 BIP32 public CKD
11 years ago
slush0 b9925432cd Basic blockchain.info API
11 years ago