ETH-Berlin-2024-Team / NFT-Steganography

0 stars 0 forks source link

Problem: decryption currently needs acces to private keys #4

Open sgerodes opened 1 month ago

sgerodes commented 1 month ago

Our current process need acces to PKs. Nobody will give us those.

sgerodes commented 1 month ago

Noahs & Chatgpt solution to that. It seems that metamask can decrypt with the PK without revealing it. https://chatgpt.com/share/856b5d4a-9db2-4ba7-8fe3-f20e643c2542

sgerodes commented 1 month ago

Here is the documenataiton for the solution https://docs.metamask.io/wallet/reference/eth_decrypt/

sgerodes commented 1 month ago

The method is deprecate though. Here is a stackoverflow question that give more insights https://ethereum.stackexchange.com/questions/148254/now-that-eth-decrypt-and-eth-getencryptionpublickey-are-deprecated-is-there-a-g