MyEtherWallet / etherwallet

https://vintage.myetherwallet.com
MIT License
2.35k stars 1.72k forks source link

Encryption key recovery plan #32

Closed raineorshine closed 8 years ago

raineorshine commented 8 years ago

Is there any documentation about how to encrypt/decrypt the private key on our own? I'm considering the case where I have stored the encrypted private key (and have memorized the password) and myetherwallet disappears for some reason. How would I recover my private key in that case?

Great wallet, btw, love the simplicity and ease-of-use. :+1:

tayvano commented 8 years ago

The easiest way is to download the repo and save it along with your backups. You can run it locally and do everything you would normally do on myetherwallet.com.

Honestly, it costs us almost nothing to keep it online though. It's hosted by Github. Even if we stop don't renew the myetherwallet.com domain, it'll still be available here on Github and on the default github URL http://kvhnuke.github.io/etherwallet/

tayvano commented 8 years ago

There is also this library that may interest you. https://github.com/axic/ethereumjs-wallet

raineorshine commented 8 years ago

Okay, I will try to run it locally. If that works that should be sufficient. In some sense it would be nice to isolate that encryption component or have it documented somewhere so I know what exactly is happening to my private key. I may submit a pull request if I find the corresponding code and have time to write up some documentation. Thanks. On Mon, Mar 21, 2016 at 10:31 AM Taylor Van Orden notifications@github.com wrote:

There is also this library that may interest you. https://github.com/axic/ethereumjs-wallet

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/kvhnuke/etherwallet/issues/32#issuecomment-199368186

tayvano commented 8 years ago

I wanted to give an update on this issue before we close.

Starting this weekend, we will be moving to the same type of encryption geth / Mist uses. This means that if MyEtherWallet goes down for any reason (and even if it doesn't) you can easily move your encrypted key to Mist / geth without needing to do anything further.

raineorshine commented 8 years ago

@tayvano Does this change affect previously encrypted keys?

tayvano commented 8 years ago

If you have an encrypted key from V1 you will be able to use it to create a new geth / mist version of the encrypted key on V2.

You will always be able to access your original encrypted V1 keys via MyEtherWallet no matter what.

raineorshine commented 8 years ago

Okay, thanks!

On Thu, Apr 14, 2016 at 2:21 PM Taylor Van Orden notifications@github.com wrote:

If you have an encrypted key from V1 you will be able to use it to create a new geth / mist version of the encrypted key on V2.

You will always be able to access your original encrypted V1 keys via MyEtherWallet no matter what.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/kvhnuke/etherwallet/issues/32#issuecomment-210132394