8000 Add support for EIP712 version in domain hash · Issue #920 · safe-global/safe-smart-account · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Add support for EIP712 version in domain hash #920
Open
@BigMurry

Description

@BigMurry

Context / issue

Currently, when offline signing EIP712 messages, the domain hash only includes the chain ID and verifyContract. If users are unsure whether they have previously signed potentially dangerous messages and wish to invalidate all historical signed messages at once, there is no quick method to achieve this. The only solutions are to either replace the Safe contract address or change the signer, both of which are highly inefficient.

Proposed solution

The solution can be resolved by introducing a user-customizable version string into the EIP712 domain hash. Once the Safe contract allows users to configure this value, it can be recommended that users periodically update this version identifier in the future. By doing so, all previously signed messages tied to older versions would be invalidated in one go, achieving risk isolation and future-proofing their security posture.

< 4B43 /div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0