Commit Graph

270 Commits (786bccfa340c476ee224ec0e594f470ad2c7b161)

Author SHA1 Message Date
ZuluCrypto 1fb521f4cd
client.py updated to use Stellar messages instead of map
6 years ago
ZuluCrypto 38647de7f9
client.py - minor style fixes and fix for use of "types.Message" instead of "proto.Message"
6 years ago
Aleksey Popov 45cca15e5f lisk: Add lisk_sign_tx
6 years ago
Aleksey Popov 5e1168c48d lisk: Add lisk_get_publickey
6 years ago
Aleksey Popov 514e808b56 lisk: Add lisk_verify_message
6 years ago
Aleksey Popov d3685639f9 lisk: Add lisk_sign_message
6 years ago
Aleksey Popov 3e742177d2 lisk: Add lisk_get_address method
6 years ago
Peter van Mourik 497f0467cf Added Wanchain support (#230)
7 years ago
Roman Zeyde 0a10b53e3a client: allow setting auto-lock delay
7 years ago
matejcik bd43363b1c coins: refactor, use data from coins.json instead of hardcoded lists
7 years ago
matejcik 40ff849228 flake8: make flake8 better and more strict
7 years ago
ZuluCrypto 1d722f838a
add Stellar support
7 years ago
matejcik e79026cb4b trezorlib: fix client ctors for `transport` arg
7 years ago
Roman Zeyde bd3d014dd4 Allow specifying 'state' at ProtocolMixin c-tor
7 years ago
matejcik e4a2946398 nem: fill out address_n properly for nem_sign_tx
7 years ago
matejcik 4b59d9191c flake8: fix complaints in new code.
7 years ago
matejcik 7e1d962799 trezorlib: sign_tx only downloads non-segwit transactions.
7 years ago
matejcik f87d931ce7 trezorlib: factor out NEM to a separate module
7 years ago
Pavol Rusnak a0dd3ee502
trezorctl: add passphrase_source handling to apply_settings
7 years ago
matejcik 6b51228090 use binascii.hexlify instead of bytearray.hex (which doesn't exist in python < 3.5)
7 years ago
matejcik d8c9c970f5 flake8: clean up imports from last commit
7 years ago
matejcik dd052d07b0 better getch() functions, fixed windows version (fixes #207)
7 years ago
matejcik c0d2af557c further cleanup of normalize_nfc usage
7 years ago
matejcik 5422c40451 start dropping py2 compatibility code
7 years ago
matejcik cd9bd06163 prettyprint: fix flake8 complaints
7 years ago
matejcik 52c2319822 omit Features message from debug dumps
7 years ago
matejcik db3767f7ef tweak prettyprint for some known elements
7 years ago
matejcik 07ceb9aacc pretty printing protobufs
7 years ago
matejcik 55641dd8b5 make flake8 happy (#225)
7 years ago
Pavol Rusnak 7841bbefbe
client: implement PassphraseStateRequest handling
7 years ago
Tomas Susanka 617ccc21d9 tests: deepcopy is required when debug_processor is invoked
7 years ago
Tomas Susanka d6f0c54d3e tests: CallException relaced with AssertionException in response validation
7 years ago
Pavol Rusnak bccd61cb23
client: implement PassphraseRequest.on_device handling
7 years ago
Pavol Rusnak ba8bb99097
fix flake8 error
7 years ago
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)
7 years ago
Peter Banik ca1d3e5f39 Added Decred to coin list (#109)
7 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