<p>Note there are two kinds of encryption for wallets:</p>
<p>Encryption of the wallet itself, and of just the private keys.<br />
If your wallet is very old, it did not support wallet encryption at the time.  Only your private keys are encrypted.</p>
<p>Decrypting your private keys has failed because your passphrase is wrong.  pywallet is just not giving you a good error message.</p>
<p>I wrote a <a href="https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/" rel="nofollow noreferrer">guide to corrupt Bitcoin Wallet recovery</a> which has some other tools you can try.</p>

CC BY-SA 3.0
2018-01-11T04:14:21.773Z
2018-01-11T04:14:21.773Z
2020-06-16T11:10:03.350Z
David Veksler
<p>I have a very old wallet, which I am unable to open.
It is password protected, but I know what the password is.
Bitcoin Core says Salvage failed.</p>

<p>Booted LiveUSB Ubuntu and installed pywallet.</p>

<p>ubuntu@ubuntu:~/Desktop/pywallet$ sudo ./pywallet.py --recover --recov_device /dev/sdc1 --recov_size 1Gio --recov_outputdir /home/ubuntu/Desktop/recover/
Enter the passphrase for the wallet that will contain all the recovered keys: 123456</p>

<p>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: xxxxxxxx
Possible passphrase: </p>

<p>Starting recovery.
0.10 Go read
0.20 Go read
0.30 Go read
0.40 Go read
0.50 Go read
0.60 Go read
0.70 Go read
0.80 Go read
0.90 Go read
1.00 Go read</p>

<p>Read 1.1 Go in 0.7 minutes</p>

<p>Found 1 possible wallets
Found 221 possible encrypted keys
Found 0 possible unencrypted keys</p>

<p>Possible wallet #1
    with passphrase #1  </p>

<p>Private keys not decrypted: 221
Trying all the remaining possibilities (221) might take up to 0 minutes.
Do you want to test them? (y/n): y</p>

<p>Private keys not decrypted: 221
Try another password, check the size of your partition or seek help
The wallet is encrypted and the passphrase is correct</p>

<p>Importing:</p>

<p>The new wallet /home/ubuntu/Desktop/recover//recovered_wallet_1513352751.dat contains the 0 recovered key
ubuntu@ubuntu:~/Desktop/pywallet$</p>

<p>So it recognizes the password as correct, but it doesn't decrypt the keys.</p>

<p>Please help.</p>

<wallet>
Recovery of possibly corrupted Bitcoin Wallet
user2247336
# Recovery of possibly corrupted Bitcoin Wallet

(Asked by: username_0 on 2017-12-15)

I have a very old wallet, which I am unable to open.
It is password protected, but I know what the password is.
Bitcoin Core says Salvage failed.

Booted LiveUSB Ubuntu and installed pywallet.

ubuntu@ubuntu:~/Desktop/pywallet$ sudo ./pywallet.py --recover --recov\_device /dev/sdc1 --recov\_size 1Gio --recov\_outputdir /home/ubuntu/Desktop/recover/
Enter the passphrase for the wallet that will contain all the recovered keys: 123456

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: xxxxxxxx
Possible passphrase:

Starting recovery.
0.10 Go read
0.20 Go read
0.30 Go read
0.40 Go read
0.50 Go read
0.60 Go read
0.70 Go read
0.80 Go read
0.90 Go read
1.00 Go read

Read 1.1 Go in 0.7 minutes

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

Possible wallet #1
with passphrase #1

Private keys not decrypted: 221
Trying all the remaining possibilities (221) might take up to 0 minutes.
Do you want to test them? (y/n): y

Private keys not decrypted: 221
Try another password, check the size of your partition or seek help
The wallet is encrypted and the passphrase is correct

Importing:

The new wallet /home/ubuntu/Desktop/recover//recovered\_wallet\_1513352751.dat contains the 0 recovered key
ubuntu@ubuntu:~/Desktop/pywallet$

So it recognizes the password as correct, but it doesn't decrypt the keys.

Please help.

**Tags:** wallet


---

## 1 answers

### Answer by username_1 on 2018-01-11. Score: 1

Note there are two kinds of encryption for wallets:

Encryption of the wallet itself, and of just the private keys.  
If your wallet is very old, it did not support wallet encryption at the time. Only your private keys are encrypted.

Decrypting your private keys has failed because your passphrase is wrong. pywallet is just not giving you a good error message.

I wrote a [guide to corrupt Bitcoin Wallet recovery](https://walletrecovery.info/how-to-recover-your-corrupt-or-deleted-bitcoin-core-wallet/) which has some other tools you can try.


---

