matejcik
1d3fa77ab6
debuglink: allow with-block without expected_responses
2018-10-10 13:15:28 +02:00
matejcik
ffff11a462
style: isort & autopep
2018-10-10 13:15:28 +02:00
matejcik
886d4f18f4
device_tests: sample usage of input_flow
2018-10-10 13:15:28 +02:00
matejcik
0f7f694914
debug: fix test_msg_applysettings
2018-10-10 13:15:28 +02:00
matejcik
c37bc9c38e
debug: improve infrastructure and expected message reporting
2018-10-10 13:15:28 +02:00
matejcik
fc7a76e2f3
tests: use stdlib mock instead of the third-party one
2018-10-10 13:15:28 +02:00
matejcik
a5abd70619
trezorlib: drop TrezorClientDebugLink from client.py
2018-10-10 13:15:28 +02:00
matejcik
06927e003e
trezorlib: get rid of TextUIMixin
...
This also moves DebugLinkMixin to debuglink.py and converts the mixin to
a subclass of TrezorClient (which is finally becoming a
reasonable-looking class). This takes advantage of the new UI protocol
and is ready for further improvements, namely, queuing input for tests
that require swipes.
The ui.py module contains a Click-based implementation of the UI
protocol. Use of callback_* methods has been limited and will probably
be cleaned up further (The contract has changed so we'll try to make
third party code fail noisily. It is unclear whether a backwards
compatible approach will be possible).
Furthermore, device.recovery() now takes a callback as an argument. This
way we can get rid of WordRequest callbacks, which are only used in the
recovery flow.
2018-10-10 13:15:28 +02:00
Pavol Rusnak
2277a9c754
src/apps/wallet/sign_tx: re-enable Decred
2018-10-10 13:00:36 +02:00
Matheus Degiovani
6d9157c4a5
decred: Return tree and version in insight api ( #319 )
2018-10-10 12:44:54 +02:00
Pavol Rusnak
4f18d53219
nix: add shell.nix
2018-10-08 15:56:16 +02:00
Pavol Rusnak
00ebbbb1f3
tests: add test in resetdevice for combination of display_random and no_backup
2018-10-08 15:54:28 +02:00
Pavol Rusnak
de12ad705c
src/apps/management/reset_device: don't show internal entropy when no_backup is set
2018-10-08 15:42:35 +02:00
Pavol Rusnak
3a4660ede2
reset: don't show internal entropy when no_backup is set
2018-10-08 15:39:55 +02:00
Pavol Rusnak
cd006026dd
Revert "tests: enable Decred tests for T2"
...
This reverts commit d49a38d80f
.
2018-10-08 14:34:26 +02:00
Pavol Rusnak
0d68711e47
Revert "src/apps/wallet/sign_tx: add support for Decred"
...
This reverts commit 7834d06aac
.
This reverts commit 335504ce5c
.
2018-10-08 14:29:59 +02:00
Pavol Rusnak
c395501d2d
trezorctl: add no-backup option to reset-device
2018-10-08 14:17:07 +02:00
matejcik
8341251064
tools: fix cointool.py dump that relied on a Click bug
2018-10-08 13:57:42 +02:00
Samad Sajanlal
4a9a517a7d
add GameCredits ( #213 )
2018-10-07 12:32:03 +02:00
Pavol Rusnak
335504ce5c
src/apps/wallet/sign_tx: small fixes to decred
2018-10-06 15:17:42 +02:00
Pavol Rusnak
d49a38d80f
tests: enable Decred tests for T2
2018-10-06 13:50:37 +02:00
Pavol Rusnak
6bced8bb54
style: fix F841 local variable is assigned to but never used
2018-10-06 13:38:30 +02:00
Matheus Degiovani
7834d06aac
src/apps/wallet/sign_tx: add support for Decred
2018-10-06 13:24:01 +02:00
Jonathan Cross
ed633dcbb5
Fixing typo in firmware_update ( #317 )
2018-10-05 13:19:47 +02:00
Pavol Rusnak
cb9182166e
reset: fix setting of needs_backup flag
2018-10-04 18:36:36 +02:00
Pavol Rusnak
9e3ae93796
src/apps/management: fix storage.load_mnemonic calls
2018-10-04 18:15:03 +02:00
Pavol Rusnak
0f62c817d5
tests: fix warnings in test_msg_resetdevice_nobackup.py
2018-10-04 18:04:37 +02:00
Pavol Rusnak
ad5aa03a2d
src/apps/common: regenerate coininfo
2018-10-04 17:53:29 +02:00
Jochen Hoenicke
b4c5b996a1
Fix Qt5/4 import strategy.
...
- Try Qt5 before Qt4.
- Handle all exceptions (a ValueError is thrown if the wrong Qt was
imported earlier)
2018-10-04 17:42:59 +02:00
Pavol Rusnak
3424f01ae7
tests: nitpicks in resetdevice_skipbackup, add resetdevice_nobackup
2018-10-04 17:40:53 +02:00
Pavol Rusnak
d2521de385
storage: implement no_backup option (aka seedless setup)
2018-10-04 17:36:44 +02:00
Pavol Rusnak
9749cb070b
storage: setNoBackup does not have to have parameter
2018-10-04 17:30:37 +02:00
Pavol Rusnak
4a0f0259d1
firmware: introduce seedless setup (aka no_backup)
2018-10-04 17:19:37 +02:00
matejcik
d859fe36f7
coins: pick correct field name for TxApi
2018-10-04 17:14:46 +02:00
Pavol Rusnak
22e06d5c43
vendor: update trezor-common
2018-10-04 16:43:07 +02:00
Pavol Rusnak
41e4a84b5b
protob: add Features.no_backup and ResetDevice.no_backup
2018-10-04 16:36:27 +02:00
Pavol Rusnak
1991d44e6b
nix: use gcc-arm-embedded-7 package in shell.nix
2018-10-04 15:14:08 +02:00
Pavol Rusnak
fcb6b1713c
nix: use gcc-arm-embedded-7 package in shell.nix
2018-10-04 15:13:32 +02:00
Tomas Susanka
8aa29ae1d6
style: new black release formats all hex numbers in uppercase
...
introduced in the new 18.9 version of black
2018-10-03 13:48:55 +02:00
Pavol Rusnak
ace3574769
embed/extmod/modtrezorconfig: update for T1
2018-10-02 21:19:36 +02:00
Pavol Rusnak
9beb6146e4
trezorhal: minor cleanup in touch for T1
2018-10-02 19:03:06 +02:00
Pavol Rusnak
ddbcd7400f
firmware: enable touch for T1
2018-10-02 18:08:44 +02:00
Pavol Rusnak
96ddcf39df
firmware: use separate source tree (src1) for T1 app code for now
2018-10-02 17:32:38 +02:00
Pavol Rusnak
0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events
2018-10-02 17:24:47 +02:00
matejcik
dbcc903e52
cardano: fix tests broken after binascii removal
2018-10-02 16:51:53 +02:00
Dusan Klinec
ff387ba716
build_mocks fix2
2018-10-02 16:50:52 +02:00
Dusan Klinec
29ee5dc80c
mock: fixes error in generated trezorcrypto mock
2018-10-02 16:50:44 +02:00
Pavol Rusnak
411c2a2b2a
trezorhal: enable USB on T1
2018-10-02 16:29:34 +02:00
matejcik
a66cf99b74
cosi: fix bug in signing code, make tests pass
2018-10-02 16:11:20 +02:00
matejcik
4ff5fb4492
build: drop rlp limitation for python<3.5
2018-10-01 14:04:40 +02:00