1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-27 09:58:27 +00:00
Commit Graph

1543 Commits

Author SHA1 Message Date
ZuluCrypto
ea6ced4dae
client.py - refactor Stellar signing loop to make the message flow clearer 2018-04-20 10:33:56 -06:00
ZuluCrypto
94f3f43746
sync with current state of upstream master 2018-04-19 15:18:55 -06:00
ZuluCrypto
1fb521f4cd
client.py updated to use Stellar messages instead of map 2018-04-19 15:10:57 -06:00
ZuluCrypto
73b07a489b
stellar - refactor parser to return protobuf messages instead of map 2018-04-19 15:10:27 -06:00
ZuluCrypto
38647de7f9
client.py - minor style fixes and fix for use of "types.Message" instead of "proto.Message" 2018-04-19 13:29:36 -06:00
ZuluCrypto
76241dca5c
trezorctl - clean up imports 2018-04-19 13:28:31 -06:00
matejcik
1008c45100 tests: xfail Lisk tests until trezor-core#90 is merged 2018-04-18 15:46:10 +02:00
Aleksey Popov
45cca15e5f lisk: Add lisk_sign_tx 2018-04-18 12:09:09 +02:00
Aleksey Popov
5e1168c48d lisk: Add lisk_get_publickey 2018-04-18 12:09:09 +02:00
Aleksey Popov
514e808b56 lisk: Add lisk_verify_message 2018-04-18 12:09:09 +02:00
Aleksey Popov
d3685639f9 lisk: Add lisk_sign_message 2018-04-18 12:09:09 +02:00
Aleksey Popov
3e742177d2 lisk: Add lisk_get_address method 2018-04-18 12:09:09 +02:00
Aleksey Popov
c0418333c1 common: update trezor-common submodule 2018-04-18 12:09:09 +02:00
matejcik
688fe06e93 tools: remove forgotten debug statements in encfs_aes_getpass 2018-04-16 17:29:57 +02:00
matejcik
9255507529 tools: update encfs_aes_getpass to work with Py3
probably fixes #169
2018-04-16 17:21:29 +02:00
Tomas Susanka
fd16bbfc8e tests: nem mosaics fix 2018-04-16 12:39:17 +02:00
Tomas Susanka
767330aea0 tests: multisig fixes 2018-04-16 12:24:55 +02:00
Pavol Rusnak
ff8dafc182
trezorctl: reorder parameters in ethereum_sign_tx 2018-04-11 12:26:53 +02:00
Peter van Mourik
497f0467cf Added Wanchain support (#230) 2018-04-11 12:24:13 +02:00
Roman Zeyde
892eb41837 tests: add device test for auto-lock delay 2018-04-11 11:17:17 +02:00
Roman Zeyde
0a10b53e3a client: allow setting auto-lock delay 2018-04-11 11:17:17 +02:00
matejcik
ab62f5db6f flake8: delete trailing lines 2018-04-10 16:01:22 +02:00
matejcik
928498c666 coins: wrap JSON errors in an ImportError 2018-04-10 15:58:34 +02:00
matejcik
bd43363b1c coins: refactor, use data from coins.json instead of hardcoded lists 2018-04-10 15:58:34 +02:00
matejcik
c4f38fd740 trezor-common: update to version with Decred Testnet API URL 2018-04-10 15:58:34 +02:00
matejcik
4b0e057d4e docs: contributing info for the new submodule 2018-04-10 15:58:34 +02:00
matejcik
b82551ce0d travis: check that generated protobuf messages are identical to the commited ones 2018-04-10 15:58:34 +02:00
matejcik
d7fb363ffb build: take an optional argument specifying protobuf output directory 2018-04-10 15:58:34 +02:00
matejcik
40ff849228 flake8: make flake8 better and more strict
this removes some unused variables and also catches a couple bugs
2018-04-10 15:58:34 +02:00
matejcik
e3d59eedfb tx_api: drop completely unused Smartbit API 2018-04-10 15:58:34 +02:00
matejcik
71129fffbf travis: run flake8 as one command
also exclude vendor subdir over which we possibly don't have control
2018-04-10 15:58:34 +02:00
matejcik
04326749f4 build: generate protobuf messages in tempdir
This way, if the process fails, the files in trezorlib/messages remain
untouched. This is important because "setup.py build" now runs the
build_protobuf tool, and it can easily fail on a system without protoc.
2018-04-10 15:58:34 +02:00
matejcik
3f35475e7b build: preprocess messages and assets in setup.py
This enforces presence of the trezor-common submodule, copies coins.json to the
package directory (from where we can install it with bdist) and if possible,
regenerates protobuf messages.

That currently doesn't work on Windows, because it's a shell script. Also it
relies on presence of `protoc` protobuf compiler. Therefore the regeneration
step is optional and converted protobuf messages should still be commited to
this repo.

coins.json, OTOH, is gitignored in trezorlib, and must be copied from
trezor-common every time. This works because sdist includes the vendor
directory.
2018-04-10 15:58:34 +02:00
matejcik
16b0727b4b build: include tools in sdist 2018-04-10 15:58:34 +02:00
matejcik
ae0cb0478e build: use trezor-common from submodule 2018-04-10 15:58:34 +02:00
matejcik
c844430363 build: include relevant vendored files in sdist 2018-04-10 15:58:34 +02:00
matejcik
f96dfe5dba add submodule trezor-common 2018-04-10 15:58:34 +02:00
Tomas Susanka
edbcd2012d tests/device/nem: multisig tests 2018-04-10 14:50:01 +02:00
Tomas Susanka
891865f948 tests/device/nem: tests fixes due to layout changes 2018-04-09 13:40:23 +02:00
Pavol Rusnak
24dc617f36
disable bcash tests for T2 2018-04-05 17:03:36 +02:00
Jochen Hoenicke
e43a62cb03 Updated unit tests for cashaddr. (#195) 2018-04-05 11:20:08 +02:00
Tomas Susanka
0631a0a5b1 tests/device/nem: transfer multiple mosaics 2018-04-04 15:18:21 +02:00
Tomas Susanka
51d9a809bc tests: pytest xfail is used instead of skipping 2018-04-04 13:18:22 +02:00
ZuluCrypto
7eef1df6b0
stellar - added some unit tests 2018-04-03 19:50:38 -06:00
ZuluCrypto
1d722f838a
add Stellar support 2018-04-03 19:50:22 -06:00
ZuluCrypto
0902aefd62
update generated protobuf files with Stellar changes 2018-04-03 19:49:56 -06:00
ZuluCrypto
b03d93c182
pb2py - add support for INT64 2018-04-03 19:47:54 -06:00
matejcik
a4306a00fa tools: add deserialize_tx.py to decode contents of hex-encoded signed BTC transaction.
This code will probably come in handy if/when we implement a microwallet.
2018-04-03 19:24:31 +02:00
matejcik
020b298020 tests/device: autodetect Trezor version and skip the appropriate tests automatically 2018-04-03 18:56:18 +02:00
Pavol Rusnak
12c58ce3cc transport: inject info about udev rules into io/os exception 2018-04-03 18:27:38 +02:00