slush
8c61c4c81e
Updated coins details
2018-05-23 16:42:46 +02:00
slush
564af04dd6
Updated scraping of ethereum based tokens
2018-05-23 16:42:08 +02:00
slush
30fa1f9c6b
Moved to ethereum_tokens_gen.py
2018-05-23 16:41:43 +02:00
slush
64c114f8b1
Generate from git submodule instead of IPFS.
2018-05-23 16:21:33 +02:00
Pavol Rusnak
1fdcd916c4
fix emulator build
2018-05-23 15:46:38 +02:00
Pavol Rusnak
078cf07658
updated coins_details.json
2018-05-23 14:39:20 +02:00
matejcik
7e83eb11e5
trezorctl: drop remaining stellar_sign_message command
2018-05-23 14:27:10 +02:00
matejcik
f2aee59e27
device_tests: do not xfail Lisk tests, they are now merged
2018-05-23 14:21:24 +02:00
matejcik
4b7926268e
drop Lisk and Stellar sign/verify message functionality
2018-05-23 14:20:54 +02:00
matejcik
70172520fb
protobuf: update messages from upstream.
...
This drops sign/verify messages for Lisk and Stellar so we have to
remove the corresponding methods.
2018-05-23 14:04:09 +02:00
Jan Pochyla
7bafad494d
Merge pull request #90 from alepop/add-lisk-support
...
Add Lisk support
2018-05-23 13:54:00 +02:00
Jan Pochyla
e6dc6eb6d7
app.lisk: enable lisk tests
2018-05-23 13:29:12 +02:00
Jan Pochyla
bc27089546
tests: remove lisk sign/verify
2018-05-23 13:16:14 +02:00
Jan Pochyla
3a81a4b2f0
app.lisk: remove sign/verify code
2018-05-23 11:47:07 +02:00
Jan Pochyla
523e57ea52
app.lisk: code style
2018-05-23 11:47:07 +02:00
Jan Pochyla
04c652c120
app.lisk: use == for comparing ints, code style
2018-05-23 11:47:07 +02:00
Jan Pochyla
c78c6616f6
app.lisk: simplify pubkey computation
2018-05-23 11:47:07 +02:00
Aleksey Popov
83a1df99f4
app.lisk: add require confirm layout for message signing
2018-05-23 11:47:07 +02:00
Aleksey Popov
d331ff245f
app.lisk: fix lisk_verify_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
a0f5bbb734
app.lisk: review improvments
2018-05-23 11:47:07 +02:00
Aleksey Popov
ea938b6301
app.lisk: refactor helpers code
2018-05-23 11:47:07 +02:00
Aleksey Popov
b6949f6153
app.lisk: Add lisk_sign_tx and layouts
2018-05-23 11:47:07 +02:00
Aleksey Popov
3334163e85
app.lisk: Add lisk_verify_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
dc5115055f
app.lisk: Add lisk_sign_message
2018-05-23 11:47:07 +02:00
Aleksey Popov
a37493a861
app.lisk: Add lisk_get_public_key
2018-05-23 11:47:07 +02:00
Aleksey Popov
a2a861a688
app.lisk: Add lisk_get_address and helpers
2018-05-23 11:47:07 +02:00
Aleksey Popov
59e6e49111
protob: Generate new messages
2018-05-23 11:47:07 +02:00
Aleksey Popov
452ad41575
common: update trezor-common submodule
2018-05-23 11:47:07 +02:00
matejcik
ce7ee8ae30
device_tests: mark decred
2018-05-22 20:12:51 +02:00
matejcik
2225343c52
device_tests: in test_multisig, T1 raises a different message
...
expected: "Pubkey not found in multisig script"
actual: "signing.c:780:Pubkey not found in multisig script"
2018-05-22 20:12:51 +02:00
matejcik
013e0f6d66
device_tests: get nicer tracebacks by using pytest.raises instead of custom exception code
2018-05-22 20:12:51 +02:00
matejcik
224e3c18f5
device_tests: fix test_protection_levels for T1
...
a couple expected ButtonRequests were missing
2018-05-22 20:12:45 +02:00
Pavol Rusnak
90975f6b6e
embed/extmod/modtrezorcrypto: add support to variable outlen for Blake2{b,s}
2018-05-22 19:44:52 +02:00
slush
8fc001154e
Ignore cache files for coins_details.py
2018-05-22 19:44:00 +02:00
slush
70ae181ac9
Use coinmarketcap v2 API.
...
Ethereum tokens WIP.
2018-05-22 19:42:49 +02:00
Pavol Rusnak
9ac3515afd
defs: add ethereum/tokens submodules
2018-05-22 19:33:21 +02:00
Pavol Rusnak
a1204d8d7d
src: cleanup CoinType usage, don't return coins in Features
2018-05-22 18:52:26 +02:00
Pavol Rusnak
a83c64fbdb
protob: don't return coins in Features message
2018-05-22 18:40:15 +02:00
Pavol Rusnak
ae82735b6b
protob: remove Stellar{SignMessage,MessageSignature,VerifyMessage}
2018-05-22 18:32:21 +02:00
Pavol Rusnak
fb662e53b1
protob: remove {Lisk,Stellar}{SignMessage,MessageSignature,VerifyMessage}
2018-05-22 18:22:43 +02:00
matejcik
a4fe17b461
device_tests: xfail for decred. This should be investigated more though.
2018-05-22 17:51:41 +02:00
Pavol Rusnak
577cb361dc
src/trezor/crypto: add cashaddr support
2018-05-22 17:47:54 +02:00
matejcik
465c01d4f7
device_tests: add more currency markers
...
missed Stellar tests, plus Ethereum, for good measure
2018-05-22 17:29:03 +02:00
matejcik
af98a4071a
device_tests: allow custom runxfail
...
We can now selectively runxfail certain tests. This is useful for
accepting PRs into trezor-core:
1. trezor-core is going to get a pytest.ini that sets xfail_strict.
That means that if an `xfail`ed test actually passes, that will
break the test suite. So it will be visible when we implement
a feature for which tests exist.
2. To allow PRs to pass the test suite without touching python-trezor
directly, we add a new pytest.ini option: run_xfail.
This adds a list of markers which will ignore `xfail`.
So:
2.1 First, the python-trezor PR marks the tests with the name
of the feature. This commit already does that: Lisk tests
are marked `@pytest.mark.lisk`, NEMs are `@pytest.mark.nem`,
etc.
The tests will be also marked with `xfail`, because the
feature is not in core yet.
2.2 Then, the trezor-core PR implements the feature, which makes
the `xfail`ed tests pass. That breaks the test suite.
2.3 To fix the test suite, the core PR also adds a `run_xfail`
to `pytest.ini`: `run_xfail = lisk`.
(it can take a list: `run_xfail = lisk nem stellar`)
That will make the test suite behave as if the tests are not
`xfail`ed. If the feature is implemented correctly, the tests
will pass.
2.4 When the PR is accepted to core, the next step should be
a PR to python-trezor that removes the `xfail`s. After that,
we should also remove the `run_xfail` option, just to be tidy.
2018-05-22 17:29:03 +02:00
matejcik
003d77b209
testing: configure pytest.ini and update testing documentation
...
as per https://github.com/trezor/python-trezor/pull/263
2018-05-22 17:28:52 +02:00
Pavol Rusnak
1a7483d43d
cashaddr: fix whitespace
2018-05-22 16:55:37 +02:00
Pavol Rusnak
df967821e7
emu.sh: rename OPTLEVEL to PYOPT (to match variable name used in the C source)
2018-05-22 16:36:24 +02:00
Pavol Rusnak
ede4833c13
protob: add Initialize.skip_passphrase
2018-05-22 12:36:15 +02:00
Pavol Rusnak
59c8b66ba4
protob: update trezor-common
2018-05-21 16:33:41 +02:00
Pavol Rusnak
370c58929c
fsm: use passphrase protection instead of passphrase encryption
2018-05-21 15:50:53 +02:00