Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

"Wrong password" if multiple copies of keyfile in keystore-folder #780

Closed
yonilevy opened this issue Jun 5, 2016 · 21 comments
Closed

"Wrong password" if multiple copies of keyfile in keystore-folder #780

yonilevy opened this issue Jun 5, 2016 · 21 comments
Milestone

Comments

@yonilevy
Copy link

yonilevy commented Jun 5, 2016

Node type: geth
OS: osx
Network type: main
Mist version: 0.7.4

I've upgraded by Ethereum-Wallet OSX app from 0.7.2 to 0.7.4, right after making a successful transaction. I tried making another transaction, copy pasting the exact same password I've used before (both were copied from a clipboard manager, so they're exactly the same). In 0.7.4 I get the "Wrong Password" message.

I've checked the node.log file, nothing related there.

The console says Error: Transaction denied, with a bunch of network errors connecting to cryptocompare.com (which I really hope aren't related). Here's a screenshot:

image

I went back to 0.7.2 and re-tested-- it works fine there. It got broken somewhere between (0.7.2 and 0.7.4].

Might be worth noting my password contains some special characters including: $%&.

Would love to further assist in resolving this issue.

@alexvandesande
Copy link
Collaborator

We are changing a lot of the node connection on 0.7.5 so it might be resolved there. Please check back on the next release

@alexvandesande alexvandesande added this to the 0.7.5 milestone Jun 13, 2016
@yonilevy
Copy link
Author

@alexvandesande thanks, i'll update when 0.7.5 is out

@alexvandesande
Copy link
Collaborator

0.7.5 is out. Please update and open again if it persists.

@yonilevy
Copy link
Author

@alexvandesande tested on 0.7.5, still getting Wrong Password :(

@luclu luclu reopened this Jun 15, 2016
@marcusrbrown
Copy link

I've tried 0.7.5 for the first time, and after several successful transactions and attempting a new contract execution I get "Wrong Password". Instead of my wallet contract being shown as the sender and the contract I'm attempting to execute on being shown as the receiver, the last transaction's sender and receiver fields show up, and the Ether amount is 0.00 (I'm attempting to send 1500 Finney). I don't see any console errors in the developer tools.

It's alarming that I've been using the same password for every transaction (copied automatically out of my password manager), and I can't unlock the wallet contract from geth either. I'll try downgrading to 0.7.2.

@marcusrbrown
Copy link

That was a bust. After loading 0.7.2, my watched and wallet contracts are gone. The wallet contract, the one holding my either, was the one whose password all of the sudden stopped working. Switched back to 0.7.4 and it's the same. My Ether's now in the ether. Fuck.

Can anyone suggest an alternative Ethereum client? At least this one was pretty.

@marcusrbrown
Copy link

Is there any way I can attempt to recover the vanished wallet contract?

@luclu
Copy link
Contributor

luclu commented Jun 17, 2016

@igetgames you can reimport the wallet contract. Simply chose to create a new one and change its type to import. If you don't remember the address use a blockchain-explorer to look it up following your account's transactions.

paging @hiddentao (instance of mising db entries)

In the future please create a new issue for your specific question/problem.

@alexvandesande
Copy link
Collaborator

@yonilevy I had a similar issue with you and was able to fix it. Can you please check your keystore folder and see if you have multiple copies of the same key there? Try to move out all keys but the one you want to use

@alexvandesande alexvandesande modified the milestones: 0.8, 0.7.5 Jun 17, 2016
@luclu
Copy link
Contributor

luclu commented Jun 17, 2016

@alexvandesande I can confirm this reproduces the behaviour for me.
Also 0.7.2 is not affected.

@luclu luclu modified the milestones: 0.7.6, 0.8 Jun 17, 2016
@marcusrbrown
Copy link

This might be my issue:
https://www.reddit.com/r/ethereum/comments/4ngvb7/reminder_even_if_using_a_wallet_contract_be_sure/

I'm sending some coins from another wallet to my main account to see if my wallet contract shows up. I don't have any Ether in my main account so I don't have the button to create a new wallet contract. I have a couple of UX suggestions in that regard, I'll report those separately.

@alexvandesande
Copy link
Collaborator

@igetgames please post this in a separate thread, this is about the wrong password bug

@yonilevy
Copy link
Author

@alexvandesande i indeed had two duplicated keys/accounts. removing one didn't immediately solve the issue, but after a reboot it now works!

@marcusrbrown
Copy link

Yeah. If you have a 0 ETH balance in your main account, and you attempt to send funds to an external address from a wallet contract then you will be presented with a screen attempting to send a 0 ETH balance from your main account to your wallet contract, instead of the address you were attempting to send to. If enter your password and attempt to send, you get a "Wrong Password" message. Should I file those steps as a separate wrong password bug?

@luclu
Copy link
Contributor

luclu commented Jun 17, 2016

@igetgames your issue is not related to this one. Yours has its own thread here: #480
I will pool them soon. Just hang in there!

@marcusrbrown
Copy link

Fair enough. I don't get any info telling me that this is the problem, so the only information I had to go off of was the Wrong Password message. I'll file an issue for that flow separately. Thanks!

@luclu luclu changed the title "Wrong password" in 0.7.4, works fine in 0.7.2 "Wrong password" if multiple copies of keyfile in keystore-folder Jun 17, 2016
@luclu
Copy link
Contributor

luclu commented Jun 17, 2016

@alexvandesande geth doesn't allow for multiple copies of the same keyfile anymore. We might need to catch and handle this error with some prompt.

> personal.unlockAccount("6e4cabb35dbcdbe12e9389d0a91b7649da7427ff")
Unlock account 6e4cabb35dbcdbe12e9389d0a91b7649da7427ff
Passphrase:
multiple keys match address (/Users/ich/Library/Ethereum/keystore/UTC--2016-05-13T14-42-45.275876516Z--6e4cabb35dbcdbe12e9389d0a91b7649da7427ff, /Users/ich/Library/Ethereum/keystore/UTC--2016-05-13T14-42-45.275876516Z--6e4cabb35dbcdbe12e9389d0a91b7649da7427ff Kopie)

@molecular
Copy link

I'm running into this in 0.7.6, worked fine in 0.7.5

@luclu
Copy link
Contributor

luclu commented Jul 17, 2016

An alert has been added to the wallet: #664.

@luclu
Copy link
Contributor

luclu commented Jul 17, 2016

Fixed in 0.8.1. Please update.

@luclu luclu closed this as completed Jul 17, 2016
@lock
Copy link

lock bot commented Apr 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants