1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 22:18:13 +00:00
trezor-firmware/common/protob
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
..
.gitignore MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
check.py feat(core/ethereum): EIP-712 2021-11-02 14:27:01 +01:00
graph.py style(all): fix pylint complaints 2021-10-27 13:13:15 +02:00
Makefile chore(common): remove Lisk 2021-08-19 10:25:41 +02:00
messages-binance.proto style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
messages-bitcoin.proto chore(core): Increase maximum CoinJoin coordinator name length to 36 (2 lines). 2022-01-10 11:14:36 +01:00
messages-bootloader.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-cardano.proto feat(core/cardano): allow derivation type selection 2021-11-10 13:57:57 +01:00
messages-common.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-crypto.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-debug.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages-eos.proto style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
messages-ethereum-eip712.proto feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
messages-ethereum.proto fix(core,legacy): Fix domain-only ethTypedData 2022-01-14 14:22:46 +01:00
messages-management.proto chore: drop obsolete fw_vendor_keys field from Features 2022-01-03 14:23:58 +01:00
messages-monero.proto xmr: proto - add fields for protocol optimization 2020-04-13 22:19:56 +02:00
messages-nem.proto style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
messages-ripple.proto style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
messages-stellar.proto refactor(common & core & legacy): Stellar, rename StellarCreatePassiveOfferOp to StellarCreatePassiveSellOfferOp. 2021-11-04 13:16:29 +01:00
messages-tezos.proto style(core): full pyright-based type-checking 2022-01-07 21:41:17 +01:00
messages-webauthn.proto refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00
messages.proto feat(legacy): Implement EIP-712 signing 2021-12-19 20:36:30 +01:00
pb2py chore(python): replacing attrs with dataclasses 2021-11-26 16:28:49 +01:00
protocol.md refactor(common/protob): make bitcoin_only options file-level 2021-10-07 15:26:49 +02:00