matejcik
526f729420
client: add get_default_client convenience function
2019-02-01 14:34:00 +01:00
matejcik
42583eaceb
debuglink: allow clearing input_flow function
2019-02-01 14:27:52 +01:00
Pavol Rusnak
50b302dfec
format: black uppercase of hex constant
2019-01-31 21:22:51 +01:00
Pavol Rusnak
1f7a405cb2
tests: pass branch_id in zcash tests
2019-01-31 21:08:43 +01:00
matejcik
f236eb9cf2
flake8: add typing imports where missing
...
also remove autoflake workarounds from some files, apparently newer
autoflake can recognize them properly
2019-01-31 15:41:25 +01:00
matejcik
68da6881b5
debuglink: add null debuglink, allow running tests interactively
...
run with:
INTERACT=1 pytest <your options here>
2019-01-31 15:30:05 +01:00
matejcik
3db07338ed
burn_tests: ensure burntest does not block pytest
...
pytest discovers test_*.py and *_test.py, so it should be hidden now
in addition, the code should only run when the script is run explicitly,
not when imported
2019-01-29 17:42:54 +01:00
Pavol Rusnak
49b71e8081
tests: rename test_burntest.py to burn_test.py
2019-01-29 17:29:55 +01:00
Pavol Rusnak
ddc762575d
tests: fix flake8 errors in burntest
2019-01-29 17:26:59 +01:00
Tomas Susanka
f81bc61316
ethereum: update tests to new message format (addresses are strings)
2019-01-29 17:17:05 +01:00
Pavol Rusnak
a19f35747d
tests: add first burntest
2019-01-29 16:52:58 +01:00
Tomas Susanka
015664cc9d
Merge pull request #342 from vacuumlabs/cardano-generalize-network
...
Change network to protocol magic in cardano
2019-01-29 16:47:34 +01:00
Pavol Rusnak
4fe8c003d1
nix: use python3, not python36
2019-01-29 02:11:48 +01:00
matejcik
5355ce4879
device_tests: upgrade get_marker to get_closest_marker
...
This bumps pytest requirement to 3.6. But we have that everywhere already.
For bonus points, get_closest_marker still exists in 4.1.
2019-01-28 17:11:37 +01:00
strmci
4afec2f3f3
trezorctl: use ChoiceType for set_passphrase_source ( #356 )
...
resolves #355
2019-01-28 16:17:02 +01:00
refi93
66111121bb
add tests for cardano address validation
2019-01-25 16:59:44 +01:00
matejcik
37dfcf90bf
device_tests: clarify input_flow for cardano signing
2019-01-25 16:22:18 +01:00
matejcik
3390422ce3
device: pass u2f counter when running device recovery
2019-01-23 11:34:59 +01:00
matejcik
7d14018f99
tools: make sure that passed Base58 string uses valid alphabet
2019-01-23 11:34:41 +01:00
refi93
f4e1da41b7
change network to protocol magic in cardano
2019-01-21 10:23:55 +01:00
Tomas Susanka
d668954a3b
Makefile: typo
2019-01-17 15:20:19 +01:00
Tomas Susanka
d09f4470d2
tests/stellar: use bytes.fromhex instead of binascii.unhexlify
2019-01-17 14:31:07 +01:00
Tomas Susanka
6c659715dc
tests: style
2019-01-17 14:26:15 +01:00
Tomas Susanka
e732ee6a75
tests/stellar: add more tests for SetOptionsOp
2019-01-17 14:18:02 +01:00
matejcik
921d881cdf
Revert "device_tests: xfail EthereumGetPublicKey on TT (feature is postponed)"
...
This reverts commit 953e0d1d8c
.
2019-01-15 14:50:03 +01:00
matejcik
953e0d1d8c
device_tests: xfail EthereumGetPublicKey on TT (feature is postponed)
2019-01-15 14:03:32 +01:00
Tomas Susanka
7288700b86
eth: add get public key
2019-01-15 12:46:20 +01:00
Tomas Susanka
701b603419
tests: uncomment ripple test
...
Some ripple tests stayed commented out accidentally. Shame on me.
2019-01-09 15:00:44 +01:00
Tomas Susanka
c5b1948b64
vendor: trezor-common update
2019-01-09 14:59:02 +01:00
Alexander Block
d131b70bed
Dash: Support spending DIP2 special transaction inputs ( #351 )
...
This implements support for spending of TX outputs which are part of a [DIP2](https://github.com/dashpay/dips/blob/master/dip-0002.md ) special transaction, especially [DIP4 coinbases](https://github.com/dashpay/dips/blob/master/dip-0004.md#coinbase-special-transaction ).
This is for Dash only and thus required the addition of `is_dash` in `tx_api.py`.
Support on the firmware side is not required for this to work as it reuses the logic from Zcash's `extra_data` and `extra_data_len` fields.
2019-01-09 14:43:30 +01:00
matejcik
6fa8ccfeed
transport: report proper exception when no device found
2019-01-09 13:51:37 +01:00
Tomas Susanka
897bc14a36
tests: add ripple test case with destination tag
2019-01-08 16:38:45 +01:00
Tomas Susanka
3c89a59a4d
vendor: update trezor-common
2019-01-08 16:01:35 +01:00
strmci
402e72e36e
device_tests: add input flow function to Ontology tests ( #348 )
2019-01-07 12:58:42 +01:00
Jochen Hoenicke
0428f5091c
Don't require prevtx for coins with BIP-143 fork id ( #352 )
...
Coins like Bitcoin Cash and Bitcoin Gold always use BIP-143 signatures
that do not require previous transactions.
2019-01-07 12:57:12 +01:00
matejcik
369b704f6b
trezorlib: bump to 0.11.1
2018-12-28 13:00:35 +01:00
matejcik
afe8b3a208
build: safer make clean
...
taken from cookiecutter-pypackage
2018-12-28 12:57:15 +01:00
matejcik
b3da1e6e25
changelog: update
2018-12-28 12:52:52 +01:00
ghost43
8c644cc03e
qt: don't import PyQt5.Qt
2018-12-28 12:48:31 +01:00
Jonathan Cross
6dd261f4c0
Update OPTIONS.rst per v0.11.0 ( #350 )
2018-12-28 00:18:04 +01:00
Pavol Rusnak
a9f39b94a5
docs: update OPTIONS.rst
2018-12-24 13:27:55 +01:00
brianddk
e9b7ecd97f
readme: Windows instal doc ( #346 )
2018-12-18 13:59:49 +01:00
matejcik
cf9106ff5d
client: only normalize passphrase if not entered on device
2018-12-17 14:01:52 +01:00
Pavol Rusnak
831fde9c5c
tests: T1 now caches the PIN after PIN set/change
2018-12-14 15:17:41 +01:00
Pavol Rusnak
4a516e5a89
nix: add typing-extensions to dependencies
2018-12-14 15:17:41 +01:00
Jan Pochyla
0390c1da0a
tests: use valid paths in various altcoin tests
2018-12-13 15:49:31 +01:00
matejcik
bfb6a196c0
tests: limit number of reported expected responses
...
so that our test logs are not spammed, esp. in that one test that has
20k messages
2018-12-13 14:10:44 +01:00
strmci
b0a227866a
device_tests: add input flow function to NEM signing test
2018-12-06 17:41:24 +01:00
matejcik
b5ca32a841
changelog: add the missing link
...
it's the missing link!
2018-12-06 17:19:30 +01:00
matejcik
391ff53084
build: make dist target
2018-12-06 16:40:55 +01:00