-
Notifications
You must be signed in to change notification settings - Fork 43
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
Signature & Encryption with Web3 #74
Comments
See vacp2p/rfc#373 Best to have few examples ready:
|
First version of Eth-DM done #204 Features:
|
Lots of work done with #179, using Waku Message version 1. Web3 API cannot really be used for encryption, except when using metamask. Re-focus this issue on web3 integration. |
Also, to investigate: In Eth-DM, the Eth-DM Public Key is signed with Ethereum account. |
Also ask Status team (keycard) to know what message encryption is possible. |
Did some research: https://forum.vac.dev/t/eip-191-signature-and-waku-message-version-1/94 |
Problem
DApp developers may need to setup private channels or end-to-end encryption for privacy purposes.
Generic symmetric, asymmetric encryption and signature is tracked with #179, using Waku Message version 1.
It is not clear at this stage how users can sign/encrypt with their Ethereum account.
Web3 API provides an API to sign messages
eth_sign
, some wallets such as Metamask provide an API to decrypt messages and retrieve Ethereum's account public key.Solution
Encryption of messages maybe limited to using Metamask's
eth_decrypt
API for now.The signature is not compatible with WakuMessage version 1 so a wrapper (and spec) will need to be provider.
Encryption with Metamask is unlikely to be compatible with version 1 but it should be investigated and documented.Confirmed, it uses a different encryption schema.DoD
Build PoC that signs messages as per Waku message version 1The text was updated successfully, but these errors were encountered: