Pavol Rusnak
204d6f09d9
docs: swap GPG fingerprints in security.md
2019-08-16 18:46:53 +02:00
Pavol Rusnak
2e59a1f445
python: add --beta switch to trezorctl firmware_update command
2019-08-16 18:43:43 +02:00
Roman Zeyde
93382a10f5
tests: test Elements explicit addresses (p2pkh, p2sh and bech32)
2019-08-16 18:20:23 +02:00
omtns
1bb77b81c0
common/defs: enable MTNS ( #415 )
2019-08-16 17:29:50 +02:00
Marius Kjærstad
1d6ea33ec6
docs: switch http to https in links ( #419 )
2019-08-16 17:28:15 +02:00
Tomas Susanka
0b66050a55
tools: different order of columns in to csv converter
2019-08-16 15:20:00 +02:00
Tomas Susanka
2082e05bd7
tools: modify github to csv tool to suit our needs
...
closes #418
2019-08-16 13:28:35 +02:00
Tomas Susanka
a85e63cceb
tools: add github to csv tool
2019-08-16 13:19:13 +02:00
Tomas Susanka
e62553435d
core/slip39: fix UI for 33 words ( #408 )
...
core/slip39: fix UI for 33 words
2019-08-14 13:46:33 +02:00
Tomas Susanka
e119e8de96
core/slip39: fix UI for 33 words
...
closes #395
2019-08-14 11:16:15 +02:00
Tomas Susanka
542f156b4f
core/slip39: remove _encrypt
...
(cherry picked from commit 53ca61ab00
)
2019-08-13 17:25:53 +02:00
Tomas Susanka
1b666804c0
core/shamir: fix EMS vs MS
...
(cherry picked from commit cb94454618
)
2019-08-13 17:25:47 +02:00
matejcik
d4b1e256d6
git subrepo push common
...
subrepo:
subdir: "common"
merged: "04fb1c22"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "04fb1c22"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "5d6aba9"
2019-08-13 16:36:48 +02:00
matejcik
b9547ea948
ci: take python 3.5 from Debian, not from source
2019-08-13 15:39:58 +02:00
Tomas Susanka
8b7e72e0de
ci: add python 3.5, 3.6 and 3.8 to environment
2019-08-13 12:18:27 +02:00
Szymon Lesisz
5b20459fc8
common/defs: remove empty blockchain_link objects ( #404 )
2019-08-12 15:49:00 +02:00
Tomas Susanka
0f742bc3a7
core: bump to 2.1.5, add changelog for 2.1.4
2019-08-12 13:48:54 +02:00
matejcik
9814f886ce
gen: regenerate coins.json
2019-08-12 12:57:25 +02:00
matejcik
d521903963
python: clarify requirements, enable tox in CI
2019-08-12 12:57:25 +02:00
matejcik
946a322a93
pipenv: set proper typing_extensions requirement
2019-08-12 12:57:25 +02:00
matejcik
6d407c84d7
python: use stdlib blake2s on python 3.6+
2019-08-12 12:57:25 +02:00
matejcik
aa19f9d737
python: show enum number in debug outputs
2019-08-12 12:57:25 +02:00
matejcik
3255e8a16a
tests: run default set of tests from root
2019-08-12 12:57:25 +02:00
matejcik
c76d69eb20
ci: use pipenv sync
2019-08-12 12:57:25 +02:00
matejcik
cb99a175ea
storage: explicitly reseed in PRNG tests
2019-08-12 12:57:25 +02:00
matejcik
eaf1e940a8
build: update test runners for new paths
2019-08-12 12:57:25 +02:00
matejcik
834981f599
ci: verify behavior, remove TODO
2019-08-12 12:57:25 +02:00
matejcik
0312fb264b
tests: fix reference to ckd_public
...
we aren't moving ckd_public out of trezorlib just yet. It will go away
in 0.12.
tests: move ckd_public
tests: remove useless usages of ckd_public
2019-08-12 12:57:25 +02:00
matejcik
67b879ac07
python: restructure package
...
This deserves some explanation.
* tests were moved to separate python/tests subdir
* trezorlib was moved to python/src, so that it does not exist on
PYTHONPATH by default
(see https://blog.ionelmc.ro/2014/05/25/python-packaging/ for details)
* everything was updated to understand the new structure
* trezorctl was changed from a top-level executable script to a module
`trezorlib.cli.trezorctl` and is installed via the entry_points
mechanism.
This should make it work normally on Windows!
The package should be installable as normal through pip and pipenv, no
changes are needed on that side.
The source package from pypi will include unit tests. (Device tests were
completely moved out). Wheel will exclude them, because users don't need
them.
That shrinks the .whl from 520 kB to 270 - nice!
python: reorganize remaining unit tests
2019-08-12 12:57:25 +02:00
matejcik
0470cf9865
tests: move burn tests to root
2019-08-12 12:57:25 +02:00
matejcik
872e66efca
tests: drop pytest customization from core
...
it will no longer possible to run just `pytest` from core subdir
2019-08-12 12:57:25 +02:00
matejcik
842fde455c
tests: improve debug-trezor detection
...
should (finally) work with a connected production Trezor and an
emulator, in which case it should pick the emulator by itself
2019-08-12 12:57:25 +02:00
matejcik
2f7b2da2e3
tests: enable order randomization
...
tests: fixup
2019-08-12 12:57:25 +02:00
matejcik
37f8cbd403
tests: add flakiness to bip32_speed test
2019-08-12 12:57:25 +02:00
matejcik
c683251d7b
tests: add new test location to style checks
2019-08-12 12:57:25 +02:00
matejcik
eb6f6dd572
tests: move tx_cache impl
2019-08-12 12:57:25 +02:00
matejcik
b4fa6f2a7f
tests: move device tests to top-level
2019-08-12 12:57:25 +02:00
Roman Zeyde
7210a2f56d
common/defs: add 'confidential_assets' section to coin definitions ( #399 )
...
Enable 'confidential_assets' for Elements (following #66 and #317 ) to allow
deriving confidential addresses and signing confidential transactions.
The following Python helper script was used to update the JSON files:
```
import json
import sys
for f in sys.argv[1:]:
d = json.load(open(f))
d["confidential_assets"] = None
with open(f, "w") as o:
json.dump(d, o, indent=2)
o.write("\n")
```
Set it to `{'address_prefix': 4, 'blech32_prefix': 'el'}` for Elements.
`coins.json` and `coininfo.py` were re-generated using:
```
$ pipenv run make gen gen_check
```
2019-08-12 12:52:20 +02:00
yorugac
2923f3390f
common/ethereum: add AUX network ( #401 )
2019-08-11 18:59:39 +02:00
Enrique
9164c15f1b
common: enable POLIS in Connect ( #397 )
2019-08-10 20:35:34 +02:00
matejcik
c285bbba7a
core: dispatch DebugLinkDecisions from a common queue
2019-08-09 16:53:12 +02:00
matejcik
741bfd5c53
core: remove loop.signal in favor of chan, change usage
2019-08-09 16:53:12 +02:00
matejcik
f680f0c0d3
core: unify NEM pager confirm with rest of codebase
2019-08-09 16:53:12 +02:00
matejcik
cf70f82d90
core: debug messages when reading from wire
...
fixes #373
2019-08-09 16:53:12 +02:00
matejcik
b9c978c1e2
tests: take advantage of debuglink feedback
2019-08-09 16:53:12 +02:00
matejcik
0890f68c0c
core: use channels to give feedback over debuglink
...
all debug input signals are now channels, and DebugLinkDecision handler
waits until the input was consumed. This means that the input events are
queued; originally, if an input event arrived before the previous was
consumed, the previous input would be lost.
reset words and their positions are now also channels, and
DebugLinkGetState can wait for their updates, if required
2019-08-09 16:53:12 +02:00
matejcik
6e7fc5f601
core: implement channels for sending messages
2019-08-09 16:53:12 +02:00
Pavol Rusnak
e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field)
2019-08-09 16:47:24 +02:00
Tomas Susanka
024f4d64af
core/reset: modify confirmation sentence
2019-08-09 15:50:56 +02:00
Tomas Susanka
35ecfbcb3d
build
2019-08-09 13:34:46 +02:00