Bitcoin Forum
July 06, 2024, 12:36:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: AttributeError: function 'EVP_aes_256_cbc' not found when running pywallet.py  (Read 1152 times)
jasontaylor7 (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
February 10, 2014, 06:20:57 PM
 #1

Hi gang.

This post is about an error I got when attempting to run pywallet.py, a python program that can be used to fix corrupt wallet.dat files.  Here is the output pasted from an XP cmd window:

Code:
C:\pywallet-master>pywallet.py --recover --recov_device c:\ancwallet.dat --recov
_size 30Gio --recov_outputdir c:\recoveredwalletdir
Enter the passphrase for the wallet that will contain all the recovered keys: password

Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase: password
Possible passphrase:

Starting recovery.

Read 0.0 Go in 0.0 minutes

Found 1 possible wallets
Found 435 possible encrypted keys
Found 0 possible unencrypted keys

Possible wallet #1
    with passphrase #1  Traceback (most recent call last):
  File "C:\pywallet-master\pywallet.py", line 4876, in <module>
    recoveredKeys=recov(device, passes, size, 10240, options.recov_outputdir)
  File "C:\pywallet-master\pywallet.py", line 1550, in recov
    res = crypter.SetKeyFromPassphrase(pp, mk.salt, mk.iterations, mk.method)
  File "C:\pywallet-master\pywallet.py", line 769, in SetKeyFromPassphrase
    return ssl.EVP_BytesToKey(ssl.EVP_aes_256_cbc(), ssl.EVP_sha512(), chSalt, s
trKeyData,
  File "C:\Python27\lib\ctypes\__init__.py", line 366, in __getattr__
    func = self.__getitem__(name)
  File "C:\Python27\lib\ctypes\__init__.py", line 371, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
[color=red][font=Verdana]AttributeError: function 'EVP_aes_256_cbc' not found[/font][/color]

C:\pywallet-master>
Question 1: does the recover function in pywallet.py look at the data directory? 
Question 2: how can I get rid of the EVP_aes_256_cbc error?
Question 3: why does this program output stuff even though I got this error?
Question 4: why is the "--recov_size" set to 30Gio?  Is this how far into the corruptwallet.dat file it reads?
Question 5: is "--recov_device" supposed to be the corrupt unreadable wallet.dat file or disk data with potential keys?
Question 6: Why did it "recover" so many keys?
Question 7: What are all the next steps to getting my altcoin-qt.exe program to loading or rebuilding my old wallet.dat again?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!