1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 19:39:05 +00:00
Commit Graph

1310 Commits

Author SHA1 Message Date
Pavol Rusnak
3c48f906b2 tests: fix eip155 test 2018-09-03 14:53:53 +02:00
HackyMiner
5a4c37d41c add more eip155 test cases (#297) 2018-09-03 14:52:57 +02:00
matejcik
b4d001fe4d travis: drop python 3.3 and related workarounds from CI
We still technically support Python 3.3 as our code doesn't use
any Python 3.4 features.
(honestly, there are basically no python 3.4 features worth talking
about -- although of course, you should update just for TLS 1.2 support)
It's just that the whole ecosystem is moving away from py3.3
and I'm tired of making workarounds for pip, virtualenv and friends
simply refusing to accomodate.
2018-08-21 18:13:53 +02:00
matejcik
f880ba933f style: explain to isort that we use third party libraries and which they
are, since it apparently cannot figure that out on its own
2018-08-21 17:55:33 +02:00
matejcik
175148e77c style: be more explicit about wrongly sorted imports 2018-08-21 16:53:17 +02:00
matejcik
f30ea76d24 build: do not require pip in requirements.txt
it makes little sense and breaks python3.3 for mysterious reasons

(the "mysterious" reason is that everyone dropped support for py3.3
and so dependencies are messed up)
2018-08-21 16:50:45 +02:00
matejcik
f9824739ae travis: make sure stylecheck only runs on 3.6 2018-08-21 16:47:30 +02:00
matejcik
88b50ac2ff style: add makefile with style targets, final touchups 2018-08-21 16:30:22 +02:00
matejcik
e2d45397d4 device_tests: smarter device selection
skips bridge, dies somewhat more cleanly when no device found
2018-08-21 16:06:18 +02:00
matejcik
abf0e82d80 trezorlib: implement auto-creating protobuf messages from dicts
along with a convert_dict function to rename keys from camelCase
and optionally apply simple field renames
2018-08-21 16:02:15 +02:00
matejcik
f05f9a2b37 nem: make a clearer flow for create_sign_tx 2018-08-21 15:57:50 +02:00
matejcik
3d3e9b67b4 style: apply black/isort 2018-08-13 18:22:19 +02:00
matejcik
e336f578af device_tests: update test_msg_getentropy to new style 2018-08-13 15:49:12 +02:00
matejcik
ae5341c1bd style: common config for flake8 and isort 2018-08-10 16:08:30 +02:00
matejcik
29f928e4f2 style: bare excepts, left-over bad imports 2018-08-10 16:05:14 +02:00
matejcik
8226742ea3 tools: drop signtest, it doesn't work and is messing with stylecheck 2018-08-10 16:04:35 +02:00
matejcik
5259146a0b style: remove unused imports with autoflake 2018-08-10 15:48:39 +02:00
matejcik
ca608d0a98 flake8: fix complaints (for the last time, hopefully) 2018-08-10 15:24:21 +02:00
matejcik
6029a98414 debuglink: fix bug in self_test bootloader detection 2018-08-10 15:18:34 +02:00
matejcik
045ad85ecd trezorctl: use new API 2018-08-10 15:18:26 +02:00
matejcik
4b4469b9f4 tests: clean up usage of hardening constants 2018-08-10 14:37:49 +02:00
matejcik
c0ef1ec535 tests: use new API 2018-08-10 14:04:58 +02:00
matejcik
d5dee0c897 trezorlib: move mostly-debug methods from device to debuglink 2018-08-10 13:33:14 +02:00
matejcik
65d8adb0be trezorlib: rename device.*_device to device.* 2018-08-10 13:32:50 +02:00
matejcik
a3d560529c trezorlib: post-merge updates 2018-08-06 16:15:44 +02:00
matejcik
2bb7088281 Merge branch 'master' into matejcik/client-split 2018-08-06 16:13:04 +02:00
D.Matskevych
5a677c3782 Added Zencash supporting 2018-07-26 11:34:51 +02:00
Pavol Rusnak
9462601849
tests: extract eip155 tests for ethereum, add more cases 2018-07-19 18:06:56 +02:00
Tomas Susanka
2a5ca12924 ripple: fix invalid fee test 2018-07-13 13:25:43 +02:00
matejcik
5b49658c8b ripple: fix broken fail-test 2018-07-12 16:56:47 +02:00
Tomas Susanka
61e63c6a02 ripple: ripple prefix dropped in functions 2018-07-12 16:36:33 +02:00
Tomas Susanka
c0f29bf4fd ripple: proper sign_tx command 2018-07-12 16:36:33 +02:00
Tomas Susanka
37847fb56f ripple: client functions moved to ripple.py 2018-07-12 16:36:33 +02:00
Tomas Susanka
77414ad761 ripple: code review fixes 2018-07-12 16:36:33 +02:00
Tomas Susanka
102028587b vendor: trezor-common update 2018-07-12 16:36:33 +02:00
Tomas Susanka
2017dadfcb ripple: sign tx command including tests 2018-07-12 16:36:33 +02:00
Tomas Susanka
147e7e21cb ripple: get address command including tests 2018-07-12 16:36:33 +02:00
Tomas Susanka
8348d47fd7 stellar/tests: T2 support merged -> xfail dropped 2018-07-12 15:21:46 +02:00
Tomas Susanka
e5cdf45956 stellar/tests: some device tests set show_display=True 2018-07-11 16:03:38 +02:00
Pavol Rusnak
068e7b1574
readme: update markdown tables, add repology link 2018-07-11 01:09:38 +02:00
matejcik
497c290c81 build: run pb2py through sys.executable
* makes this actually work on Windows where pb2py isn't executable by itself
* might prevent problems when installing python-trezor in Travis from git
2018-07-09 17:46:57 +02:00
matejcik
87837bc305 stellar: drop protocol_version 2018-07-09 14:06:11 +02:00
matejcik
7083eb7a5c trezorlib: drop @field decorator
its function is replaced by @expect(field="name") -- it doesn't make sense
to use @field without @expect anyway
2018-07-09 13:57:30 +02:00
matejcik
00617817c3 trezorlib: disable encrypt/decrypt message functionality
it is disabled in Trezors and its utility is unclear
2018-07-09 13:56:22 +02:00
matejcik
7e90e89e69 client: get rid of TrezorClient._convert_prime 2018-07-09 13:56:22 +02:00
matejcik
8f03bd0165 build: add Construct to requires, use package autodetection 2018-07-09 13:56:22 +02:00
matejcik
23b58cc0cb flake8: fix complaints 2018-07-09 13:56:22 +02:00
matejcik
46307cc4ba trezorctl: use Stellar default network passphrase 2018-07-09 13:56:22 +02:00
matejcik
f3a042db80 trezorlib: split out methods from ProtocolMixin 2018-07-09 13:56:22 +02:00
matejcik
1820f529fc trezorlib: shuffling things from client 2018-07-09 13:50:25 +02:00