1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 07:18:09 +00:00
Commit Graph

1491 Commits

Author SHA1 Message Date
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
matejcik
9dc86f3955 build: update protobuf build process and update vendored definitions 2018-07-09 13:46:18 +02:00
matejcik
2f3a32f8e8 trezorlib: drop support for EncryptMessage and DecryptMessage 2018-07-09 13:46:18 +02:00
matejcik
fd39692ec9 build: set requirements for proper python 3.3 and 3.4 support, make tox happy 2018-07-09 13:46:18 +02:00
matejcik
ed3bdc8111 changelog: update 2018-07-09 13:46:18 +02:00
matejcik
5e7e491308 travis: fix build problems
* remove "in-tree vs generated" check as there is no in-tree anymore
* add protobuf to requirements-dev
* use requirements-dev in tox

travis: do not diff generated against (missing) in-tree messages

travis: in tox env, use requirements-dev
2018-07-09 13:46:18 +02:00
matejcik
19a0f4cc7b tx_api: support blockbook, allow url-less operation
Bitcoin Testnet backends were removed.
This broke our tests that work purely on local data but nevertheless
need to know backend URLs. Because the design is less than ideal.

Here, we do a little cleanup:
* blockbook URLs are respected
* Dogecoin is now supported by our blockbook backend so we don't need
  a special tx-api implementation
* it's possible to instantiate a TxApi that is backed by the cache,
  without a known URL
* relevant tests now make use of this feature
2018-07-09 13:46:18 +02:00
matejcik
85a32d01b9 build: do not import trezorlib in setup.py, parse out __version__ by hand
also update path to coin generating tool
2018-07-09 13:46:18 +02:00
matejcik
ef736e837c build: replace local copy of pb2py / build_protobuf with pb2py from trezor-common 2018-07-09 13:46:18 +02:00
matejcik
6f23331dfc build: remove prebuilt protobuf files
Also clean out .gitignore a little while we're at it
2018-07-09 13:46:18 +02:00
Pavol Rusnak
8f46f3d46b
trezorctl: fix grammar in confirm messages 2018-07-05 13:52:09 +02:00
matejcik
ad16588171 stellar: update T1 tests 2018-06-28 12:40:49 +02:00
ZuluCrypto
b2f35de8b8 stellar.py - do not alias trezorlib.messages import to "proto" 2018-06-28 11:57:56 +02:00
ZuluCrypto
cd7189839c stellar - return addresses as utf-8 strings 2018-06-28 11:57:56 +02:00
ZuluCrypto
2549eaf5a6 test_stellar.py - split imports into two lines and do not alias messages to "proto" 2018-06-28 11:57:56 +02:00
ZuluCrypto
05afd986c1 test_stellar.py - fix style issues 2018-06-28 11:57:56 +02:00
ZuluCrypto
af38407a43 stellar - add unit tests for parsing XDR 2018-06-28 11:57:56 +02:00
ZuluCrypto
96f0801b90 stellar.py - fix missing destination_amount when parsing path payment 2018-06-28 11:57:56 +02:00
ZuluCrypto
dd324a99c5 stellar.py - fix mising str() cast on type 2018-06-28 11:57:56 +02:00
ZuluCrypto
8a284c03d1 stellar.py - fix incorrect constants 2018-06-28 11:57:56 +02:00