Commit Graph

236 Commits (d138afeb8df3b5e373d56414008d9c340a3f4831)

Author SHA1 Message Date
slush f00a689087 Remove unnecessary logging
7 years ago
slush 11fd72890c trezorctl: Do not display PASSPHRASE on screen.
7 years ago
slush ab42e93718 trezorctl: Allow entering passphrase by environment variable PASSPHRASE.
7 years ago
Pavol Rusnak 0c5eac2f39
skip None and empty ([]) fields in proto messages
7 years ago
Pavol Rusnak f587135b8d
fix last commit (also skip print statement)
7 years ago
Tomas Susanka 4e01971e4c client: expected field check fix
7 years ago
slush c71f234a8b Added deprecation warning for Python2
7 years ago
Pavol Rusnak 888b6f9171
fix file flags
7 years ago
Martin Skoviera dac97ed5b6 Fixed enums in WordRequestType
7 years ago
Roman Zeyde 8689440d90 client: fix PinMatrixRequestType enum usage
7 years ago
Saleem Rashid 2c00526d23 client: Remove DEFAULT_CURVE
7 years ago
Pavol Rusnak 753e91dff0
protobuf: encode to utf-8 bytestream
7 years ago
Saleem Rashid c48724eca6 client: Fix string encoding for Python 2
7 years ago
slush 653ed4a67b Added registering custom protobuf messages by application.
7 years ago
slush a27217811b Rework from Google's protobuf to pure-python protobuf implementation
7 years ago
Pavol Rusnak ae663ffe0c
client: don't accept non-numerical values for PIN
7 years ago
Nicola Larosa 62541cc55f Fix encoding error in trezorlib.client.ProtocolMixin.load_device_by_mnemonic (#153)
7 years ago
Pavol Rusnak 0d9ee4376d
use Mnemonic.normalize_string where possible
7 years ago
Pavol Rusnak b9b11fa265
style: fix flake8 error
7 years ago
Pavol Rusnak a5fc76d8c9
don't use generic Exception, but rather specific subclass
7 years ago
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