Bitcoin Forum
May 29, 2024, 10:04:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Recover the password for the bitcoin wallet by using an unencrypted backup  (Read 749 times)
grace_monkey (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 20, 2015, 12:52:23 PM
 #1

I’ve lost my password for bitcoin wallet Smiley

But I have unencrypted backup of the wallet that was made a year ago.
Unfortunately, bitcoins stored on addresses that contained only in ciphered wallet, not in unencrypted backup.
But some addresses are contained both in the encrypted and unencrypted wallet backup

I have idea:
- choose any address that contained in both the ciphered wallet and unencrypted backup
- extract private key for address from unencrypted backup
- extract ciphered private key from ciphered wallet
- compare two extracted strings and get password for the wallet

I have superficial knowledge of cryptography, but this should work Smiley

my idea is feasible?
Anyone know about software that can do what I described?
Can anyone create such software for reward?
InceptionCoin
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
April 20, 2015, 01:39:51 PM
 #2

Try to load you backup wallet first. Bitcoin-qt save up to 100 addressess for future using in the wallet to use in the future, so if you made less then 100 operations you are probably have all used privkeys in the old wallet.
As i know bitcoin-qt encrypt whole wallet not each address independently, so your plan probably not feasible.

Skilled C++ and Python programmer. Looking around to create solid longterm coin by myself. Do you have any ideas? Feel free to PM me.
scientific
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
April 20, 2015, 01:46:48 PM
 #3

I’ve lost my password for bitcoin wallet Smiley

But I have unencrypted backup of the wallet that was made a year ago.
Unfortunately, bitcoins stored on addresses that contained only in ciphered wallet, not in unencrypted backup.
But some addresses are contained both in the encrypted and unencrypted wallet backup

I have idea:
- choose any address that contained in both the ciphered wallet and unencrypted backup
- extract private key for address from unencrypted backup
- extract ciphered private key from ciphered wallet
- compare two extracted strings and get password for the wallet

I have superficial knowledge of cryptography, but this should work Smiley

my idea is feasible?
Anyone know about software that can do what I described?
Can anyone create such software for reward?

You can't do this anyway. Bitcoin Core uses AES. Read here: https://en.wikipedia.org/wiki/Known-plaintext_attack
grace_monkey (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 20, 2015, 03:24:37 PM
 #4

Try to load you backup wallet first. Bitcoin-qt save up to 100 addressess for future using in the wallet to use in the future, so if you made less then 100 operations you are probably have all used privkeys in the old wallet.
As i know bitcoin-qt encrypt whole wallet not each address independently, so your plan probably not feasible.

if you encrypt your wallet - bitcoin deletes all unused addresses and refills key pool
grace_monkey (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
April 20, 2015, 03:57:09 PM
 #5

I’ve lost my password for bitcoin wallet Smiley

But I have unencrypted backup of the wallet that was made a year ago.
Unfortunately, bitcoins stored on addresses that contained only in ciphered wallet, not in unencrypted backup.
But some addresses are contained both in the encrypted and unencrypted wallet backup

I have idea:
- choose any address that contained in both the ciphered wallet and unencrypted backup
- extract private key for address from unencrypted backup
- extract ciphered private key from ciphered wallet
- compare two extracted strings and get password for the wallet

I have superficial knowledge of cryptography, but this should work Smiley

my idea is feasible?
Anyone know about software that can do what I described?
Can anyone create such software for reward?

You can't do this anyway. Bitcoin Core uses AES. Read here: https://en.wikipedia.org/wiki/Known-plaintext_attack

Thank you! This is the answer for question
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!