Bitcoin Forum

Bitcoin => Electrum => Topic started by: Nancarrow on February 14, 2014, 11:01:15 AM



Title: [SOLVED]Seedless wallet still tells me private keys?
Post by: Nancarrow on February 14, 2014, 11:01:15 AM
Either this is a serious security issue or I've been badly misunderstanding what a 'seedless' wallet really is all this time.

In all my seedless wallets, I can right-click an address in the 'receiving' tab, select the 'Private key' menu option, and... it tells me the private key for that address, in wallet import format. Should it really be able to do that? I thought 'seedless' meant the same thing as 'watching only' which meant 'you can't spend from any of these addresses with this wallet because it doesn't have any of the private keys'?


Title: Re: Seedless wallet still tells me private keys?
Post by: Nancarrow on February 15, 2014, 12:34:36 AM
I'm going to bed now. It's bedtime where I'm at. The lack of any posts for twelve hours... unnerves me. Somebody please explain how I'm an idiot by the time I wake up.


Title: Re: Seedless wallet still tells me private keys?
Post by: JoelKatz on February 15, 2014, 12:38:00 AM
How did you create these seedless wallets? You're supposed to create them using only your public key, so retrieving the private key from them should be impossible.


Title: Re: Seedless wallet still tells me private keys?
Post by: Nancarrow on February 15, 2014, 01:13:03 AM
Huh, still up.

In all cases I ran "electrum -w <walletname> deseed" from a terminal window (ubuntu)

I have no idea how the 'master public key' works.

ETA: and just to be clear, I realise that that command leaves the original wallet untouched and creates a new file <walletname>.seedless - it's the latter file that's displaying the behaviour I'm talking about.


Title: Re: Seedless wallet still tells me private keys?
Post by: btcven on February 15, 2014, 02:43:31 AM
Are you sure you selected restore from Master Public Key?

Are you running the latest version?


Title: Re: Seedless wallet still tells me private keys?
Post by: TheButterZone on February 15, 2014, 03:08:14 AM
https://bitcointalk.org/index.php?topic=456688.0


Title: Re: Seedless wallet still tells me private keys?
Post by: Nancarrow on February 15, 2014, 09:39:12 AM
Are you sure you selected restore from Master Public Key?

Are you running the latest version?

No, I did it using the "deseed" command line option. BUT I have just tried it using the 'restore from mpk' way and it has the same result: I can still see the private keys. I'm using version 1.9 which I believe is the latest?


ETA: could someone just check if their electrum does the same thing? ie. use a seedless wallet, go to the receiving tab, right-click an address. Is there a menu option there to display the private key? Does it in fact do so? Can you verify that is the right private key for that address? For me it's 'yes' to all three questions. Am I right in thinking that this would be a serious flaw if it's replicated?


Title: Re: Seedless wallet still tells me private keys?
Post by: Nancarrow on February 15, 2014, 10:37:50 AM
Okay, I fixed it. It would appear this was a booboo in 1.9. Upgraded to 1.9.7 and all is well.


Title: Re: Seedless wallet still tells me private keys?
Post by: btcven on February 15, 2014, 04:20:25 PM
Okay, I fixed it. It would appear this was a booboo in 1.9. Upgraded to 1.9.7 and all is well.


Sometimes the new version notifier doesn't work properly, one should always update to the latest version to see if it fixes the issue