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

Wrong password #431

Closed
ghost opened this issue Jan 7, 2018 · 20 comments
Closed

Wrong password #431

ghost opened this issue Jan 7, 2018 · 20 comments

Comments

@ghost
Copy link

ghost commented Jan 7, 2018

Created a new wallet from private keys... encrypted it with a password. That password works to unlock the wallet but when I go to export my private keys it will not accept the same password there, or anywhere else that requires a password in the wallet. 3.1.1

@ghost
Copy link
Author

ghost commented Jan 8, 2018

Still a mystery. I can open the wallet just fine with my password but nothing else accepts it. If I try to change the password I just get incorrect password warnings.

Are there any console commands I can try?

Any way to read the wallet info with another tool since I know the password?

@stachorsub
Copy link

I'm having exactly the same problem. Wallet opens fine, but all other password prompts produce error when using the wallet password, including sending... This happens in 3.1.2 as well. Any suggestions?

@yurkazaytsev
Copy link

@tchurch88 , @stachorsub can you share with me the next details:

  1. what type of distribution of electron-cash do you use (i mean, distro from site, building from source etc)
  2. what OS do you use (Windows, Linux, etc)

@ghost
Copy link
Author

ghost commented Jan 9, 2018

Windows distribution from the site.

Wallet was created with 3.1.1 and I am now on 3.1.2.

Tried with two computers, both Windows 10.

@stachorsub
Copy link

I have used the portable versions 3.1.1 and 3.1.2 (ElectronCash-3.1.2-PORTABLE.exe) from the site (https://www.electroncash.org/#download) on Win 7 64 bit.
Created default_wallet with [imorted_privkey] while claiming Bitcoin Cash from Bitcoin Core. The wallet has a password and is encrypted.

@ghost
Copy link
Author

ghost commented Jan 9, 2018

My wallet was created the exact same way as stachorsub.

@livestalker
Copy link

Same problem. How fix it?

@yurkazaytsev
Copy link

@livestalker will make a pull request soon.

@yurkazaytsev yurkazaytsev mentioned this issue Jan 10, 2018
@tamm2001
Copy link

I am also having this problem. Created wallet from electrum private keys. I can log in with password fine its when I try to send transaction I keep getting "incorrect password" error; I am using the same password I just logged in with. Is there a way to temporarily disable password? Thanks.

@yurkazaytsev
Copy link

@tamm2001 the problem solved in the last commit. I suppose it remains in windows version. You can try to do this steps in the app console for now (go to view/show console for it):

wallet.keystore.update_password(None,'your password here')
wallet.save_keystore()

Let me know if it helps

@tamm2001
Copy link

It worked! Thank you!!

@livestalker
Copy link

Cool! It is work! Thanks!

@stachorsub
Copy link

@fyookball @yurkazaytsev ... the console commands suggestion above did not work for me using 3.1.2 on Windows or on iOS. Here is the trace I get when running the first update_password command:

Traceback (most recent call last):
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/keystore.py", line 164, in check_password
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/keystore.py", line 179, in export_private_key
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/address.py", line 162, in from_WIF_privkey
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/address.py", line 149, in privkey_from_WIF_privkey
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/address.py", line 612, in decode_check
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/address.py", line 576, in decode
File "/Users/admin/Desktop/Electron-Cash.app/Contents/Resources/lib/python36.zip/electroncash/address.py", line 562, in char_value
electroncash.address.Base58Error: invalid base 58 character "0"

Is the fix #449 merged by @yurkazaytsev going to resolve the issue in v3.1.3?

@yurkazaytsev
Copy link

@stachorsub it should be resolved in v3.1.3. Let me know If it fails again in your case and we discover it again.

@stachorsub
Copy link

stachorsub commented Jan 13, 2018

@yurkazaytsev thanks for the confirmation. Any chance of having access to a beta / pre-release version of 3.1.3 Windows binaries (or iOS or both)? I'd be keen to verify that the fix works ahead of the production release..

@yurkazaytsev
Copy link

@stachorsub you can try to build it from source if you familiar with python and linux. Can yuo share the type of address you want to import? is it starts from 1?

@stachorsub
Copy link

@yurkazaytsev I was hoping to try an existing windows beta build.. Unfortunately I don't have the environment to build from python source. The address I imported indeed starts with 1. The issue I'm actually having is not the import, but sending the imported coins. I'm trying to send the coins which requires password validation and that is the part that is failing with "invalid password". In other words, I have imported/claimed some Bitcoin Cash, but I am unable to do anything else with it, due to the password validation issue.

@stachorsub
Copy link

@yurkazaytsev @fyookball quick update.. I built the windows 3.1.3 binaries from source with the latest updates/fixes done by @yurkazaytsev and I still get the same "Incorrect password" error when sending or trying to reset the wallet password. This error is preventing me from doing enything with the Bitcoin Cash in the wallet. The wallet balance is positive, history of imported/received BCH is there, but other than staring at it, there is not mych else I can do via Electron Cash. Can you guys help?

@stachorsub
Copy link

@yurkazaytsev @fyookball final update.. I don't know why it worked this time, but using the compiled 3.1.3, I went back to my original backup of the wallet after claiming the coins, I used the above "keystore.update_password..." commands again... and MAGIC - it worked. I managed to send all balance from the "troubled privkey import" wallet to another standard Electron Cash wallet. All good now. Happy days.

@bsvrus
Copy link

bsvrus commented Feb 19, 2018

I went to the password in my purse Electron cash portable (I have the amount there after the splitting of the cue balloons) and I want to transfer money (drove the address, amount, commission) I press and send the password as well as the input to the purse itself, but the password-message incorrect password . For the same password in the wallet came in, and I can not send money, what's going on?

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

6 participants