Hi! I have 5 bugs to report:
1) I get the following error when running "electrum addresses -k" with imported keys (and an unencrypted wallet). I strongly suspect that this is due to how tags are stored with imported keys. It manages to print all the keys that do not have tags until it reaches one that does. Then the error occurs. Furthermore, if I manually remove the tagged key from my wallet file, this error does not occur.
Traceback (most recent call last):
File "./electrum", line 364, in
addr += ':' + str(wallet.get_private_key_base58(addr, password))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/electrum/wallet.py", line 375, in get_private_key_base58
pk = self.get_private_key(address, password)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/electrum/wallet.py", line 386, in get_private_key
secexp = int( b.encode('hex'), 16)
AttributeError: 'bool' object has no attribute 'encode'
2) When my wallet
is encrypted, I experience the same problem as flatfly. I have done nothing nonstandard with my wallet file; I just imported a bunch of keys and tagged a few. (perhaps this is related to the above error?)
3) Additionally, I get this error when changing my password (which appears to work anyway, despite the error):
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/electrum/gui_qt.py", line 702, in
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/lock.png"), "Password", lambda: self.change_password_dialog(self.wallet, self) ) )
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/electrum/gui_qt.py", line 941, in change_password_dialog
wallet.update_password(seed, new_password)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/electrum/wallet.py", line 856, in update_password
b = self.pw_decode(a, password)
NameError: global name 'password' is not defined
These last two are the important ones4) When you "electrum -w
import :" followed by "electrum -w deseed" then "electrum -w addresses -k", is still displayed. I'm not sure if this is expected behavior, but at the very least there should be a caveat that offline wallets are currently incompatible with imported keys.
5) The secret keys of imported keys appear in plaintext in the wallet file when the wallet file is encrypted.
Thank you for the time you've put in creating this awesome software.