1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00
trezor-firmware/core/src
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
..
apps fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
storage style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
trezor fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
.gitignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
all_modules.py style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
all_modules.py.mako fix(core): bitcoin-only all_modules.py 2021-10-07 15:26:49 +02:00
boot.py refactor(core): disable SD, SBU, fatfs for T1 build 2021-08-20 12:22:13 +02:00
main.py refactor(core): improve clarity in main.py 2021-05-06 13:14:21 +02:00
session.py feat(core): avoid restarting session for select messages (fixes #1631) 2021-06-01 14:07:29 +02:00
typing.py style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
usb.py style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00