mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-19 00:29:03 +00:00
feat(legacy): disable ethereum transaction signing anti-exfil protocol
[no changelog]
This commit is contained in:
parent
af4434b334
commit
f9564318ef
@ -129,6 +129,13 @@ void fsm_msgEthereumSignTx(const EthereumSignTx *msg) {
|
||||
|
||||
CHECK_PIN
|
||||
|
||||
if (msg->has_entropy_commitment) {
|
||||
fsm_sendFailure(FailureType_Failure_ProcessError,
|
||||
_("Anti-exfil not supported"));
|
||||
layoutHome();
|
||||
return;
|
||||
}
|
||||
|
||||
const EthereumDefinitionsDecoded *defs =
|
||||
get_definitions(msg->has_definitions, &msg->definitions, msg->chain_id,
|
||||
msg->has_to ? msg->to : NULL);
|
||||
@ -151,6 +158,13 @@ void fsm_msgEthereumSignTxEIP1559(const EthereumSignTxEIP1559 *msg) {
|
||||
|
||||
CHECK_PIN
|
||||
|
||||
if (msg->has_entropy_commitment) {
|
||||
fsm_sendFailure(FailureType_Failure_ProcessError,
|
||||
_("Anti-exfil not supported"));
|
||||
layoutHome();
|
||||
return;
|
||||
}
|
||||
|
||||
const EthereumDefinitionsDecoded *defs =
|
||||
get_definitions(msg->has_definitions, &msg->definitions, msg->chain_id,
|
||||
msg->has_to ? msg->to : NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user