Bitcoin Forum
July 20, 2026, 09:12:40 PM *
News: Latest Bitcoin Core release: 31.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Old wallet password recovered, but wallet not being unlocked  (Read 55 times)
ntt069 (OP)
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile
July 19, 2026, 03:18:22 PM
 #1

I have a old legacy wallet from around 2012-13 era in a old computer. Fortunately I had written password clues on some computer from which i was able to make a wordlist. Using the wordlist btcrecover (https://github.com/gurnec/btcrecover) and john (https://www.openwall.com/john/) were able to crack the password and both gave the same exact password (which is the obvoius thing). Opening it in Bitcoin Core says that it is a legacy wallet and needs to be imported first.

I have not downloaded/synced the full node yet (would take couple of days). After reading this https://bitcoin.stackexchange.com/questions/130713/bitcoin-core-quickest-method-legacy-descriptor-wallet-migration, i am using the master branch of Bitcoin Core to migrate while being out of sync.

However migrating it says that the password is incorrect.

Code:
bitcoin-cli migratewallet "oldwallet" "redacted" false
error code: -4
error message:
Error: Wallet decryption failed, the wallet passphrase was not provided or was incorrect.

After some searching I found that v25.0 supported legacy wallets, but loading this thing into it does not work either

Code:
./bitcoin-25.0/bin/bitcoin-cli -rpcwallet=oldwallet walletpassphrase 'redacted' 600
error code: -14
error message:
Error: The wallet passphrase entered was incorrect.


Has anyone faced this issue before? What can be done here to recover the wallet? Importantly what can cause this?
retaur
Member
**
Offline

Activity: 182
Merit: 20


View Profile
July 19, 2026, 03:31:41 PM
 #2

I think your syntax might be out?

According to the link below it should be:
Code:
$ bitcoin-cli -rpcwallet=testwallet walletpassphrase -passphrase=test1234567 60

Where "test1234567" is the password.

https://github.com/bitcoin/bitcoin/issues/23295
ntt069 (OP)
Newbie
*
Offline

Activity: 2
Merit: 0


View Profile
July 19, 2026, 04:15:03 PM
 #3

I think your syntax might be out?

According to the link below it should be:
Code:
$ bitcoin-cli -rpcwallet=testwallet walletpassphrase -passphrase=test1234567 60

Where "test1234567" is the password.

https://github.com/bitcoin/bitcoin/issues/23295


hey thanks for the reply.

this not solves the issue though. i still get the same error.
Code:
./bitcoin-25.0/bin/bitcoin-cli -rpcwallet=oldwallet walletpassphrase -passphrase='redacted' 600
error code: -14
error message:
Error: The wallet passphrase entered was incorrect.
nc50lc
Legendary
*
Offline

Activity: 3206
Merit: 8925


Self-proclaimed Genius


View Profile
Today at 03:55:59 AM
Merited by LoyceV (4)
 #4

this not solves the issue though. i still get the same error.
Code:
./bitcoin-25.0/bin/bitcoin-cli -rpcwallet=oldwallet walletpassphrase -passphrase='redacted' 600
That "-passphrase=" isn't necessary, its even making every attempt fail since it's taking "-passphrase='redacted'" as your wallet's passphrase instead of the intended value.
You can use your original syntax which is correct.

Now, for the passphrase issue,
How did you bruteforce the passphrase? Using the hash extracted from the wallet or using the wallet.dat file itself?
In case of the former, can you try to extract the hash from a copy of the wallet.dat that you're testing and compare it to that hash?
In case of the latter, there's not much info to work with but are you perhaps using a non-english keyboard layout?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits PREDICT..
█████████████████████████
█████████████████████████
███████████▀▀░░░░▀▀██████
██████████░░▄████▄░░████
█████████░░████████░░████
█████████░░████████░░████
█████████▄▀██████▀▄████
████████▀▀░░░▀▀▀▀░░▄█████
██████▀░░░░██▄▄▄▄████████
████▀░░░░▄███████████████
█████▄▄█████████████████
█████████████████████████
█████████████████████████
.
.WHERE EVERYTHING IS A MARKET..
█████
██
██







██
██
██████
Will Bitcoin hit $200,000
before January 1st 2027?

    No @1.15         Yes @6.00    
█████
██
██







██
██
██████

  CHECK MORE > 
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!