1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 05:58:09 +00:00
trezor-firmware/core
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
..
.changelog.d feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
assets MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
embed chore(crypto,core,legacy): Add return code to hdnode_fill_public_key(). 2021-11-01 16:39:53 +01:00
mocks feat(core): implement conversion from timestamp to datetime 2021-10-29 11:00:30 +02:00
prof style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
site_scons/site_tools/micropython style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
src feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
tests feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
tools style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
vendor move vendored submodules to root vendor/ dir 2019-05-13 13:51:53 +02:00
.dockerignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
.gitignore feat(core/monero): cache Monero testing chain between runs 2021-06-23 11:51:18 +02:00
.towncrier.template.md docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
asan_blacklist.txt core: asan config 2019-06-27 19:09:55 +02:00
AUTHORS MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
CHANGELOG.md docs(core): fix dates in changelog 2021-09-16 18:41:06 +02:00
CHANGELOG.unreleased docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
COPYING MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
emu.py feat(core/emu.py): erase profile when running emu.py -e 2021-05-06 13:14:21 +02:00
emu.sh core: remove src1 2020-08-03 15:59:57 +02:00
Makefile feat(core): add Rust UI components, layouts, text rendering 2021-10-07 15:01:55 +02:00
README.md ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
SConscript.boardloader chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.bootloader chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.bootloader_ci chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.firmware feat(core): implement conversion from timestamp to datetime 2021-10-29 11:00:30 +02:00
SConscript.prodtest chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.reflash chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.unix feat(core): implement conversion from timestamp to datetime 2021-10-29 11:00:30 +02:00
SConstruct core/bootloader_ci: fix typos in the previous commit 2020-08-21 14:47:35 +02:00
towncrier.toml docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00

Trezor Core

Firmware currently running on Model T.

See docs/core for more info.