Bitcoin Forum
September 21, 2018, 04:44:35 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Importing Encrypted back up wallet to New wallet?  (Read 111 times)
jeanjacques1000
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 12, 2017, 03:18:16 PM
 #1

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
1537548275
Hero Member
*
Offline Offline

Posts: 1537548275

View Profile Personal Message (Offline)

Ignore
1537548275
Reply with quote  #2

1537548275
Report to moderator
1537548275
Hero Member
*
Offline Offline

Posts: 1537548275

View Profile Personal Message (Offline)

Ignore
1537548275
Reply with quote  #2

1537548275
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537548275
Hero Member
*
Offline Offline

Posts: 1537548275

View Profile Personal Message (Offline)

Ignore
1537548275
Reply with quote  #2

1537548275
Report to moderator
deescrid
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
December 12, 2017, 03:31:12 PM
 #2

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.
jeanjacques1000
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 12, 2017, 03:36:16 PM
 #3

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?


bob123
Hero Member
*****
Offline Offline

Activity: 686
Merit: 568



View Profile WWW
December 12, 2017, 04:14:59 PM
 #4

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.

jeanjacques1000
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 12, 2017, 04:57:54 PM
 #5

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.
bob123
Hero Member
*****
Offline Offline

Activity: 686
Merit: 568



View Profile WWW
December 12, 2017, 05:34:13 PM
 #6

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 <filename>

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.

jeanjacques1000
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 14, 2017, 04:00:33 AM
 #7

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 ?
HCP
Hero Member
*****
Offline Offline

Activity: 728
Merit: 923

<insert witty quote here>


View Profile
December 14, 2017, 05:08:06 AM
 #8

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


jeanjacques1000
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 14, 2017, 02:03:08 PM
 #9

I much appreciate your reply, this forum is very insightful.   
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!