eth-sig-util icon indicating copy to clipboard operation
eth-sig-util copied to clipboard

Decryption using shared secret support for hardware wallet

Open luall0 opened this issue 3 years ago • 1 comments

Hello there !

I've implemented decryptWithSharedSecret function that allow to decrypt encrypted data with an shared secret (that will allow to compute ephemeral private key) rather than the private key itself. This will be really helpfull for hardware wallet operation (you ask the hardaware wallet the shared secret and decrypt locally) because hadware wallet does not provide access to private key to decrypt data and are to rudimentary to process the decryption by itself.

This PR will permit me to finish EIP1024 decryption for ledger keyring (https://github.com/MetaMask/eth-ledger-bridge-keyring/)

Thanks you & ask anything you want !

luall0 avatar Jun 02 '22 16:06 luall0

Hello @Gudahtt sorry for pinging you, but looks like you are one of the main maintainer of this repo. Can we have a news on this ? Any question or remark ?

luall0 avatar Jun 21 '22 09:06 luall0