1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00
trezor-firmware/common/protob
grdddj 73238135d6 feat(core/ethereum): EIP-712
Based on original contribution by Max Kupriianov <xlab@hey.com>

Implemented EIP-712 typed data signatures in Ethereum app.

Add eth_abi into pyproject deps

device test for EIP 712

fixed hex decoding for address

fixup! fixed hex decoding for address

code quality, more pythonic code, removing unused imports

running black and isort on changed files

trezorctl file input for EIP 712 data signing

fixup! code quality, more pythonic code, removing unused imports

fixup! fixup! code quality, more pythonic code, removing unused imports

necessary changes after rebase to master

unit tests for sign_typed_data.py

new protobuf messages, working for nonarray types

simplified and verified solution for our simple data

support for simple arrays, without their confirmation

reverting protobuf value messages to bytes, appropriate changes

showing arrays in Trezor, code quality improvements

data validation on Trezor, minor improvements

using custom types for storing type data instead of dicts, addressing feedback from review

moving helper functions to its own file, tests for decode_data

additional overall tests

support for arrays of structs

adding support for metamask_v4_compat variable

using HashWriter object to collect the final hash continously

minor improvements in code quality

validate_field_type function

streaming values from client without saving them, missing UI

prototype of streamed UI using confirm_properties

accounting for bytes in data, more data types in integration tests

rebase on master, using f-strings

minor fixes and improvements from code review

StructHasher class for the whole hashing process

mypy and style changes

asking users whether to show structs and arrays

protobuf descriptions to fix make defs_check

unifying comments, mypy fix

unit tests for StructHasher class

UI fixtures, skipping device tests for T1

addressing majority of code review comments about code quality and structure

changing file structure - layouts, helpers, sign_typed_data

decode_data renaming and docstring, renaming unit test file

using tuples instead of lists in elifs

layout improvements

excluding core/src/apps/common/confirm.py file from the PR

True/False returning layout with Show more button

code review layout improvements

forgotten br_type argument to should_show_more
2021-11-02 14:27:01 +01:00
..
.gitignore MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
check.py feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
graph.py style(all): fix pylint complaints 2021-10-27 13:13:15 +02:00
Makefile chore(common): remove Lisk 2021-08-19 10:25:41 +02:00
messages-binance.proto feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
messages-bitcoin.proto feat(common): Add script_pubkey field to TxInput message. 2021-10-18 19:58:56 +02:00
messages-bootloader.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-cardano.proto feat(cardano): update transaction signing for multisig 2021-10-11 15:16:24 +02:00
messages-common.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-crypto.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-debug.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-eos.proto feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
messages-ethereum-eip712.proto feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
messages-ethereum.proto feat(common): add default values to EthereumSignTx fields 2021-09-10 15:09:03 +02:00
messages-management.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-monero.proto xmr: proto - add fields for protocol optimization 2020-04-13 22:19:56 +02:00
messages-nem.proto feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
messages-ripple.proto feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
messages-stellar.proto feat(all): make Stellar timebounds required 2021-09-24 10:30:19 +02:00
messages-tezos.proto feat(common): set more fields as required (#1406) 2021-02-10 10:56:52 +01:00
messages-webauthn.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages.proto feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
pb2py refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
protocol.md refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00