Pavol Rusnak
9a3d8ef2c4
core: show xpubs in GetAddress for multisig
...
also fix not showing MultisigRedeemScriptType.nodes correctly
2019-10-24 09:11:01 +00:00
Tomas Susanka
c3d13f41a4
tests/click: fix test_recovery
2019-10-24 07:51:03 +00:00
Pavol Rusnak
322417d9ed
core/tezos: refactor bytes constants
2019-10-23 16:29:21 +00:00
Adrian Nagy
384275ac73
core/tezos: support the new protocol update (005-BABYLON)
2019-10-23 17:53:10 +02:00
matejcik
09c3fd1981
DebugLink click tests ( #632 )
2019-10-23 11:03:52 +02:00
matejcik
a5ccf95260
core: fix mypy problems
2019-10-22 17:06:49 +02:00
matejcik
9b827baca0
tests: improve Shamir persistence test
2019-10-22 17:06:49 +02:00
matejcik
5488270bc3
core: improve emulator wrapper
...
* supply a gzipped image of an empty SD card so that we don't spend 5s at
every run by formatting it
* add start, stop, restart methods for direct control
* add restart capability to device_handler (a little awkward for now)
2019-10-22 17:06:49 +02:00
matejcik
8d2ae142f3
core/debug: at start, wait for first layout to show up
2019-10-22 17:06:49 +02:00
matejcik
f22f4d920e
tests: ensure Shamir persistence test runs only for core
2019-10-22 17:06:49 +02:00
matejcik
bc1696b947
tests: add scaffold for Shamir persistence testing
2019-10-22 17:06:49 +02:00
matejcik
7591e98897
tests: rename background.py to device_handler.py
2019-10-22 17:06:49 +02:00
matejcik
c9f4341949
tests: make background handler killable
2019-10-22 17:06:49 +02:00
matejcik
32074c7bff
python/udp: make socket timeout configurable
2019-10-22 17:06:49 +02:00
matejcik
c970ad437d
tests: improve layout_lines API
2019-10-22 17:06:49 +02:00
matejcik
598e828844
python: ensure client session counter is never negative
2019-10-22 17:06:49 +02:00
matejcik
3f9b0b7f4f
tests: improved click tests with BackgroundDeviceHandler
2019-10-22 17:06:49 +02:00
matejcik
a8fc569016
debug: add support for general layout waiting
2019-10-22 17:06:49 +02:00
matejcik
97525654bb
core/debug: avoid running a handler when waiting for layout change
...
otherwise a running handler would prevent the default task from
starting, which would deadlock a test waiting for the default task
2019-10-22 17:06:49 +02:00
matejcik
49931007e7
tests: fix grid34
2019-10-22 17:06:49 +02:00
matejcik
34823b6fcb
legacy: add field options to fix build
2019-10-22 17:06:49 +02:00
matejcik
370b2c4c49
tests: add click-based recovery test
2019-10-22 17:06:49 +02:00
matejcik
3664a5f06f
core/debug: reading layouts, inserting synthetic events
2019-10-22 17:06:49 +02:00
matejcik
8c3d93619e
core: allow inserting synthetic touch events into event loop
2019-10-22 16:55:30 +02:00
matejcik
a1a543f781
core: boot debuglink in recovery homescreen
2019-10-22 16:55:30 +02:00
matejcik
06e10f948d
protobuf: send x/y coordinates, allow waiting for layout change
2019-10-22 16:55:30 +02:00
matejcik
b25537f6b0
core: nicer output for cancellations
2019-10-22 16:54:49 +02:00
Tomas Susanka
0811733185
ci: run mypy without limitation
2019-10-22 14:36:25 +00:00
matejcik
d17f879d97
mypy: use GenericContext protocol to work-around DummyContext
2019-10-22 14:36:25 +00:00
matejcik
ed190c772c
core: avoid circular import in sd_salt
2019-10-22 14:36:25 +00:00
Tomas Susanka
0511cc8b8c
core: add final mypy fixes!
2019-10-22 14:36:25 +00:00
Pavol Rusnak
4bae47ea6d
tests: add multisig marker
2019-10-22 14:32:38 +00:00
Tomas Susanka
8f34b4c5de
Merge pull request #628 from trezor/tsusanka/sdprotect-fix
...
Skip sd protect test on device
2019-10-22 15:40:03 +02:00
Tomas Susanka
bfa5047012
tests/upgrade tests: patch emulators on NixOS
2019-10-22 13:59:26 +02:00
Pavol Rusnak
ddd9bee059
common/defs: regenerate coins
2019-10-22 09:03:32 +00:00
Pavol Rusnak
c2aa8a04c0
common/defs: update tokens
2019-10-22 10:59:52 +02:00
Pavol Rusnak
56a0824c7e
pip: use hypothesis==4.38.1 and attrs==18.2.0
...
to workaround nixos pip/pipenv issue
2019-10-21 11:44:17 +00:00
matejcik
6a1a94ac6a
tests: add wipe test for sd_protect
2019-10-21 12:25:18 +02:00
matejcik
ccd1940ea8
tests: more assertions on sd_protect
2019-10-21 12:11:51 +02:00
Pavol Rusnak
ade3b6aebd
git subrepo push common
...
subrepo:
subdir: "common"
merged: "e6321c8fa"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "e6321c8fa"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-10-21 09:49:09 +00:00
Pavol Rusnak
178d58c763
common/defs: remove BTDX as it has no Trezor compatible wallet
2019-10-21 09:48:19 +00:00
matejcik
d9efd92c0a
tests: error-out sd_card tests without SD card
2019-10-21 11:46:32 +02:00
Pavol Rusnak
07c7da8df6
git subrepo push common
...
subrepo:
subdir: "common"
merged: "4585439ae"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "4585439ae"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-10-20 17:12:14 +00:00
Pavol Rusnak
4e5b60ec2b
common/defs: remove BITC per maintainer request
2019-10-20 17:11:43 +00:00
Pavol Rusnak
3f9642dd70
git subrepo push common
...
subrepo:
subdir: "common"
merged: "dee2f32db"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "dee2f32db"
git-subrepo:
version: "0.4.0"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "5d6aba9"
2019-10-19 17:15:05 +00:00
Pavol Rusnak
3ebc79f9b2
common/defs: remove MEC per maintainer request
2019-10-19 17:14:32 +00:00
Pavol Rusnak
b79102008d
core: fix new Python SyntaxWarning (new in 3.8)
2019-10-18 17:59:37 +00:00
Pavol Rusnak
bcf20363eb
nix: let's install clang instead of clang-tools
...
clang package will install clang-format v7 which is the same
as we use in the docker container
installing clang-tools will install clang-format v9 which has
different formatting rules
2019-10-18 17:31:57 +00:00
Tomas Susanka
b530e7c105
ci: add fido2 tests to ci
2019-10-18 16:54:00 +02:00
Pavol Rusnak
e485ac50db
Merge pull request #634 from trezor/andrewkozlik/sd-protect-ui
...
SD protect: Allow user to retry/abort on write failure
2019-10-18 15:47:04 +02:00