You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! I have been trying to perform PKE form sometime to share a secret between two users on-chain, but I couldn't find anything except a deprecated function for MetaMask that is eth_getencryptionpublickey.
Is there anything to go around this, maybe by signing messages and extracting what is needed from there?
A public key can be derived from a signature, but after that it's not possible to decrypt a message after encrypting it with that derived public key...
Any ideas? Or maybe metamask should add better support?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey! I have been trying to perform PKE form sometime to share a secret between two users on-chain, but I couldn't find anything except a deprecated function for MetaMask that is eth_getencryptionpublickey.
Is there anything to go around this, maybe by signing messages and extracting what is needed from there?
A public key can be derived from a signature, but after that it's not possible to decrypt a message after encrypting it with that derived public key...
Any ideas? Or maybe metamask should add better support?
Beta Was this translation helpful? Give feedback.
All reactions