Author

Topic: Importing Encrypted back up wallet to New wallet? (Read 214 times)

newbie
Activity: 5
Merit: 0
December 14, 2017, 09:03:08 AM
#9
I much appreciate your reply, this forum is very insightful.   
HCP
legendary
Activity: 2086
Merit: 4361
I heard of tools that can help to retrieve the password, however these tools are compatible with wallet.dat files.
My backed up wallet is from my phone and doesn't offer that extension.
Is there a way to convert my backup wallet which was produced from a cellphone into a wallet.dat file on a desktop?
btcrecover (https://github.com/gurnec/btcrecover) by gurnec DOES work with backup files from Bitcoin Wallet for Android:

Quote
Bitcoin wallet password recovery support for:
  • Armory
  • Bitcoin Unlimited/Classic/XT/Core
  • MultiBit HD and MultiBit Classic
  • Electrum (1.x and 2.x)
  • Most wallets based on bitcoinj, including Hive for OS X
  • BIP-39 passphrases, Bitcoin & Ethereum supported (e.g. TREZOR & Ledger passphrases)
  • mSIGNA (CoinVault)
  • Blockchain.info
  • pywallet --dumpwallet of Bitcoin Unlimited/Classic/XT/Core wallets
  • Bitcoin Wallet for Android/BlackBerry spending PINs and encrypted backups
  • KnC Wallet for Android encrypted backups
  • Bither


It also supports seed recovery for Bitcoin Wallet for Android:

Quote
Bitcoin & Ethereum seed recovery support for:
  • Electrum (1.x and 2.x, plus wallet file loading support)
  • BIP-32/39 compliant wallets (bitcoinj), including:
  • MultiBit HD
  • Bitcoin Wallet for Android/BlackBerry (with seeds previously extracted by decrypt_bitcoinj_seeds)

So, you should be able to use either or both of the scripts on your "bitcoin-wallet-backup-2014-09-26" file.

Read the "quick start" guides (including installation) here: https://github.com/gurnec/btcrecover/blob/master/TUTORIAL.md#btcrecover-tutorial
and here: https://github.com/gurnec/btcrecover/blob/master/docs/Seedrecover_Quick_Start_Guide.md

newbie
Activity: 5
Merit: 0
My sincere gratitude goes to your continuous effort to help with this matter.
However I'm considered a novice when discussing openSSL and lack the know how to process your suggested advice.
Where could I get a basic understanding ?
legendary
Activity: 1624
Merit: 2481
If "the bitcoin wallet" referes to the bitcoin wallet by andreas schildbach (https://play.google.com/store/apps/details?id=de.schildbach.wallet) then the encryption algorithm used is AES 256 bit.
You can decrypt it with OpenSSL:
Code:
openssl enc -d -aes-256-cbc -a -in 

You can find a small script to decrypt the file on your mobile here: https://github.com/jleni/wallet-decrypt
You can use this with the command:
Code:
wallet-decrypt.py FILENAME PASSWORD

Now you can write a small script which iterates through all of your possible passwords (maybe create a word list?) and tries to decrypt your file.
After it has been decrypted you will get a mnemonic seed + derivation path. This can be easily imported into electrum (https://electrum.org/) to access your funds.
I didn't look through the code of this script. So use it at your own risk. Make a backup of your backup before starting and preferably do this offline.
newbie
Activity: 5
Merit: 0
Your help and knowledge is appreciated.

I used the Bitcoin Wallet on my mobile.
There is no extension I can see through my phone, its labelled  '' bitcoin-wallet-backup-2014-09-26 ''.
When opening the backup file through notepad, it begins with U2F as the first strings of letter & numbers.

Hope these details are sufficient enough to give you a better picture.
legendary
Activity: 1624
Merit: 2481
My backed up wallet is from my phone and doesn't offer that extension.
Is there a way to convert my backup wallet which was produced from a cellphone into a wallet.dat file on a desktop?

Mostly not directly. What wallet did you use to make this backup? And what 'extensions' of this backup are available to choose from??
I think it basically depends on what kind of backup this is and how it got encrypted. Depending on the length of the password the decrypting could take quite some time.
If you remember some characters of your password and/or had a short PW it might be possible, but with 8-9+ characters and additional chars this isn't doable (yet).
But we might help you out more if you would give us some additional information like wallet software used.
newbie
Activity: 5
Merit: 0
Thanks for your reply.

I heard of tools that can help to retrieve the password, however these tools are compatible with wallet.dat files.

My backed up wallet is from my phone and doesn't offer that extension.
Is there a way to convert my backup wallet which was produced from a cellphone into a wallet.dat file on a desktop?


newbie
Activity: 15
Merit: 0
Hi,

If you have the private key right in front of you, you should be able to directly import that in to another wallet such as Electrum.

If you have it but its "inside" the encrypted wallet, then you're going to need to figure that password out before you can retrieve the private key.
newbie
Activity: 5
Merit: 0
Hello, A while ago I purchased a bitcoin, carrying it through my bitcoin wallet on my phone.

One day my mobile cleared all the cache/registered data I had on it including the bitcoin. However I did manage to backup a copy of the wallet  the private key from my phone, but did not write down the pwd. I do have an idea of what it could potentially be if I were able to use a tool.

Is it possible to import a backed up wallet ( encrypted U2F) done from a mobile phone to a new desktop BTC wallet in order to create a wallet.dat file?

Any help would be gratefully appreciated. Thank you
Jump to: