1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-20 14:59:06 +00:00
trezor-firmware/legacy
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
..
bootloader build(legacy/bootloader): sort entries in Makefile 2021-11-29 17:54:59 +01:00
demo
emulator
firmware fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
gen style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
gitian
intermediate_fw fix(legacy/intermediate_fw): workaround for gcc-10.3 2021-11-22 11:18:51 +01:00
script style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
vendor build(legacy): build with secp256k1-zkp library 2021-11-18 19:05:40 +01:00
.dockerignore
.gitignore
buttons.c
buttons.h
common.c
common.h
compiler_traits.h fix(legacy): ignore compiler check for emulator 2021-11-09 13:50:50 +01:00
COPYING
flash.c
flash.h
layout.c fix(legacy): make bootloader fit into its region 2021-11-22 17:21:49 +01:00
layout.h feat(legacy): Use fixed font in SignMessage and VerifyMessage. 2021-11-10 17:35:57 +01:00
Makefile build(legacy): sort entries in Makefile 2021-11-29 17:54:59 +01:00
Makefile.include chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
memory_app_0.0.0.ld
memory_app_1.0.0.ld
memory_app_1.8.0.ld
memory_app_fastflash.ld
memory.c chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
memory.h
memory.ld
norcow_config.h
oled.c
oled.h
random_delays.c
random_delays.h
README.md
rng.c
rng.h
secbool.h
setup.c chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
setup.h
startup.S chore(legacy): rename MEMORY_PROTECT flag to PRODUCTION to match core naming (#2003) 2021-12-12 15:45:10 +01:00
supervise.c
supervise.h
timer.c
timer.h
usb21_standard.c
usb21_standard.h
usb_private.h
usb_standard.c
util.c
util.h
webusb_defs.h
webusb.c
webusb.h
winusb_defs.h
winusb.c
winusb.h

Trezor Legacy

Firmware currently running on Model One. If you are working on a new feature, you probably want to contribute this to Core.

See docs/legacy for more info.