<p>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. </p>

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

CC BY-SA 3.0
2015-02-20T15:12:35.970Z
2015-02-20T15:12:35.970Z
Richard H
<p>it is most likely this bug, fixed now: 
<a href="https://github.com/spesmilo/electrum/commit/059d381ba8cfed0b4c00cb9b4ec1ff13293de74c" rel="nofollow">https://github.com/spesmilo/electrum/commit/059d381ba8cfed0b4c00cb9b4ec1ff13293de74c</a></p>

CC BY-SA 3.0
2015-03-08T05:36:06.147Z
I'm having trouble understanding how that commit is related to the asker's problem. Could you elaborate?
Nick ODell
CC BY-SA 3.0
2015-03-25T10:32:39.513Z
The 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
CC BY-SA 3.0
2015-03-25T10:52:24.160Z
Ah, that makes sense!
Nick ODell
CC BY-SA 3.0
2015-03-08T03:41:00.267Z
2015-03-08T03:41:00.267Z
ThomasV
<p>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: </p>

<p>"Your wallet generation seed is:"</p>

<p>And the text box below is completely empty, underneath which it says:</p>

<p>"Please write down or memorize these 0 words (order is important)..."</p>

<p>A bit concerned my seed seems to have vanished. Any suggestions?</p>

CC BY-SA 3.0
2015-02-09T23:35:58.737Z
Odd. Can you still use your wallet?
Nick ODell
CC BY-SA 3.0
2015-02-20T15:13:13.220Z
@Nick See my answer below!
Richard H
<electrum><seed>
Electrum: seed is 0 length / empty
Richard H
# Electrum: seed is 0 length / empty

(Asked by: username_0 on 2015-02-09)

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?

**Tags:** electrum, seed

> **Comments:**
> **username_1**: Odd. Can you still use your wallet?  
> **username_0**: @username_1 See my answer below!  

---

## 2 answers

### Answer by username_0 on 2015-02-20. Score: 1 | Accepted answer

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.


---

### Answer by username_2 on 2015-03-08. Score: 2

it is most likely this bug, fixed now:
<https://github.com/spesmilo/electrum/commit/059d381ba8cfed0b4c00cb9b4ec1ff13293de74c>

> **Comments:**
> **username_1**: I'm having trouble understanding how that commit is related to the asker's problem. Could you elaborate?  
> **username_2**: The 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.  
> **username_1**: Ah, that makes sense!  

---

