Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import wallet when password contains spaces? #306

Open
ckcollab opened this issue Apr 5, 2017 · 1 comment
Open

Can't import wallet when password contains spaces? #306

ckcollab opened this issue Apr 5, 2017 · 1 comment

Comments

@ckcollab
Copy link

ckcollab commented Apr 5, 2017

Heyo! Trying to import an old dogecoin wallet, one worked (woo!) but the other one with spaces in the password gives this error:

Error: Error parsing JSON:can

(can is the worst word in the password, something like can so and so do this and that yadda yadda is the actual password)

@tryphe
Copy link
Collaborator

tryphe commented Apr 5, 2017

Hey there. This is a pretty common bug with the RPC parser for most coins. It uses space as a delimiter so your password gets truncated, but the box where you first input the password doesn't.

A few people that have had this issue were able to use this python script to decrypt their wallet and dig their clams, however I've never used it. Check it out: https://github.com/jackjack-jj/pywallet

It looks like you can run something like python pywallet --wallet=/foo/bar/wallet.dat --passphrase="password" --dumpwallet="unencrypted_wallet.dat" to get your unencrypted keys out.
You should then be able to import the dumpwallet into clams without any password prompt.

Hope it helps. Let us know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants