Tomas Susanka
ca3dd2bfb9
common: skip deprecated fields during generation; deprecate overwintered field in Zcash
2020-06-30 16:02:21 +02:00
matejcik
312d6ea822
python: fix padding in first chunk ( fixes #1082 )
2020-06-25 11:23:26 +02:00
Tomas Susanka
e534ae3ad7
legacy, core: rename Features.pin_cached to unlocked and unify
2020-06-19 21:26:36 +02:00
matejcik
6f53ca0ac6
core: rework wait_layout()
...
The original wait_layout was unreliable, because there are no guarantees
re order of arrival of the respective events. Still, TT's event handling
is basically deterministic, so as long as the host sent its messages
close enough to each other, the order worked out.
This is no longer the case with the introduction of loop.spawn: TT's
behavior is still deterministic, but now ButtonAck is processed *before*
the corresponding wait_layout, so the waiting side waits forever.
In the new process, the host must first register to receive layout
events, and then receives all of them (so the number of calls to
wait_layout must match the number of layout changes).
DebugLinkWatchLayout message must be version-gated, because of an
unfortunate collection of bugs in previous versions wrt unknown message
handling; and this interests us because upgrade-tests are using
wait_layout feature.
2020-06-04 16:18:46 +02:00
matejcik
5d823ff5ea
core: use ButtonRequestType.PinEntry for PIN entry
2020-06-04 16:18:46 +02:00
matejcik
bbfce4e303
common: introduce ButtonRequestType.PinEntry
2020-06-04 16:18:46 +02:00
matejcik
fc6c99c6f9
tests: disable PIN detection, all PIN uses must be explicit
2020-06-04 16:18:46 +02:00
matejcik
b68cc5abda
python/debuglink: implement use_pin_sequence support for trezor-core
2020-06-04 16:18:46 +02:00
matejcik
62ced317cd
python/debuglink: proto -> messages
2020-06-04 16:18:46 +02:00
matejcik
ee32806bb2
python/debuglink: add debuglink message logging
2020-06-04 16:18:46 +02:00
matejcik
6069173252
python/debuglink: clean out debuglink methods
2020-06-04 16:18:46 +02:00
matejcik
0600d87c8c
common: rename ClearSession to LockDevice, introduce EndSession
2020-06-04 16:18:46 +02:00
matejcik
83d3acb0a6
python: fix dead code in protobuf pretty-printing
2020-05-29 12:27:42 +02:00
Tomas Susanka
9dfc08ca61
core/bitcoin: drop decred_script_version
2020-05-21 19:14:39 +02:00
matejcik
29db769185
tests: update test vectors to use correct paths
2020-05-15 14:08:29 +02:00
matejcik
aeaa402b75
python: fix PASSPHRASE_TEST_PATH
2020-05-15 14:08:29 +02:00
Tomas Susanka
15e33b42c0
python: style
2020-05-05 07:05:53 +00:00
Serge
e900173b9c
python/trezorctl: del an outdated mesage
2020-05-05 06:46:49 +02:00
Serge
4e25c396d2
python/trezorctl: display embedded v2 image fingerprint ( fixes #977 )
2020-05-05 06:46:49 +02:00
matejcik
59f43514be
python: convert chunks to bytes when reading from hid
2020-05-04 10:16:15 +02:00
matejcik
7ebbccdbba
python/debuglink: support conditional expected_responses
2020-04-25 18:27:29 +02:00
matejcik
5885978c83
Merge branch 'release/2020-04'
2020-04-15 15:00:23 +02:00
Dusan Klinec
25b6e9058f
xmr: proto - add fields for protocol optimization
2020-04-13 22:19:56 +02:00
matejcik
c65b14cb2f
python: add information about incompatible changes to CHANGELOG
2020-04-09 12:49:29 +02:00
Jonathan Cross
f756bec0fe
Adding @jonathancross to AUTHORS
2020-04-06 10:11:08 +02:00
matejcik
f48cb4eff4
python: update changelog, release 0.12.0
2020-04-01 12:13:16 +02:00
matejcik
e2199f6099
python: update changelog, regenerate OPTIONS.rst
2020-03-26 11:30:06 +01:00
matejcik
1b50877545
tests: streamline TrezorFailure exception usage
2020-03-26 11:30:06 +01:00
matejcik
a40f1e00ed
python: add period at end of sentence
2020-03-26 11:30:06 +01:00
matejcik
2402853b9c
python: simplify outdated firmware warning (full message is still used in the exception)
2020-03-26 11:30:06 +01:00
matejcik
f52c087cb6
python/trezorctl: implement common client and exception handling ( fixes #226 )
2020-03-26 11:30:06 +01:00
matejcik
b440ca1ec5
python: drop deprecated name CallException
2020-03-26 11:30:06 +01:00
matejcik
7a85d93d94
python/debuglink: properly use session_counter for debuglink transport
2020-03-26 11:30:06 +01:00
matejcik
af05e0927f
python/trezorctl: nicer output for list-devices
2020-03-26 11:30:06 +01:00
matejcik
b801f1a9cf
python/trezorctl: help user find the right firmware version ( fixes #823 )
2020-03-26 11:30:06 +01:00
matejcik
2112da7ab5
python/trezorctl: send raw bytes to device ( fixes #116 )
2020-03-26 11:30:06 +01:00
matejcik
9a330f3475
python: unify protobuf-encoding code paths
...
Protobuf encoding now happens in TrezorClient, and transports get encoded blobs
to (chunkify and) send. This is a better design because transports don't need
to know about protobuf.
It also lays groundwork for sending raw bytes feature (#116 )
This commit also removes all vestiges of ProtocolV2 which was never used and
will probably need to be redesigned from the ground up anyway. The code is
still ready for protocol flexibility.
2020-03-26 11:30:06 +01:00
matejcik
22b167a961
python: update tools/build_tx.py
2020-03-26 11:30:06 +01:00
matejcik
9d29952a15
python: move out deprecated ckd_public
2020-03-26 11:30:06 +01:00
matejcik
5dfb01c25d
python: drop old Electrum compatibility code
2020-03-26 11:30:06 +01:00
matejcik
687c32e267
python: regenerate OPTIONS.rst
2020-03-26 11:30:06 +01:00
matejcik
fabd504b77
python: drop unnecessary parts of setup.py
2020-03-26 11:30:06 +01:00
matejcik
6ccf22225c
python: drop coins.json ( fixes #752 )
2020-03-26 11:30:06 +01:00
matejcik
325dae890e
python: completely drop trezorlib.coins and trezorlib.tx_api
2020-03-26 11:30:06 +01:00
matejcik
5a526888cf
python: move json_to_tx to btc.from_json, add test cases
2020-03-26 11:30:06 +01:00
matejcik
d2dd78f979
python: drop TxApi and coin specializations in json_to_tx
2020-03-26 11:30:06 +01:00
matejcik
208bac8653
common: drop capricoin blockbook servers
2020-03-26 11:30:06 +01:00
matejcik
ffdb299c61
all: drop Capricoin support [NO BACKPORT]
2020-03-20 14:19:30 +00:00
matejcik
e2035b4972
all: drop Horizen and BIP-115 support [NO BACKPORT]
2020-03-20 14:19:07 +00:00
matejcik
27803ee8c1
all: drop overwintered field from transaction
2020-03-20 14:18:27 +00:00