Mist: Not able to import used presale wallet

Created on 16 Feb 2016  Â·  65Comments  Â·  Source: ethereum/mist

I am used to import part of my presale ethers using Kraken's presale importing tool. There is 0.07 Ether left in my presale file. Trying to import this wallet into Mist gives me "wrong password" error.

Triage Bug

Most helpful comment

I tried to import my presale wallet recently and I thought I would encounter issues as I had used special characters in my password that have been mentioned here. Initially tried importing into Parity Wallet 1.7 by navigating to the following in its GUI Accounts > Account > Presale Wallet, but it gave me error [-32023] Could not create account.. I manually copied the .json format wallet file into ~/Library/Application Support/io.parity.ethereum/keys/ethereum but it still didn't appear in the GUI. I tried using Mist Wallet v0.9.0 instead and waited for the blockchain to synchronise, but it didn't offer a GUI option to import the presale wallet. I manually copied the .json format wallet file into ~/Library/Ethereum/keystore/ too. I followed some threads on https://forum.ethereum.org, and ended up downloading https://github.com/ryepdx/pyethrecover and used it to crack my password through brute force (I had simply entered the incorrect password). Initially I was using Geth 1.6 so to import the wallet from the command line I used geth wallet ethereum-wallet-<my_address>.json --password passwords.txt (if you're using Geth 1.7 then use get wallet import ... instead). If you get this far and you still can't view your presale account in a wallet like Parity Wallet or Mist Wallet then just use the Geth Wiki to check your account balance in Ether and perform other transactions from the command line.

geth account list
geth console
web3.fromWei(eth.getBalance(eth.coinbase),"ether")

All 65 comments

than thats probably it ;) -> wrong password.

It works for my one and others..

@frozeman No. If I try to re-import using Kraken's pre-sale import tool, my password is correct, and it shows I have 0.07 Ether left. If however I import the same file with same password, Mist gave me "wrong password" message.

This is the second user reporting a similar issue.

I'll implement a "show password" feature on the next version, so we can be sure it's not a password typing error..

@TT1943 unless there's some personal information, would you mind sweeping the money out of that account and then providing us the wallet and password to help us debug it?

Yep, got the same bug

Louis we are looking for a presale wallet giving that error to be able to debug it. Have you been able to empty it? If so, would you volunteer your file?

On Feb 20, 2016, at 23:53, Louis-Pierre Morin [email protected] wrote:

Yep, got the same bug

—
Reply to this email directly or view it on GitHub.

@alexvandesande sorry, the password I am using is personal, so might not proper to share it with you even if I emptify it. May be you could try to compare your code with what is written by Kraken to see whether there is any difference. The Kraken importing tool is open source too.

@TT1943 mist works completely different than the kraken tool and has other layers in between which could cause the issue.

The only real way to try it is when i can test it on my system myself.
Though i fully understand that you might not want to share your password. Maybe we find somebody else, who has a generated password, which he is ok to give away..

Sorry, It has a non random password.

Thanks

LP
……………………………………………..
Louis-Pierre Morin
tel: 514.317.2316 - cel: 514.815.4889
[email protected] - skype: nirom4889
www.proxee.ca

On Feb 21, 2016, at 8:42 AM, Alexandre Van de Sande [email protected] wrote:

Louis we are looking for a presale wallet giving that error to be able to debug it. Have you been able to empty it? If so, would you volunteer your file?

On Feb 20, 2016, at 23:53, Louis-Pierre Morin [email protected] wrote:

Yep, got the same bug

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/182#issuecomment-186824799.

@alexvandesande @frozeman I have the exact same issue described. I'd b happy to donate my presale wallet to science ;-) It's (almost) empty and the password is generated (has all sorts of special characters in it). Maybe that's the issue? Where do you like me to send the file to?

fabian at ethdev.com please thank you!

I have the same issue. My password is generated by Safari/Keychain Access consisted of uppercase and lowercase letters, hyphens and numbers.

I have the same issue. Has the issue been resolved yet?

I (and another friend who reported me) had also a problem importing the crowd sale file (wrong password). Using OSX 10.9.5. Tried with 3 different presale files. Using kryptokite wallet it worked than luckily. Please fix that urgently! It's really a shocking experience!

I'm getting this problem too, can't import presale wallet into mist due to wrong password error, but I know the password is correct because I can import the presale wallet into geth no trouble. I'm on 64 bit Linux Mint 17 with kernel 3.13.
It was a shocking experience for me too! It took a long time to figure out how to install geth and sync the blockchain to see that it worked ok there.

I just noticed the comment above about passwords containing "$", my failing password has a $ in it too...

Likewise. I just spent the morning freaking out. After using, https://github.com/ryepdx/pyethrecover I found that my password is in fact correct, despite Mist telling me otherwise.
Note: I use an exclamation mark in my password.

@frozeman Could it be that somehow pasting the contents of the clipboard is not quite working right in Mist? I was using a password manager to copy my password to the clipboard and then paste it into the password field.

I have the same issue, i will now try kraken to get my presale wallet in there, hopefully it will work there

Same issue for me. I checked my password using pyethrecover.py and it is indeed set to what I thought it was (after much worry). I've also checked that I can get the private key using pyethsaletool.py and that worked too. Mist tells me that the password is incorrect. The only character in my password that I could think might be causing the issue is the ! character.

If you can use the command line then you can import your presale using geth as this is likely a Mist issue. Follow the instructions at ethereum.org/cli and ethereum.org/ether

Sent from my iPhone

On Mar 12, 2016, at 17:49, Tom Kirkpatrick [email protected] wrote:

Same issue for me. I checked my password using pyethrecover.py and it is indeed set to what I thought it was (after much worry). I've also checked that I can get the private key using pyethsaletool.py and that worked too. Mist tells me that the password is incorrect. The only character in my password that I could think might be causing the issue is the ! character.

—
Reply to this email directly or view it on GitHub.

@alexvandesande: I really would expect that Ethereum devs gives higher priority to that issues! It does not give a good impression to the projects quality and reputation to react after 3 weeks to such an urgent issue by referring to the command line tools.
And you know, if 1 person reports an issue there are other 10 who don't. So the invisible damage is much larger.

Can you try the latest release? https://github.com/ethereum/mist/releases/tag/0.5.2

Nope same result with 0.5.2 unfortunately :-(

Is anyone getting the "your computers time is out of sync" error when updating from 0.5.1 to 0.5.2?

Never mind. I fixed my clock and now it working fine. Thanks

Syncing my clock didn't help me... in the end i imported the wallet using the command line tools as kraken didn't work for me either ... UX of that kind of sucked ;-)

(i used 0.5.1 fyi)

This is still broken in 0.5.2 on OS X. Kraken is able to open my wallet, Mist claims 'wrong password'

This is still broken for me too on 0.5.2 on OSX. Mist claims 'wrong password'

Can you try using the command line and see if you can import?
https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options#accounts

You can use the binary in Ethereum-Wallet.app/Contents/Frameworks/node/geth/geth

It worked via the command line.

You should consider adding a warning about this on the front page as I'm sure this is causing a lot of anxiety to your users.

Same issue. My password also contains a $ character.

I'm one more person unable to use the GUI wallet on Mac to access my presale wallet, due to an erroneous "wrong password" response (it has several "special characters").

I've tried a number of times to import my new pre-sale ether through mist wallet (on Mac) and it's still not working (wrong password error)...however it does work on the kraken site, so I know it's the correct pw. The pw has one "!" and the rest are characters and numbers all meeting the criteria.

I had this problem too. I switched to the command-line (geth) and my password worked. My password has special characters within it.

Same here. I can import the pre-sale wallet fine with kraken or via the command line. The special characters that it contains are % and /.

I had special caracters as well in mine

I spent some time testing out the latest mist import code and can confirm that inputting the password (with special characters) now works for me. Even copy-pasting the password into the field works. I modified geth so that it output the password sent to it from Mist and it is indeed receiving exactly what the user puts in.

I'm running on OS X. I'm wondering if this is only broken on other platforms. I'm now investigating to see whether it still works if I build the final distributable.

Has anybody else tried with the latest master?

I built the Mac distributable. So far, if I run it from the command-line password input works. If I double-click on the .app and run it directly password input fails.

I think I have figured out why this is happening.

When launching the app directly (i.e. not from terminal) geth is unable to use its preferred terminal library and so falls back to another input method, see https://github.com/ethereum/go-ethereum/blob/master/cmd/utils/cmd.go#L83. This results in the carriage return (\n) getting appended to the password as it's received and processed by geth, which results in an incorrect password error.

This is ultimately an issue in geth since I get the same problem using command-line geth if I disable it's preferred terminal input parser. I've raised a PR against geth -> https://github.com/ethereum/go-ethereum/pull/2369.

@frozeman If you like I can build geth with the fix for OS X and raise a PR for mist to replace the currently bundled geth.

@hiddentao thank you for figuring this out.
Can you build the geth for windows, mac and linux?

@frozeman Further discussion on the PR I raised indicates that (a) I need to test the fix on Windows to make sure it works there too, and (b) there is another PR that also fixes this issue and with tests too. As I commented there I'm wondering whether a better overall fix would be to make it possible to specify a password directly as part of the geth wallet import command. This would have the added benefit of making it easier to do the import from Mist.

Can we have a new release built with the updated geth in it please?

This change may affect other things and the go team is looking into this. Development cycles until release take a bit longer as some of us would like, but thats necessary to ensure we don't break other things.

If you need to import the presale wallet, you can always use the command line options: https://github.com/ethereum/go-ethereum/wiki/Command-Line-Options#accounts

Hey team - just letting you know that I hit this issue when importing my presale wallets today. No issues importing with geth though.

Recognise there may be some complexity in fixing this completely in the GUI.. but anything that can be done to make it a little less heart-stopping for users would be great - even if it's blocking imports into Mist and sending users to geth when a special character is entered.

Best of luck rectifying!

e: To provide some further information:
OSX 10.11.3
Mist 0.5.2
Password contained a few specials: ~!?

Same problem here with 0.5.2 running on Linux. Password has special characters ")". 100% sure the password was correct (copy and paste).

I was able to import via geth wallet import wallet.json without any problems.

Mist 0.6.0
Mac Os X
geth 1.3.5

I created an account with geth, send some ether on it, trying to move them with Mist give me wrong password. Trying to unlock the account from geth command line works so the password is correct

The wallet is already at 0.7.1, this issue has been addressed on more recent versions.

Guys I'm using Mac OS X 10.11.4 , Mist 0.7.4 , I've tried to upload de pre-sale file and still get the yellow "wrong password" message. My passwords contains "#" . any help would be greatly appreciated.

Thanks.

Have you seen above that using the command line seems to work in this situation? And there are other wallet solutions available that allow you to access your pre-sale wallet?

Please have a look over here for a summury: https://github.com/ethereum/mist/issues/669

moved here to keep things tidy (from @yrrv1980):

Hello Luclu, Thanks for all the help. We really appreciate it.

I'm running MAC OSX 10.11.4
Mist 0.7.4

I'm trying to import a pre sale file, but I'm getting the "Wrong Password" Message

According to your recommendations:

update to the latest version (link) -- check
make sure the keyboard-layout is correct -- check
no caps-lock is active -- check

Still does not work.

You might want to try using geth to check the password (see #669 or above as @misterdna pointed out):

...can't unlock your account in Ethereum-Wallet start geth with: geth{.exe} --unlock

Hi Guys, thanks for the help!!.

 I'm following the instructions to import the pre sale file using geth, but now I'm getting this error message: 

Macintosh:~ usr$ geth wallet import Json-file
Passphrase:
Fatal: could not decrypt key with given passphrase

I'm 100% sure I'm typing the password correctly. Any thoughts?..

@yrrv1980 Sorry about the late reply. Did you resolve the issue in the end? Importing from the command-line should work without fail if your password is correct.

@uwefassnacht sorry for hijacking this thread a bit - if you wouldn't mind donating a copy to a (different) implementation that we're trying to sort out a particular bug here - we'd appreciate it. tomasz (at) zerado (dot) com

@qdotme you can use this test presale wallet.

I'm just curious, how many here still can't open their presale wallet?

@onepremise I still can't access my ethereum presale wallet

@qdotme that's odd, the ethereum wallet file I have from the 2014 presale looks nothing like https://github.com/luclu/ethereum-keyfile-recognizer/blob/master/test/keyfiles-valid-instances.json

Mine is in this format:

{"encseed": ...
"bkp": ...
"ethaddr": ...
"btcaddr": ...
"email": ...
}

No nested maps, just that one flat one, 5 key/value string pairs.

EDIT: the "presale" key does match that with the exception of not having the "bkp" key in the test reference file, versus in an actual wallet.

@rplevy I have the same format with my pre-sale wallet. Have had no luck importing it, and pretty much given up. I get anxiety attempting the import of JSON file, knowing how much is in it, and not being able to access it. I'll keep chipping at it though lol

@onepremise Yes, still issues for me.

I tried to import my presale wallet recently and I thought I would encounter issues as I had used special characters in my password that have been mentioned here. Initially tried importing into Parity Wallet 1.7 by navigating to the following in its GUI Accounts > Account > Presale Wallet, but it gave me error [-32023] Could not create account.. I manually copied the .json format wallet file into ~/Library/Application Support/io.parity.ethereum/keys/ethereum but it still didn't appear in the GUI. I tried using Mist Wallet v0.9.0 instead and waited for the blockchain to synchronise, but it didn't offer a GUI option to import the presale wallet. I manually copied the .json format wallet file into ~/Library/Ethereum/keystore/ too. I followed some threads on https://forum.ethereum.org, and ended up downloading https://github.com/ryepdx/pyethrecover and used it to crack my password through brute force (I had simply entered the incorrect password). Initially I was using Geth 1.6 so to import the wallet from the command line I used geth wallet ethereum-wallet-<my_address>.json --password passwords.txt (if you're using Geth 1.7 then use get wallet import ... instead). If you get this far and you still can't view your presale account in a wallet like Parity Wallet or Mist Wallet then just use the Geth Wiki to check your account balance in Ether and perform other transactions from the command line.

geth account list
geth console
web3.fromWei(eth.getBalance(eth.coinbase),"ether")

Hi all. Did you manage to recover your funds from presale wallets?

@uwefassnacht, I'm one of the current maintainers of Mist. Are you still willing to share your presale wallet so we can further investigate this password issue?

if so, please email me: ev [at] ethereum [dot] org

Fix for me: Use the json file to extract the private key. Then import the private key. For converting I used

pip3 install web3
from web3.auto import w3
with open("~/.ethereum/rinkeby/keystore/UTC--2018-06-
10T05-43-22.134895238Z--9e63c0d223d9232a4f3076947ad7cff353cc1a28")
as keyfile:
... encrypted_key = keyfile.read()
... private_key = w3.eth.account.decrypt(encrypted_key,
'password')

geth account import privekey-file.txt

credits:

Hi all. Did you manage to recover your funds from presale wallets?

@uwefassnacht, I'm one of the current maintainers of Mist. Are you still willing to share your presale wallet so we can further investigate this password issue?

if so, please email me: ev [at] ethereum [dot] org

I managed to extract mine, used the service at https://keychainx.io

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Scrooge69 picture Scrooge69  Â·  3Comments

chanukya246 picture chanukya246  Â·  5Comments

PacketSmuggler picture PacketSmuggler  Â·  3Comments

jaumevn picture jaumevn  Â·  5Comments

brandoncurtis picture brandoncurtis  Â·  4Comments