MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.15k stars 1.1k forks source link

Support the eth_getEncryptionPublicKey and eth_decrypt methods #1807

Open dysbulic opened 4 years ago

dysbulic commented 4 years ago

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

mrenoon commented 3 years ago

Hi, is there any timeline for this feature yet?

rstormsf commented 3 years ago

We need this feature for our mobile users.

dysbulic commented 3 years ago

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

omnat commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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

mark-smartseal commented 2 years ago

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

ArcQ commented 2 years ago

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

shawnmitchell commented 2 years ago

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

joshuaohana commented 2 years ago

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 commented 2 years ago

Same!

ghost commented 2 years ago

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

jdbertron commented 2 years ago

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

avivash commented 2 years ago

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

davigp commented 2 years ago

same here, we are limited to desktop experience 🙁

curious about how we could help to implement eth_getEncryptionPublicKey for mobile

prtk418 commented 1 year ago

Is this feature being worked on?

avivash commented 1 year ago

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

https://github.com/ChainAgnostic/CAIPs/issues/132

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

mostafaamr137 commented 1 year ago

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

Porianesu commented 3 months ago

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

mark-smartseal commented 3 months ago

Would really love it if they were. It would be incredibly useful

On Tue, Jun 25, 2024, 3:23 AM Porianesu @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/MetaMask/metamask-mobile/issues/1807#issuecomment-2188170718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO2NTS3POX5JOBMT6NAV2ADZJELHLAVCNFSM6AAAAABJ3HFTDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBYGE3TANZRHA . You are receiving this because you commented.Message ID: @.***>