1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-06-28 10:52:32 +00:00
Commit Graph

7184 Commits

Author SHA1 Message Date
matejcik
266e34eec4 tests/device_tests: disable protobuf outputs unless run with -v 2018-05-11 15:29:38 +02:00
matejcik
0b6ec27064 logging: get rid of pprint and VerboseWireMixin
(and also TrezorClientVerbose)
2018-05-11 15:29:38 +02:00
matejcik
ca8ebacab9 logging: convenience function to set up protobuf logging 2018-05-11 15:29:38 +02:00
matejcik
1e4c1c093e protobuf: improve prettyprint formatting 2018-05-11 15:29:38 +02:00
matejcik
eed91db880 protocol: python logging to supersede VerboseWire 2018-05-11 15:29:38 +02:00
matejcik
b7c7190573 trezorlib: remove Hash to btc_hash, prepare for moving it away from things 2018-05-11 15:29:38 +02:00
matejcik
325312d11c protobuf: move formatter function to protobuf where it belongs better 2018-05-11 15:29:38 +02:00
matejcik
579adb1871 tests: update to use parse_path 2018-05-11 15:29:38 +02:00
matejcik
d106869061 trezorlib: deprecate client.expand_path and move the staticmethod
to an ordinary function tools.parse_path

Also remove PRIME_DERIVATION_FLAG and move it to tools.HARDENED_FLAG
2018-05-11 15:29:37 +02:00
matejcik
4f66b37f25 tests: update imports after tests.support move 2018-05-11 15:29:37 +02:00
matejcik
603b201ad0 tests: create tests.support module
for things that should not be part of trezorlib but tests use them
2018-05-11 15:29:37 +02:00
matejcik
e859e28354 script: set TREZOR_PATH so that test can reliably run locally 2018-05-11 14:49:22 +02:00
matejcik
fc45d0c39b travis: use pipenv to ensure stable environment for python tests 2018-05-11 14:49:22 +02:00
Jochen Hoenicke
cb9eefdce6 Recovery: Don't ask for confirmation on dry run. (#347)
The message is very confusing, as it is not recovering the device.
Since dry-run recovery does not change anything, there is no need to ask
for confirmation.
2018-05-11 14:03:28 +02:00
Lucas Betschart
e400accca6 Add Feathercoin (#105) 2018-05-11 11:40:30 +02:00
Tomas Susanka
55de110ee9 eth: unknown token changed to (None, None..) 2018-05-10 14:51:08 +02:00
Tomas Susanka
2d0d360944 eth: unknown token transfer is recognized and displayed as unknown
updates #198
2018-05-10 14:19:23 +02:00
Tomas Susanka
77766d2d0f tests/device/eth: known/unknown token test 2018-05-10 13:33:06 +02:00
Tomas Susanka
d7ccc74de4
Merge pull request #345 from saleemrashid/nem-cleanup
Use symlink to trezor-common for nem_mosaics.json
2018-05-10 10:30:07 +02:00
matejcik
a289d16838 build: require typing module for python < 3.4 2018-05-09 17:43:41 +02:00
matejcik
e0d850df7d protobuf: update generators and messages to be identical with trezor-core 2018-05-09 17:15:13 +02:00
Tomas Susanka
18adf6cc4d tests/stellar: marked as passing on T1 2018-05-09 16:34:51 +02:00
Derek May
093696d00f EGEM trezor support (#104) 2018-05-09 13:53:55 +02:00
Pavol Rusnak
039263589f
defs: remove .gitignore 2018-05-09 01:01:03 +02:00
matejcik
5329bc9463
Merge pull request #167 from zulucrypto/stellar
[Stellar] [WIP] Add Stellar support to trezorctl
2018-05-07 14:23:56 +02:00
matejcik
dd0217c746 protobuf: update trezor-common and messages 2018-05-07 14:14:16 +02:00
matejcik
28264a4fe0 protobuf: improve description of sint_to_uint 2018-05-07 14:10:34 +02:00
matejcik
df8c3da1a2 protobuf: properly implement signed types (fixes #249) 2018-05-07 14:10:34 +02:00
matejcik
b156ec9757 travis: fix bash syntax bug in trigger-travis.sh 2018-05-07 13:36:55 +02:00
matejcik
76fea5afc4 build: move ethereum requirements to their own extra
We only need ethereum libraries for `ethereum_sign_tx` in trezorctl,
and rlp has caused us dependency problems in the past already.
Also we required ethjsonrpc for the same thing but never listed
that dependency anywhere.

That changes now.
2018-05-07 13:05:48 +02:00
matejcik
6c033bd810 travis: trigger build of trezor-core when python-trezor is pushed 2018-05-07 12:47:41 +02:00
Saleem Rashid
21d147ac47 nem_mosaics: Add symlink to trezor-common 2018-05-05 22:13:19 +01:00
Saleem Rashid
7e407b467e Revert "nem: mosaics are generated from nem_mosaics.json in trezor-common"
This reverts commit c4beba839b.
2018-05-05 22:12:12 +01:00
Saleem Rashid
975c8c61ed Revert "firmware: reintroduce dep into Makefile"
This reverts commit aa6405e23c.
2018-05-05 22:12:02 +01:00
matejcik
43f14ac760 build: add flake8 to dev requirements 2018-05-04 17:50:49 +02:00
matejcik
a8351d1bda docs: testing instructions 2018-05-04 17:47:44 +02:00
matejcik
75fb38f63c docs: make build instructions more compact, reflect use of pipenv 2018-05-04 17:47:44 +02:00
matejcik
ac33a0f86e travis: use pipenv to run python-trezor testsuite reproducibly 2018-05-04 17:47:44 +02:00
matejcik
4c06a613b5 ethereum: do 'int_to_big_endian' conversion manually
instead of relying on 'rlp.utils' from which it was removed
by 1.0, and moved to 'eth_utils' which don't support py3.4
2018-05-04 17:43:58 +02:00
WO
44dfb07cfa Add Koto (#103) 2018-05-04 16:23:12 +02:00
matejcik
41d99764c6 build: reorganize requirements, mark hidapi as optional
This drops the command line options. `libusb` is now required
unconditionally (it's cffi so no harm there). hidapi is an extra.
You either need to install it manually, or specify it in your
requirements.txt like so:

trezor[hidapi] >= 0.9.2
2018-05-04 15:54:23 +02:00
matejcik
ce7a434f2d build: add the prebuild command as a dependency for develop
So, 'python setup.py develop' exists. And of course it doesn't have build_py as
a dependency, because of course it doesn't.
We could use 'data_files' instead of 'package_data and copying', and then use
pkg_resources to find the actual file location, and that could work in theory.
But pkg_resources API is weird and messy and this whole area of Python
packaging theory barely works as it is.

Instead we will force the prebuild command to be a dependency of develop as
well as build_py, and we do this by monkey-patching instead of the proper way,
because at this point it seems cleaner. I wonder if there are more commands
that would need this.
2018-05-03 18:55:32 +02:00
Pavol Rusnak
aa6405e23c
firmware: reintroduce dep into Makefile 2018-05-03 17:42:47 +02:00
Pavol Rusnak
ce88b30686
defs/nem: use standard json formatting for nem_mosaics.json 2018-05-03 17:27:47 +02:00
Pavol Rusnak
fb3e468ea2
fsm: split fsm_msg functions into various topic include files 2018-05-03 16:48:47 +02:00
Tomas Susanka
6f032456fc tests/device/nem: mosaic with levy test 2018-05-03 14:03:38 +02:00
Tomas Susanka
0d56ca922a ethereum: format amount already has int as an argument 2018-05-03 11:04:31 +02:00
Pavol Rusnak
736b02394f
src/apps: make flake8 happy 2018-05-02 16:51:57 +01:00
Tomas Susanka
c4beba839b nem: mosaics are generated from nem_mosaics.json in trezor-common
closes #344
2018-05-02 17:32:47 +02:00
Peter van Mourik
6a062ec5ea Wanchain support (#149) 2018-05-02 15:48:10 +01:00