Bitcoin Forum
May 07, 2024, 06:40:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Please help - New to Bitcoin, lost passphrase!  (Read 1868 times)
exodus-bitcoin (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2012, 03:25:52 PM
 #1

Hi all, relatively new to the forum and I think it is only possible for me to post in this section at present.

Experiencing some difficulties unfortunately! Really hoping someone maybe kind enough to offer some advice. I'll try and describe my situation as best as possible. New to the whole Bitcoin thing. I had a Bitcoin account setup on my PC running Windows 7. Made a backup of my wallet.dat which i have safe. This backup was made before I encrypted the wallet I'm pretty sure. Unfortunately I clicked the encrypt wallet a few weeks/months ago set a passphrase but didn't back it up again at this point I don't think.

I am in the terribly embarrassing situation of having forgotten my passphrase. I know roughly the letters and characters I used, but have tried repeatedly to find it but no luck! I was sure I had recorded it somewhere have searched the house but still to no avail.

I tried renaming my wallet.dat to another name and restoring a backup of my original wallet.dat (before encryption) it loads the wallet but there is no bitcoins showing in there and the transaction history doesn't make sense (I don't recognise what is there)! I think i may have lost my Bitcoins Sad

Any help would be really appreciated. I'm sorry there was only about 5 bitcoins in the wallet, so can't really pay anyone a substantial amount to help me. Its more a matter of principal now! 

 
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715107202
Hero Member
*
Offline Offline

Posts: 1715107202

View Profile Personal Message (Offline)

Ignore
1715107202
Reply with quote  #2

1715107202
Report to moderator
1715107202
Hero Member
*
Offline Offline

Posts: 1715107202

View Profile Personal Message (Offline)

Ignore
1715107202
Reply with quote  #2

1715107202
Report to moderator
1715107202
Hero Member
*
Offline Offline

Posts: 1715107202

View Profile Personal Message (Offline)

Ignore
1715107202
Reply with quote  #2

1715107202
Report to moderator
Motoma
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
December 19, 2012, 03:31:19 PM
 #2

Your Bitcoin wallet contains a list of transactions that you have performed. If you restored an old wallet, your newer transactions can be missing.

What you will want to do is shutdown the Bitcoin client, restore your old wallet.dat file, and delete the block chain files (blk*.dat). When you restart Bitcoin, it will need to download the entire block chain again, but when it finishes, you will have all your transactions back and your balance will be correct.

Cheers,
Motoma
exodus-bitcoin (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2012, 03:56:54 PM
 #3

Hi Motoma and thanks very much for your reply. I had not deleted any of the block chain files so I will try this now and see what the result is. Thanks once again for your help. I will reply back if I am successful or not.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
December 19, 2012, 04:02:37 PM
 #4

With the backup wallet restored, go to the debug window RPC console, type -rescan and press enter.
See if any bitcoins show up.

If the wallet.dat backup is old you may have a problem, as encryption of the file will flush your change addresses pool and create new addresses, so, any transaction you sent after the encryption, and that transaction had change, the change won't be on that backup for sure.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 19, 2012, 04:21:26 PM
 #5

. . . I am in the terribly embarrassing situation of having forgotten my passphrase. I know roughly the letters and characters I used, but have tried repeatedly to find it but no luck! I was sure I had recorded it somewhere have searched the house but still to no avail . . .
Depending on the length and complexity of your password (and how much of it you remember), there may be some scripts that can be run that can attempt to brute force your password by repeatedly trying all possible variations until it encounters the correct one.
exodus-bitcoin (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2012, 04:21:44 PM
Last edit: December 19, 2012, 04:41:14 PM by exodus-bitcoin
 #6

Hi psy thanks for your reply. I seem to have the exact problem you mention as I am in my wallet and I can see the 2 incoming transactions of 1 and 9 bitcoin from when i set up my bitcoin wallet. This is correct as somebody transferred 10 bitcoins to me originally in that exact format, 1 bitcoin as a test I had it setup ok and could receive bitcoin, then sent me the other 9 once i confirmed everything was ok.
Like you say though I had made a transaction since that outgoing but it is showing as the full 9 bitcoin had been transferred out when I only transferred 4!
Is it that this 5 bitcoin is permanently lost now? I have a copy of my encrypted wallet.dat that I do not know passphrase for. Is it possible me to brute force exploit/crack this in any way as I know roughly what letters and numbers I used when i set the passphrase just cannot remember correct combination. Have tried so many times. Sad
I know it seems a lot of hassle over 5 bitcoin (£40), it is just I do not like to lose money (of any currency)!  
exodus-bitcoin (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2012, 04:26:28 PM
 #7

. . . I am in the terribly embarrassing situation of having forgotten my passphrase. I know roughly the letters and characters I used, but have tried repeatedly to find it but no luck! I was sure I had recorded it somewhere have searched the house but still to no avail . . .
Depending on the length and complexity of your password (and how much of it you remember), there may be some scripts that can be run that can attempt to brute force your password by repeatedly trying all possible variations until it encounters the correct one.

Hi DannyHamilton. Sorry I just saw your reply after making my last post. Yes this is exactly my line of thinking. I did see a thread in here on another section which was about a similar thing. I believe my password would have been around 10-12 characters total. I know the words and numbers that I would have used but cannot remember combination!
I have limited knowledge in this area unfortunately and I could not understand howto implement and execute such a thing in windows. Would likely need some sort of 'idiots guide' (the idiot being me of course) Smiley
 
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 19, 2012, 04:38:45 PM
 #8

I'd suggest contacting either riX or Revalin from this discussion:

https://bitcointalk.org/index.php?topic=85495.msg942171#msg942171

They both seem to have the skills necessary to assist you and have demonstrated a willingness to help others with similar issues in the past.
Raoul Duke
aka psy
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002



View Profile
December 19, 2012, 04:43:44 PM
 #9

Hi psy thanks for your reply. I seem to have the exact problem you mention as I am in my wallet and I can see the 2 incoming transactions of 1 and 9 bitcoin from when i set up my bitcoin wallet. This is correct as somebody transferred 10 bitcoins to me originally in that exact format, 1 bitcoin as a test I had it setup ok and could receive bitcoin, then sent me the other 9 once i confirmed everything was ok.
Like you say though I had made a transaction since that outgoing but it is showing as the full 9 bitcoin had been transferred out when I only transferred 4!
Is it that this 5 bitcoin is permanently lost now? I have a copy of my encrypted wallet.dat that I do not know passphrase for. Is it possible me to brute force exploit/crack this in any way as I know roughly what letters and numbers I used when i set the passphrase just cannot remember correct combination. Have tried so many times. Sad
I know it seems a lot of hassle over 5 bitcoin (£40), it is just I do not like to lose money (of any currency)!  

You sent 4 Bitcoins to one address, but if your client chose the 9BTC transaction to send those 4 it would then send the remaining 5 BTC to one of your change addresses, which unfortunately for you, only exist on the encrypted wallet
exodus-bitcoin (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 19, 2012, 05:10:46 PM
 #10

Hi psy thanks for your reply. I seem to have the exact problem you mention as I am in my wallet and I can see the 2 incoming transactions of 1 and 9 bitcoin from when i set up my bitcoin wallet. This is correct as somebody transferred 10 bitcoins to me originally in that exact format, 1 bitcoin as a test I had it setup ok and could receive bitcoin, then sent me the other 9 once i confirmed everything was ok.
Like you say though I had made a transaction since that outgoing but it is showing as the full 9 bitcoin had been transferred out when I only transferred 4!
Is it that this 5 bitcoin is permanently lost now? I have a copy of my encrypted wallet.dat that I do not know passphrase for. Is it possible me to brute force exploit/crack this in any way as I know roughly what letters and numbers I used when i set the passphrase just cannot remember correct combination. Have tried so many times. Sad
I know it seems a lot of hassle over 5 bitcoin (£40), it is just I do not like to lose money (of any currency)!   

You sent 4 Bitcoins to one address, but if your client chose the 9BTC transaction to send those 4 it would then send the remaining 5 BTC to one of your change addresses, which unfortunately for you, only exist on the encrypted wallet

Yes this makes perfect sense as there was 1 BC showing in the account when I loaded backup instead of the 5 that should have been there. As you state the 1 bitcoin would have been the independent 'tester' transaction. So it is the 'change' I have lost form the 9 bitcoin transaction. So it seems the only way possible to recover the 5 bitcoin change is to remember (I wish!) or crack the encrypted password.

I am cursing my utter stupidity to have lost such a thing. I was sure I thought I knew what it was but have tried it so many times now and still no joy. Sad

Unless I can crack this passphrase I think maybe I have to give up and start again!
riX
Sr. Member
****
Offline Offline

Activity: 326
Merit: 252



View Profile
December 20, 2012, 08:00:06 PM
 #11

unless you did 100+ transactions the change address should be in the unencrypted wallet.

Sorry, I can't help you with your lost password.

PGP key: 0x9F31802C79642F25
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 20, 2012, 08:05:58 PM
 #12

unless you did 100+ transactions the change address should be in the unencrypted wallet.
I don't believe this is true.

It is my understanding that when you encrypt an unencrypted wallet, it tosses out the pool of 100 pre-generated addresses and generates a new pool of 100 addresses after encryption.

This means that the change address used by the encrypted wallet was generated after encryption and is not available in the unencrypted wallet.

As such, his only chance at recovering these bitcoins is to find a way to brute-force the password based off the parts of the password he can remember.
riX
Sr. Member
****
Offline Offline

Activity: 326
Merit: 252



View Profile
December 20, 2012, 08:11:30 PM
 #13

unless you did 100+ transactions the change address should be in the unencrypted wallet.
I don't believe this is true.

It is my understanding that when you encrypt an unencrypted wallet, it tosses out the pool of 100 pre-generated addresses and generates a new pool of 100 addresses after encryption.

This means that the change address used by the encrypted wallet was generated after encryption and is not available in the unencrypted wallet.

As such, his only chance at recovering these bitcoins is to find a way to brute-force the password based off the parts of the password he can remember.

Ok, I don't know, it's probably true.
But it might be worth checking anyway unless you're sure, it should not really be any more unsafe to just encrypt the original change addresses, since the ones used in transactions are saved.

Sorry, I can't help you with your lost password.

PGP key: 0x9F31802C79642F25
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
December 20, 2012, 08:35:27 PM
 #14

unless you did 100+ transactions the change address should be in the unencrypted wallet.
. . . when you encrypt an unencrypted wallet, it tosses out the pool of 100 pre-generated addresses and generates a new pool of 100 addresses after encryption . . .
. . . it might be worth checking anyway unless you're sure . . .
I'm sure:

https://github.com/bitcoin/bitcoin/blob/0f8a6477825fbaad0d37233bdd3011d748f607ab/src/wallet.cpp

Quote
bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase)
{
. . .
        NewKeyPool();
. . .
}

//
// Mark old keypool keys as used,
// and generate all new keys
//
bool CWallet::NewKeyPool()
{
. . .
        BOOST_FOREACH(int64 nIndex, setKeyPool)
            walletdb.ErasePool(nIndex);
. . .
        for (int i = 0; i < nKeys; i++)
        {
            int64 nIndex = i+1;
            walletdb.WritePool(nIndex, CKeyPool(GenerateNewKey()));
            setKeyPool.insert(nIndex);
        }
. . .
}
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!