1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-24 07:18:09 +00:00
trezor-firmware/core
Alois Klink 5c4703c9bb fix(core,legacy): Fix domain-only ethTypedData
When doing Ethereum signTypedData, and the primaryType="EIP712Domain",
we completely ignore the "message" part and only sign the domain.

According to the community, this is technically allowed by the spec,
and may be used by ETH smart contracts to save on gas.

Test case generated by @MetaMask/eth-sig-util's library.

See: https://ethereum-magicians.org/t/eip-712-standards-clarification-primarytype-as-domaintype/3286
2022-01-14 14:22:46 +01:00
..
.changelog.d fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
assets MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
embed style(core): support AnyStr in all hash function arguments 2022-01-07 21:41:17 +01:00
mocks style(core): support AnyStr in all hash function arguments 2022-01-07 21:41:17 +01:00
prof style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
site_scons/site_tools/micropython build(core): exclude all "from typing" imports from build 2022-01-07 21:41:17 +01:00
src fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
tests fix(core): Fix proof of ownership sighash computation. 2022-01-10 11:14:36 +01:00
tools build(core): rewrite build_mocks with pathlib, add symlinks to ../mocks 2022-01-07 21:41:17 +01: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 style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01: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: update links in changelogs (#2013) 2021-12-17 14:53:21 +01: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 build: fully replace mypy with pyright 2022-01-07 21:41:17 +01:00
pyrightconfig.json style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01: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/rust): add support for T1 UI 2021-11-24 15:36:34 +01: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 build(core/emulator): build with -fPIE 2021-12-06 16:25:59 +01: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.