Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message signatures from WalletConnect are not supported, return METHOD_NOT_SUPPORTED #320

Closed
rheeger opened this issue Jun 15, 2021 · 1 comment

Comments

@rheeger
Copy link

rheeger commented Jun 15, 2021

Context / issue

Many dapps in the defi space require a message to be signed by the user's wallet in order to access user-specifc material or views. When using a Gnosis Safe, logging into these applications is not possible as the web3.eth.personal.sign() method is not available. If possible, please support message signatures via Gnosis Safe.

Proposed solution

Enable Gnosis Safes to sign messages on behalf of the contract address.

Alternatives

Allow for an owner of the Safe to supply a signature that can be passed as an alternative to a signature from the Safe.

Additional context

I imagine this is challenging as safes are contracts and not addresses w/ Public/Private Key pairs, but this is a frequent functionality that breaks usability for many defi apps that rely on message signatures to authenticate users. Gnosis should have a authentication method available to it that can communicate back to WalletConnect and the associated application.

@rmeissner
Copy link
Member

rmeissner commented Jul 5, 2021

Hey, this issues is related to support of contract signatures in the Safe interface/ Safe Apps SDK.

On contract level you can use EIP-1271 to generate contract signatures. (See https://github.com/gnosis/safe-contracts/blob/main/CHANGELOG.md#move-eip-1271-logic-to-fallback-handler)

Please open an issue on the repository where you want to see this.

Related issues:
safe-global/safe-react-apps#87
#46
#223
#241

Related repositories:
https://github.com/gnosis/safe-react
https://github.com/gnosis/safe-react-apps
https://github.com/gnosis/safe-apps-sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants