1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-29 01:28:10 +00:00
Commit Graph

8564 Commits

Author SHA1 Message Date
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
Pavol Rusnak
cbc3112a99
nix: update shell.nix and Pipfile.lock 2019-10-18 12:54:23 +00:00
Andrew Kozlik
60f6ab9087 core: Fix mypy warnings. 2019-10-18 14:36:40 +02:00
Andrew Kozlik
39b4376b65 core/sd-protect: If writing to the SD card fails in request_sd_salt(), inform the user and allow them to retry or abort. 2019-10-18 14:34:43 +02:00
Pavol Rusnak
236b6334c6
common/defs: add new wallets 2019-10-18 10:28:31 +00:00
Pavol Rusnak
7644cb4c79
core: rework exception handling in boot.py 2019-10-18 10:20:11 +00:00
Pavol Rusnak
47246c96f9
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "a8832ac09"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "a8832ac09"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2019-10-18 10:15:05 +00:00
Pavol Rusnak
9b7a2095b3
common/defs: update coins info 2019-10-18 10:14:33 +00:00
Pavol Rusnak
bd79827c52
vendor: add testsuite for FIDO2; regenerate Pipfile 2019-10-17 16:32:50 +00:00
Pavol Rusnak
89794b89ae
python: regenerate coins.json 2019-10-17 15:25:48 +00:00
Emma Hsueh
ac201fa92b
common/defs: add ETP 2019-10-17 17:24:22 +02:00
Tomas Susanka
0f34b50c05 core/features: add sd card and protection 2019-10-17 16:04:11 +02:00