Andrew Kozlik
d3183776fa
chore(legacy): Add compile-time checks for msg_tiny sizes.
2021-03-17 22:34:26 +01:00
Roman Zeyde
78ab0a6a2d
feat(legacy): add public_key to ECDHSessionKey
2021-03-08 15:59:00 +01:00
Andrew Kozlik
443e0c101e
chore(common): Add orig_hash and orig_index fields to TxInput and TxOutput.
2020-10-23 15:07:15 +02:00
matejcik
0eed360037
chore: make tx type names shorter
...
as suggested by @andrewkozlik:
TxAckInputType -> TxInput
TxAckOutputType -> TxOutput
TxAckPrevTxType -> PrevTx
TxAckPrevInputType -> PrevInput
TxAckPrevOutputType -> PrevOutput
2020-09-23 16:00:10 +02:00
matejcik
5debebefc8
chore(legacy): update code to handle protobuf changes correctly
2020-09-23 16:00:10 +02:00
Andrew Kozlik
5d745d5d04
common/protob: Add commitment_data to TxInputType.
2020-09-08 19:36:10 +02:00
Andrew Kozlik
5c1f197602
common/protob: Add CancelAuthorization message.
2020-08-04 17:32:44 +02:00
Andrew Kozlik
2c30dd62fc
common: Add DoPreauthorized message.
2020-08-04 17:32:44 +02:00
Andrew Kozlik
bbab13f6e7
common/protob: Add AuthorizeCoinJoin message.
2020-08-04 17:32:44 +02:00
Pavol Rusnak
8dacad0782
core/bootloader: update protobuf definitions
2020-07-26 00:00:37 +02:00
Andrew Kozlik
533de50588
common/protob: Add GetOwnershipId message.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
956ea9a94f
common: Add ownership_proof field to TxInputType.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
c723c78529
common/protob: Add GetOwnershipProof message.
2020-07-03 11:17:19 +02:00
Andrew Kozlik
cc655575c8
common: Add witness field to TxInputType.
2020-07-03 11:17:19 +02:00
Tomas Susanka
ca3dd2bfb9
common: skip deprecated fields during generation; deprecate overwintered field in Zcash
2020-06-30 16:02:21 +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
e2035b4972
all: drop Horizen and BIP-115 support [NO BACKPORT]
2020-03-20 14:19:07 +00:00
matejcik
b916072389
common: restore PassphraseAck.state
2020-02-24 15:15:09 +01:00
matejcik
ddee77ecb6
core: add SD clearing via debuglink
2020-02-20 12:51:48 +01:00
matejcik
e61b7d28e9
all: do not send state in PassphraseAck (not needed for compatibility)
2020-02-13 15:44:50 +01:00
matejcik
0ec628ccd4
legacy: fix CALLBACK checker
2020-02-12 17:18:51 +01:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
...
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771
core/debug: add "show arbitrary screen" capability, for easier prototyping
2020-02-11 11:53:34 +01:00
matejcik
ff702c7d7f
common: add proper markers for deprecated messages
2020-02-10 15:38:26 +01:00
Tomas Susanka
041a95f738
legacy: new passphrase redesign draft
2020-02-07 11:40:59 +00:00
Pavol Rusnak
4647e7d686
core+legacy: use nanopb generator from pipenv
2020-02-04 17:15:25 +00:00
Tomas Susanka
eabd0da196
core/make; legacy: style
2020-01-03 14:28:27 +00:00
Tomas Susanka
51ef963738
tests: introduce UI tests for core
2020-01-03 14:28:27 +00:00
matejcik
9787e38206
legacy: properly omit LoadDevice in non-debug build
2019-11-13 16:48:35 +01:00
Pavol Rusnak
5fe2f7e59c
common/protob: remove ButtonRequest.data field
2019-10-24 11:11:43 +02:00
matejcik
34823b6fcb
legacy: add field options to fix build
2019-10-22 17:06:49 +02:00
Pavol Rusnak
3c20b1b1cd
legacy: Add SdProtect to SKIPPED_MESSAGES
2019-09-18 18:55:58 +02:00
Andrew Kozlik
091053507d
common/messages: Add credential management message.
2019-09-17 18:32:31 +02:00
Pavol Rusnak
42f030dbcd
legacy: refactor SKIPPED_MESSAGES in the Makefile
2019-09-05 17:11:22 +02:00
Pavol Rusnak
1a71c7a3e8
common: rename Features.features to Features.capabilities
2019-08-28 15:02:30 +02:00
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum
2019-08-20 14:38:31 +02:00
Tomas Susanka
accc33c8e6
legacy: replace load_device mnemonic to mnemonics
2019-07-24 17:04:54 +02:00
Pavol Rusnak
a978290d50
legacy: detect CALLBACK fields and fail build when found
2019-06-24 15:23:14 +02:00
Pavol Rusnak
848051efcf
legacy: don't process EthereumAddress.old_address via callback
2019-06-24 15:02:58 +02:00
Pavol Rusnak
684862a7f5
common: more TRX cleanup
2019-05-25 12:48:04 +02:00
Pavol Rusnak
236ca1ae83
legacy: enable Bitcoin only firmware
2019-04-27 16:16:33 +02:00
Pavol Rusnak
8b06598474
core+legacy: rework code styling checks
2019-04-18 17:40:55 +02:00
matejcik
6aa05f8a6f
MONOREPO MERGE trezor-mcu
2019-04-15 19:14:58 +02:00