1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-07 10:46:06 +00:00
trezor-firmware/python/src/trezorlib/cli
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
..
__init__.py feat(python): ScriptUI for trezorctl, reference client implementation 2022-01-12 14:52:01 +01:00
binance.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
btc.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
cardano.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
cosi.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
crypto.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
debug.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
device.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
eos.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
ethereum.py fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
fido.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
firmware.py style(python): fix typecheck issues 2022-01-07 21:41:17 +01:00
monero.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
nem.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
ripple.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
settings.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
stellar.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
tezos.py chore(python): regenerate GNU copyright headers 2021-12-07 16:55:58 +01:00
trezorctl.py feat(python): ScriptUI for trezorctl, reference client implementation 2022-01-12 14:52:01 +01:00