1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-26 23:32:03 +00:00
trezor-firmware/legacy/firmware
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
protob chore: drop obsolete fw_vendor_keys field from Features 2022-01-03 14:23:58 +01:00
u2f
.gitignore
.towncrier.template.md
bl_check.c chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
bl_check.h
bl_data.py
bootloader.dat
CHANGELOG.md docs: update links in changelogs (#2013) 2021-12-17 14:53:21 +01:00
CHANGELOG.unreleased
coin_info.c.mako
coin_info.h.mako
coins.c
coins.h
config.c
config.h
crypto.c
crypto.h
debug.c
debug.h
defs
ethereum_networks.h.mako
ethereum_tokens.c.mako
ethereum_tokens.h.mako
ethereum.c fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
ethereum.h feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
fsm_msg_coin.h
fsm_msg_common.h
fsm_msg_crypto.h
fsm_msg_debug.h
fsm_msg_ethereum.h fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
fsm_msg_nem.h fix(legacy/nem): remove checks for newly required protobuf attributes 2022-01-07 21:41:17 +01:00
fsm_msg_stellar.h
fsm.c fix(legacy): prevent handling RebootToBootloader recursing by flushing USB write 2021-12-07 17:00:43 +01:00
fsm.h feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
gettext.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
header.S MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
layout2.c feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
layout2.h feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
Makefile
messages.c
messages.h
nem2.c fix(legacy/nem): remove checks for newly required protobuf attributes 2022-01-07 21:41:17 +01:00
nem2.h
nem_mosaics.c.mako fix(legacy/nem): remove checks for newly required protobuf attributes 2022-01-07 21:41:17 +01:00
nem_mosaics.h.mako
otp.c
otp.h
pinmatrix.c
pinmatrix.h legacy, tests: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
protect.c
protect.h
recovery-table.h
recovery.c
recovery.h
reset.c
reset.h
signing.c
signing.h
stellar.c refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 2021-11-04 13:16:29 +01:00
stellar.h
towncrier.toml
transaction.c fix(legacy): Fix transaction weight calculation. 2021-11-18 22:39:32 +01:00
transaction.h
trezor.c
trezor.h
u2f_knownapps.h.mako
u2f.c
u2f.h
udp.c fix(legacy): prevent handling RebootToBootloader recursing by flushing USB write 2021-12-07 17:00:43 +01:00
usb.c fix(legacy): prevent handling RebootToBootloader recursing by flushing USB write 2021-12-07 17:00:43 +01:00
usb.h fix(legacy): prevent handling RebootToBootloader recursing by flushing USB write 2021-12-07 17:00:43 +01:00
version.h chore(legacy/firmware): bump version to 1.10.6 2022-01-03 12:40:06 +01:00