wyager (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
July 13, 2012, 03:34:39 AM |
|
Blockchain.info regularly sends me an encrypted backup of the wallet I have stored with them. According to the email, I can either use their online services or "standard Unix tools" to decrypt this backup. Now, I assume they mean using the openssl command line tool or something, but I am having trouble figuring it out. I have tried the following: openssl enc -d -in /Users/User/Downloads/wallet.aes.json -out /tmp/wallet -aes-256-cbc and since it looks like it might be base64 encoded, I also tried openssl enc -d -in /Users/User/Downloads/wallet.aes.json -out /tmp/wallet -aes-256-cbc -base64 However, the first one gives a "Bad magic number" error and the second one gives an "error reading from file" (so I was probably wrong about base64). I also tried both of these with aes-256-ebc.
|
OTC-WoT: 1BWF66DuVqBCSFksUgkLtdYmHucpBgPmVm
|
|
|
unclemantis
Member
Offline
Activity: 98
Merit: 10
(:firstbits => "1mantis")
|
|
July 13, 2012, 05:40:17 PM |
|
Blockchain.info regularly sends me an encrypted backup of the wallet I have stored with them. According to the email, I can either use their online services or "standard Unix tools" to decrypt this backup. Now, I assume they mean using the openssl command line tool or something, but I am having trouble figuring it out. I have tried the following: openssl enc -d -in /Users/User/Downloads/wallet.aes.json -out /tmp/wallet -aes-256-cbc and since it looks like it might be base64 encoded, I also tried openssl enc -d -in /Users/User/Downloads/wallet.aes.json -out /tmp/wallet -aes-256-cbc -base64 However, the first one gives a "Bad magic number" error and the second one gives an "error reading from file" (so I was probably wrong about base64). I also tried both of these with aes-256-ebc. I maybe be having the same issue. Decrypting is not working for me at all. Also their API is not decrypting their wallet right.
|
|
|
|
gbl08ma
|
|
July 13, 2012, 09:07:10 PM |
|
Even though retrieving the address for my wallet worked fine through the Blockchain API (unlike what happened to unclemantis, on his other thread), I can't seem to be able to decrypt a backup of the same wallet on my computer with openssl either. I have double-encryption enabled, may that be the problem?
|
|
|
|
unclemantis
Member
Offline
Activity: 98
Merit: 10
(:firstbits => "1mantis")
|
|
July 13, 2012, 09:56:20 PM |
|
Double encryption might be the issue but i can't say for sure.
So..... care to tell me how you got the api working! :-D
|
|
|
|
wyager (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
July 13, 2012, 11:01:29 PM |
|
Even if their API works, I am more concerned with the possibility that they somehow go out of business. I would like to have a surefire way to recover my backup, if needed.
|
OTC-WoT: 1BWF66DuVqBCSFksUgkLtdYmHucpBgPmVm
|
|
|
unclemantis
Member
Offline
Activity: 98
Merit: 10
(:firstbits => "1mantis")
|
|
July 13, 2012, 11:14:09 PM |
|
Even if their API works, I am more concerned with the possibility that they somehow go out of business. I would like to have a surefire way to recover my backup, if needed.
I hear ya! maybe the password is screwing it up? Do you have funny characters or something? That was my issue with the API. I needed to url encode my password
|
|
|
|
jim618
Legendary
Offline
Activity: 1708
Merit: 1066
|
|
July 15, 2012, 08:32:23 PM |
|
You can import the blockchain.info encrypted backups into MultiBit (including the double encrypted ones). Piuk wrote an importer routine and it is part if the 'Tools | Import Private Keys' functionality. There is a how to here: http://multibit.org/help_importingPrivateKeys.html
|
|
|
|
wyager (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
July 16, 2012, 03:24:17 AM |
|
Any idea which part of the multibit source handles this? I am having trouble finding it.
|
OTC-WoT: 1BWF66DuVqBCSFksUgkLtdYmHucpBgPmVm
|
|
|
dooglus
Legendary
Offline
Activity: 2940
Merit: 1333
|
|
July 16, 2012, 07:28:57 AM |
|
See http://bitcoin.stackexchange.com/a/3037/659 (expand all the comments) and in particular https://gist.github.com/2757171 for the newest version of the Python code to decrypt the wallet.
|
Just-Dice | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | Play or Invest | ██ ██████████ ██████████████████ ██████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████████████ ██████████████████████ ██████████████ ██████ | 1% House Edge |
|
|
|
|
wyager (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
July 16, 2012, 12:50:17 PM Last edit: July 16, 2012, 08:05:18 PM by wyager |
|
Why the heck wasn't plain old AES good enough? And while you could technically do that with "standard UNIX tools", it's a heck of a task. Thanks for the info, though, this should let me figure it out. Edit: Got an email from the blockchain.info tech support guy, he confirmed that the wallets can no longer be decrypted easily with "standard" tools.
|
OTC-WoT: 1BWF66DuVqBCSFksUgkLtdYmHucpBgPmVm
|
|
|
unclemantis
Member
Offline
Activity: 98
Merit: 10
(:firstbits => "1mantis")
|
|
July 21, 2012, 10:36:51 PM |
|
Why the heck wasn't plain old AES good enough? And while you could technically do that with "standard UNIX tools", it's a heck of a task. Thanks for the info, though, this should let me figure it out. Edit: Got an email from the blockchain.info tech support guy, he confirmed that the wallets can no longer be decrypted easily with "standard" tools. That's bullshit. So much for his paper wallet cold storage solution.
|
|
|
|
wyager (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
July 22, 2012, 06:42:13 PM |
|
Why the heck wasn't plain old AES good enough? And while you could technically do that with "standard UNIX tools", it's a heck of a task. Thanks for the info, though, this should let me figure it out. Edit: Got an email from the blockchain.info tech support guy, he confirmed that the wallets can no longer be decrypted easily with "standard" tools. That's bullshit. So much for his paper wallet cold storage solution. Yeah, I agree. I mean, there are security considerations, but I'm sure one could base them off of some easily repeatable task instead of a complex-as-shit byte swapping and hashing algorithm.
|
OTC-WoT: 1BWF66DuVqBCSFksUgkLtdYmHucpBgPmVm
|
|
|
Galahad
|
|
August 18, 2013, 04:58:39 PM |
|
Does this apply to paper wallets as well as encrypted digital backups of them? So that if blockchain disappeared getting Bitcoins back would be tough.
|
|
|
|
|
|