Post
Topic
Board Bitcoin Technical Support
Re: Old Bitcoin Wallet from 14. May 2014
by
HCP
on 25/02/2021, 20:56:55 UTC
Now the textdocument contains something like this:

'ecdsa' package is not installed, pywallet won't be able to sign/verify messages
ERROR parsing wallet.dat, type b'setting'
key data: b'\x07setting\x0caddrIncoming'
key data in hex: b'0920357474696e670c62264724966e36fdfd96e77'
value data in hex: b'd83b0200'


i have changed most letters for security reasons Cheesy

And powershell:

PS C:\Python27> python pywallet.py --dumpwallet --wallet=wallet.dat > wallet.txt
pywallet.py:22: UserWarning: Python 3 support is still experimental, you may encounter bugs
WARNING:root:pycrypto or libssl not found, decryption may be slow
Traceback (most recent call last):
  File "pywallet.py", line 2316, in parse_wallet
    item_callback(type, d)
  File "pywallet.py", line 2654, in item_callback
    if not json_db.has_key('settings'):
AttributeError: 'Bdict' object has no attribute 'has_key'
PS C:\Python27>


Possibly either a bug that jackjack has introduced while making the upgrades... or the wallet file has an unexpected key/data contained in it that is causing PyWallet to freak out. Looking at the current Pywallet issue list on github, I found this: https://github.com/jackjack-jj/pywallet/issues/27

So, it seems that you're not the only one having this problem... So, I would suggest you either use an older version, or wait until jackjack fixes this problem.

I have a fork of the old version here: https://github.com/HardCorePawn/pywallet

NOTES: It is NOT compatible with Python 3. It requires Python 2.7. Also, it uses the "old" command line format for recovery... so it needs the --datadir option again... but it doesn't try anything fancy and just ignores any "unknown" fields that it encounters... I've been able to dump pretty much any "valid" wallet using this version.