Electrum: seed is 0 length / empty

0

I installed electrum a while back and noted down the 12 word seed. Haven't used it for a few months, but now when I go to view my seed (clicking on the seed icon on the bottom right of the GUI), it asks for my password, and then the dialogue says:

"Your wallet generation seed is:"

And the text box below is completely empty, underneath which it says:

"Please write down or memorize these 0 words (order is important)..."

A bit concerned my seed seems to have vanished. Any suggestions?

Richard H

Posted 2015-02-09T22:26:42.230

Reputation: 121

Odd. Can you still use your wallet?Nick ODell 2015-02-09T23:35:58.737

@Nick See my answer below!Richard H 2015-02-20T15:13:13.220

Answers

1

Answering my own question: appears I have uncovered a bug in electrum. The password I was entering was incorrect: the last 2 characters were wrong. However if I entered a completely wrong password I did get an "incorrect password" error, and the seed dialogue did not open.

Discovered by virtue of the command line console which did report incorrect password error when I entered the first wrong-by-two characters password.

Richard H

Posted 2015-02-09T22:26:42.230

Reputation: 121

2

ThomasV

Posted 2015-02-09T22:26:42.230

Reputation: 206

I'm having trouble understanding how that commit is related to the asker's problem. Could you elaborate?Nick ODell 2015-03-08T05:36:06.147

1The asker was entering a wrong password, but instead of raising an exception the AES module was returning an empty string and that empty string was displayed as the seed. That commit replaces the faulty strip_PKCS7_padding function in the AES module, by a custom one that raises an exception.ThomasV 2015-03-25T10:32:39.513

Ah, that makes sense!Nick ODell 2015-03-25T10:52:24.160