matejcik
99bc267301
client: hide uninteresting functions from test tracebacks
2018-05-28 14:45:54 +02:00
matejcik
2bf34dc4b4
unit_tests: added test suite for Ed25519 and CoSi
...
It's rather slow so it's disabled by default.
Use `pytest -m slow_cosi` to run.
2018-05-28 14:20:45 +02:00
matejcik
a0f73b726d
cosi: typehints, documentation, removed selftest
2018-05-28 14:20:26 +02:00
matejcik
0e8fe9e743
ed25519: type hints
2018-05-28 14:17:11 +02:00
Pavol Rusnak
3b689d42f8
coins_details: fix typo
2018-05-28 12:59:43 +02:00
Pavol Rusnak
5b919e3595
ethereum: add slip44 entries to networks.json
2018-05-28 12:57:54 +02:00
matejcik
ee21733f20
build: enforce building no-core versions of protobuf messages
...
This helps when you try to build python-trezor from a subdirectory
of trezor-core, for whatever reason.
(For instance, when you run 'pipenv install' in trezor-core, and also
happen to have protobuf build tools available in the outside environment)
2018-05-28 12:55:58 +02:00
Pavol Rusnak
d1800e0256
src/apps/common: refactor coins.py into coins.py and coininfo.py
2018-05-28 12:18:54 +02:00
Pavol Rusnak
6926ad5337
Add Ellaism network support ( #114 )
2018-05-28 11:52:29 +02:00
oliverlikes
bfcfabba25
added links to coins_details.json
2018-05-28 11:48:48 +02:00
Ellaismer
e86421ee89
Add Ellaism network support
2018-05-27 04:19:36 -04:00
Pavol Rusnak
0ae5e91fcb
nem: check length in layoutNEMTransferPayload
2018-05-25 16:34:06 +02:00
Tomas Susanka
bb57000449
src/trezor/crypto: add trezor.crypto.base32
2018-05-25 16:09:05 +02:00
Ondřej Vejpustek
afbe3e7551
fix rfc7539 padding
2018-05-25 16:03:09 +02:00
Pavol Rusnak
4de376acd6
src/apps/ethereum: implement SignMessage/VerifyMessage
2018-05-25 14:36:07 +02:00
Pavol Rusnak
648ef511b6
device_tests: use original ethereum message digest, enable ethereum_{sign,verify}message for T2
2018-05-25 14:23:16 +02:00
Pavol Rusnak
1f470cf1f1
ethereum: use original ethereum message digest
2018-05-25 14:22:54 +02:00
Tomas Susanka
37f6525c15
isinstance is used instead of __qualname__
2018-05-25 13:43:42 +02:00
matejcik
2fdb5cd538
cosi: publish "pubkey from privkey" operation from ed25519
2018-05-25 13:12:42 +02:00
matejcik
886e269e2f
trezorlib: mark ed25519 impl as private
2018-05-25 13:07:02 +02:00
Tomas Susanka
f273bbb736
tests/device/stellar: assert pubkey, address comment
2018-05-25 12:01:07 +02:00
slush
e455dd70c7
Updated coins_details
2018-05-25 11:30:11 +02:00
slush
5eadbddce9
Better categorizing of erc20 in coins_details.
2018-05-25 11:29:37 +02:00
matejcik
9982ef98f9
Merge branch 'master' into matejcik/refactor
2018-05-24 19:18:26 +02:00
matejcik
e779a251fb
transport: better ways to handle errors when enumerating devices
2018-05-24 19:14:05 +02:00
Jan Pochyla
b026287aed
Merge pull request #201 from trezor/get_uint
...
Introduce trezor_obj_get_int and trezor_obj_get_uint
2018-05-24 18:17:17 +02:00
matejcik
97fa4670ac
transport: add message logging to bridge
2018-05-24 18:08:50 +02:00
Jan Pochyla
bf7729ab9f
embed/extmod: use trezor_obj_get_uint{8} where it makes sense
2018-05-24 17:59:03 +02:00
Jan Pochyla
648ec675f4
embed/extmod: add trezor_obj_get_uint8
2018-05-24 17:59:03 +02:00
Jan Pochyla
39c1c85abb
embed/extmod: use trezor_obj_get_uint for uint32_t
2018-05-24 17:59:03 +02:00
Jan Pochyla
71b4e9978c
embed/extmod: add trezor_obj helpers for int and uint
2018-05-24 17:59:02 +02:00
Pavol Rusnak
e2962ef9f7
fix typo
2018-05-24 17:07:17 +02:00
Pavol Rusnak
bb5e49e452
device_tests: fix failed test
2018-05-24 17:02:11 +02:00
Pavol Rusnak
b67322be2f
device_tests: enable cashaddr tests (msg_getaddress, signtx_bcash) for T2
2018-05-24 16:40:27 +02:00
Pavol Rusnak
0cd3e411f4
src/apps/wallet/sign_tx: implement cashaddr
2018-05-24 16:38:56 +02:00
slush
46268d655d
Added filtering erc20 by released firmwares.
2018-05-24 16:25:44 +02:00
slush
44d2c3636a
Updated coins details
2018-05-24 16:20:36 +02:00
Pavol Rusnak
f2f3d39cf1
fix style
2018-05-24 16:04:18 +02:00
matejcik
88ea30b746
protobuf: support signed ints properly ( fixes #189 )
2018-05-24 15:59:32 +02:00
Pavol Rusnak
af7a66697b
src/apps/common: fix typo in coins.py
2018-05-24 15:47:03 +02:00
Pavol Rusnak
5885cb867e
src/trezor/messages: regenerate messages
2018-05-24 15:41:57 +02:00
matejcik
7b06a802bb
tests: drop nonexistent fields from TxOutputBinType
2018-05-24 15:41:07 +02:00
matejcik
c6ac4f2200
protobuf: drop kwargs from constructors
2018-05-24 15:41:07 +02:00
matejcik
b502169bae
protobuf: drop const() markers as they are currently useless
2018-05-24 15:41:07 +02:00
matejcik
2c70ac3a2f
protobuf: only import list when needed
2018-05-24 15:41:07 +02:00
matejcik
389f1418ed
protobuf: drop Optional markers (relying on implicit optional)
...
and add a conditional import for List
2018-05-24 15:41:07 +02:00
matejcik
efa0f60493
protobuf: use trezor-common submodule to generate messages
2018-05-24 15:41:07 +02:00
matejcik
fb318fb69b
tools: update build_protobuf and pb2py to the refactored versions
...
from python-trezor, with appropriate modifications for trezor-core
The end goal is to have these files identical, ideally coming from
trezor-common. This is most of the way there, only thing remaining
is handling of target paths.
2018-05-24 15:41:07 +02:00
Pavol Rusnak
ffc2bf30b8
src: remove CoinType usage, usage internal CoinInfo instead
2018-05-24 15:18:05 +02:00
Pavol Rusnak
bccba48f41
protob: drop CoinType completely
2018-05-24 13:52:57 +02:00