matejcik
d3b88a37be
core: do not catch SystemExit in handle_session ( #826 )
2020-02-12 10:36:42 +01:00
matejcik
94b85efba1
python/debuglink: make pin sequences configurable
2020-02-12 10:36:42 +01:00
Tomas Susanka
f947fe97cc
core: fix style
2020-02-11 16:41:43 +01:00
Tomas Susanka
0a13f7a441
core: properly limit passphrase to 50 bytes
2020-02-11 15:39:08 +00:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
...
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
1ebaaa7e77
python/emulator: increase tolerances
...
This should help in CI where things can sometimes take a long time.
2020-02-11 13:20:35 +01:00
matejcik
a375460afc
python/emulator: fix timeout parameter in emulator.wait()
2020-02-11 13:20:35 +01:00
matejcik
3d1fefe38a
legacy: make sure nanopb_generator is ready
2020-02-11 13:19:37 +01:00
matejcik
05a1d6f771
core/debug: add "show arbitrary screen" capability, for easier prototyping
2020-02-11 11:53:34 +01:00
matejcik
8c75c94125
ci: ensure system Python 3.7 is used even if other pythons are available
2020-02-11 11:53:34 +01:00
matejcik
c01d04f26e
common/protob: drop a default field declaration
...
which triggers nanopb bug https://github.com/nanopb/nanopb/issues/487
2020-02-11 11:53:34 +01:00
matejcik
37ab510622
ci: remove sleeps for coverage, restore Monero
...
with the new emulator runner, this should be more stable
This reverts commit 1480f5a25c
.
2020-02-11 11:19:56 +01:00
matejcik
741c0c8888
core: improve stability of Monero test runner
2020-02-11 11:16:28 +01:00
Tomas Susanka
8a499b3067
ci: run coverage only for core
2020-02-10 16:12:46 +00:00
Tomas Susanka
f4c38af825
ci: use 'extends' instead of yaml anchors
...
We might refactor the ci folder a bit more using this but I believe it
is fine for now.
Should solve #835 .
2020-02-10 16:12:46 +00:00
matejcik
4b0d8d5f6d
python/trezorctl: tweak error message in get-session
2020-02-10 16:22:48 +01:00
matejcik
7f63cf28b0
python: only set session_id from Features on firmwares that send it
2020-02-10 16:15:45 +01:00
matejcik
6dace16033
python: update changelog
2020-02-10 16:14:27 +01:00
matejcik
d4343ad8b7
python/trezorctl: add get-session
2020-02-10 16:14:21 +01:00
matejcik
64838bca2d
tests: fix style
2020-02-10 15:44:13 +01:00
matejcik
8d93503c9c
python: do not send deprecated state in PassphraseAck on T1
2020-02-10 15:38:26 +01:00
matejcik
ff702c7d7f
common: add proper markers for deprecated messages
2020-02-10 15:38:26 +01:00
matejcik
41aa818c4c
tests: shut down test suite if no device is available
...
this seems better than erroring out dozens of tests
2020-02-10 15:38:26 +01:00
Tomas Susanka
82c7b56875
Merge pull request #837 from trezor/tsusanka/docs-build-update
...
Docs/core: Improve build section
2020-02-10 13:53:46 +01:00
Tomas Susanka
e4077e0634
docs/core: improve build section
2020-02-10 13:05:41 +01:00
matejcik
f7608f55ff
python: implement backwards compatibility for pre-2.3.0 firmwares
2020-02-10 13:01:47 +01:00
matejcik
cfe0e34215
tests: ignore trezor.log
2020-02-10 12:36:53 +01:00
matejcik
4c9689d7a7
common: return deprecated fields to protobuf, to allow cross-version compatible code
2020-02-10 12:35:28 +01:00
Pavol Rusnak
e58225fe02
core/boot: don't call mkfs in emulator
2020-02-07 15:30:21 +00:00
Pavol Rusnak
fdfa64ac2a
core/ui: fix HoldToConfirm redraw
2020-02-07 15:21:16 +00:00
Pavol Rusnak
32f8f1cb61
core/embed: update fatfs to 0.14; use upstream version
2020-02-07 15:21:16 +00:00
Tomas Susanka
56dc952495
common: fix PassphraseAck.on_device id
2020-02-07 14:19:01 +00:00
Pavol Rusnak
73ed2f3450
legacy: small nitpicks related to the new passphrase handling
2020-02-07 11:41:03 +00:00
Tomas Susanka
15ed5cd19e
core: do not clear cache on ClearSession
2020-02-07 11:41:03 +00:00
Tomas Susanka
da4743c234
tests/ui: regenerate records
...
It seems counterintuitive that we need to regenerate ui fixtures because
of some work on passphrase.
The reason is that we have changed where the state (now session id) is
generated. We have moved it to Features, so it is generated already
after the Initialize message is received. It used to be generated later
- during the PassphraseReq/Ack workflow and in some tests we ask for
randomness between those steps.
2020-02-07 11:41:03 +00:00
Tomas Susanka
5717e647ed
tests/device: remove test_expected_responses
2020-02-07 11:41:03 +00:00
matejcik
49727740bc
tests: remove unnecessary passphrase_on_host
2020-02-07 11:41:03 +00:00
matejcik
9c75e27433
tests: unify Ping replacements
...
for raw calls: just messages.GetAddress()
for library calls: btc.get_address(client, "Testnet", [0])
2020-02-07 11:41:03 +00:00
matejcik
a8cfa8fbed
tests: simplify ClearSession test
2020-02-07 11:41:03 +00:00
Tomas Susanka
fd0dc8ed66
core/passphrase: merge 'get from user' functions
2020-02-07 11:41:03 +00:00
Tomas Susanka
7d7ffe3b67
cardano: derive the root and then cache
2020-02-07 11:41:02 +00:00
matejcik
c9a6ada14f
tests: simplify and extend session_id test
2020-02-07 11:41:02 +00:00
matejcik
3fa99c0c6a
core/tests: add storage.cache tests
2020-02-07 11:41:02 +00:00
matejcik
938f347514
core: use DUMMY_CONTEXT constant instead of own instance
2020-02-07 11:41:02 +00:00
matejcik
d4171aaedc
core/tests: extract common await_result() method
2020-02-07 11:41:02 +00:00
matejcik
ee07b32f52
python: fix debuglink usage of get_passphrase
2020-02-07 11:41:02 +00:00
matejcik
1f50a13edf
core: use cache for Monero live refresh confirmation
2020-02-07 11:41:02 +00:00
matejcik
7513a65f9a
python: move passphrase-on-host logic to UI class
2020-02-07 11:41:01 +00:00
matejcik
23ad62e719
python: bump versions
2020-02-07 11:41:01 +00:00
Tomas Susanka
dc53df772f
python: passphrase on host is the default for T1
2020-02-07 11:41:01 +00:00