Bitcoin Forum

Other => MultiBit => Topic started by: Storman86 on November 23, 2013, 05:20:42 PM



Title: Password problem
Post by: Storman86 on November 23, 2013, 05:20:42 PM
Hey guys, I need your help getting BTC out of my Multi-bit wallet. So what happened was I bought some BTC around 6 months ago and stored them in Multi-Bit wallet (version 0.5.11 I believe) with a password as well as encrypted private key with the same password. After receiving them,  I made no transactions and pretty much did not touch this wallet until earlier this week. When I attempted to send the bitcoins somewhere else, the password would always fail. Now I know it's possible that I may have mis-typed my password, but when I first set up a Multi-bit wallet I was very careful - first writing down my password then carefully entering it in. Could there be an issue with the software and my wallet is now corrupt? Not sure, but somehow I'm hoping those BTC's aren't lost for good.

I have the original wallet, backed up encrypted key (I never exported an unencrypted key), and log information. After chatting with a friend of mine, I re-created the exact steps I took to create a wallet with password (to the best of my memory) in an empty wallet as a test and was able to export/import keys just fine. We're thinking that the next step would be to figure out how to get the unencrypted private key from an encrypted private key and knowledge of the password. I saw an earlier post from jim618 detailing how to get the private key from a wallet file (https://bitcointalk.org/index.php?topic=43616.msg909038;topicseen#msg909038 (https://bitcointalk.org/index.php?topic=43616.msg909038;topicseen#msg909038)) but I can't seem to follow it.

I've created an empty wallet and exported the private key with the following information:

password:
password

contents of encrypted key file:
U2FsdGVkX1/qRRMrpABTr8RrNPI77Q+gdLVSuTERZ4rUGCAaqSoyf17fy/xBHupGULduEy0z0KlH
p3EDR9wgTP3wDc8QC6Rw2+TYqTtd61kSNqmd3yJUlqxnkBZqp+P5

unencrypted key:
KwociwgLNX8XNRhrfT5iAuxQT7RSqTrY29Mur8S9SVxYdEx336BT

I'm hoping I can use the same logic to see if I can back out of my original password to arrive at the unencrypted private key. Would someone be able to help? Or if someone thinks there is a better solution for my issue I would greatly appreciate it!


Title: Re: Password problem
Post by: mmmerlin on November 29, 2013, 10:18:24 PM
Yeah, being able go from the encrypted the private key using the password will mean that you can then write a program to brute-force your mis-remembered password. Obviously with no knowledge of the password this would be computationally infeasible, but with the partial knowledge you have I would think that brute-forcing around it should be pretty doable.

Can anyone help with how to unencrypt the encrypted private key to get him started? Even just what the encryption algorithm is and the type of encoding used to store the keys would be an excellent start...


Title: Re: Password problem
Post by: jim618 on December 08, 2013, 11:27:30 AM
The format of the encrypted private key exports is described here (near the bottom):
https://github.com/jim618/multibit/wiki/Export%20and%20limited%20import%20of%20private%20keys