etherwall icon indicating copy to clipboard operation
etherwall copied to clipboard

Password change for Wallet

Open UGatgithub opened this issue 8 years ago • 7 comments
trafficstars

Another improvement proposal. According to https://github.com/ethereum/go-ethereum/wiki/Managing-your-accounts it seems to be possible to change a wallet password using geth but that's not very user friendly and so far I found no implementation of this feature in an official wallet (mist or ethereum wallet). Would be good if Etherwall could offer this functionality! —— Account update

$ geth account update a94f5374fce5edbc8e2a8697c15331677e6ebf0b Unlocking account a94f5374fce5edbc8e2a8697c15331677e6ebf0b | Attempt 1/3 Passphrase: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b Account 'a94f5374fce5edbc8e2a8697c15331677e6ebf0b' unlocked. Please give a new password. Do not forget this password. Passphrase: Repeat Passphrase: 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b

UGatgithub avatar Aug 12 '17 20:08 UGatgithub

Good idea, will look into it.

almindor avatar Aug 13 '17 07:08 almindor

So this is actually hard to do due to how geth implements it.

They didn't provide any IPC way of doing a password change and the cmdline way only works if geth is not running. I'll have to postpone this until they either add the IPC support, or Etherwall moves off (local) geth completely.

almindor avatar Aug 15 '17 07:08 almindor

OK, I understand. Just a thought: Wouldn't it be possible to stop Geth (informing the user with a related Do you want to proceed Yes/No dialog), changing the PW if Yes and then re-starting Geth?

UGatgithub avatar Aug 15 '17 09:08 UGatgithub

That's just too insecure. I want to decouple Etherwall from geth in the future, thin client was the 1st step. NExt one is account management directly via etherwall (geth compatible of course)

almindor avatar Aug 15 '17 09:08 almindor

Understood, so no local geth with the complete blockchain downloaded in future meaning more centralization of the blockchain ...

UGatgithub avatar Aug 15 '17 10:08 UGatgithub

I think I'll leave the option of using local geth for full node but it will become somewhat unrealistic for normal people to run a full node soon unless they can aggressively prune the DB.

almindor avatar Aug 15 '17 11:08 almindor

I'm also considering a smart-contract based "run a node for etherwall" solution.

almindor avatar Aug 15 '17 11:08 almindor