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

Support the eth_getEncryptionPublicKey and eth_decrypt methods #1807

Open
dysbulic opened this issue Aug 31, 2020 · 20 comments
Open

Support the eth_getEncryptionPublicKey and eth_decrypt methods #1807

dysbulic opened this issue Aug 31, 2020 · 20 comments
Labels
community Issues or PRs opened by the MM community

Comments

@dysbulic
Copy link

dysbulic commented Aug 31, 2020

Describe the usability problem

Version 8 of the Metamask browser extension added eth_getEncryptionPublicKey to return a Curve25519 encryption key derived from the account's private key. Also, it added eth_decrypt to decrypt information encrypted with the aforementioned public key.

This page demonstrates the functionality in brief.

Expected behavior

These functions are not available in the mobile version. It would be very useful for my application is they were.


filled out after submission

User impact | Usage frequency | Feasibility scores
How important is this to the user, what the user wants to accomplish | Daily, weekly, monthly | Small, medium, large

@dysbulic dysbulic changed the title Include the eth_getEncryptionPublicKey and eth_decrypt methods Support the eth_getEncryptionPublicKey and eth_decrypt methods Aug 31, 2020
@mrenoon
Copy link

mrenoon commented Dec 15, 2020

Hi, is there any timeline for this feature yet?

@rstormsf
Copy link

We need this feature for our mobile users.

@dysbulic
Copy link
Author

Depending on the flexibility of your app, IDX has the ability to generate cyphertexts (JWEs) with keys associated with a $ETH account.

@omnat
Copy link
Contributor

omnat commented Feb 12, 2021

@mrenoon, no timeline yet. We'll update here when we plan for it.
Curious to hear which dapp you are working on, and how you intend to use the eth_getEncryptionPublicKey & eth_decrypt methods (your use-case / context of the app where this will be useful)

@rstormsf
Copy link

@omnat
Currently, app.tornado.cash uses both methods for storing encrypted private key on-chain. Encryption happens with metamask's public key for recovery.

@boyuanx
Copy link

boyuanx commented Jul 6, 2021

Our dApp (EthSign.xyz) also plans to use it to encrypt and decrypt AES keys that encrypt and decrypt various documents stored on IPFS.

@gantunesr gantunesr added the community Issues or PRs opened by the MM community label Sep 14, 2021
@mark-smartseal
Copy link

This feature would be extremely useful for my mobile dapp project. Is there any progress on making this available for metamask mobile?

@ArcQ
Copy link

ArcQ commented Dec 2, 2021

is this in the roadmap? we would love this feature as well

@shawnmitchell
Copy link

Yes please! Parity with the browser extension with respect to this functionality would be most appreciated!

@joshuaohana
Copy link

Would also love this feature on mobile. I use this to enable users to keep private data onchain and decrypt only with their private keys - makes my app unusable on mobile without it...

@amilich
Copy link

amilich commented Mar 25, 2022

Same!

@ghost
Copy link

ghost commented Apr 26, 2022

Our app on web is using eth_decrypt to decipher files. Would be amazing to have it working on mobile as well.

@jdbertron
Copy link

Hello ? Can we get some feedback for when this will be on the roadmap ?

@avivash
Copy link

avivash commented Jul 15, 2022

hi @omnat 👋🏼, has any progress been made on this? I need this for a Dapp I'm currently working on. Thanks!

@davigp
Copy link

davigp commented Sep 13, 2022

same here, we are limited to desktop experience 🙁

curious about how we could help to implement eth_getEncryptionPublicKey for mobile

@prtk418
Copy link

prtk418 commented Apr 22, 2023

Is this feature being worked on?

@avivash
Copy link

avivash commented Apr 22, 2023

Folks from brave, metamask and various other CASA members are discussing a chain agnostic way to implement this for all wallet clients here:

ChainAgnostic/CAIPs#132

and more actively here https://ethereum-magicians.org/t/eip-5630-encryption-and-decryption/10761/112

@mostafaamr137
Copy link

Hello ? Can we get some feedback for if this feature will ever be implemented ?

@Porianesu
Copy link

These two methods are still not supported now, is it possible to support them in the future.

@mark-smartseal
Copy link

mark-smartseal commented Jun 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues or PRs opened by the MM community
Projects
None yet
Development

No branches or pull requests