Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 22, 2014, 05:14:11 PM |
|
Hey guys!
So I am having some trouble importing my private key to blockchain...For some reason my json export exported the private key as "encrypt_privkey" and it is 96 characters long, how would I go about getting this to a working private key for import? Anyone have any ideas?
Here is an example of the 96 character encrypted private key (this is not the one I want to decrypt, so have fun with it): d7e9f17b4986bae8a0507adaf7ce5daceea0fd2b51710f5aead47fc4a67063b71f23939b9264275 d9ff717c311fb253e
I have no idea what alogorithim it is or anything someone PLEASE HELP!
Regards!
|
|
|
|
BitCoinDream
Legendary
Offline
Activity: 2366
Merit: 1204
The revolution will be digital
|
|
March 22, 2014, 06:16:20 PM |
|
Hey guys!
So I am having some trouble importing my private key to blockchain...For some reason my json export exported the private key as "encrypt_privkey" and it is 96 characters long, how would I go about getting this to a working private key for import? Anyone have any ideas?
Here is an example of the 96 character encrypted private key (this is not the one I want to decrypt, so have fun with it): d7e9f17b4986bae8a0507adaf7ce5daceea0fd2b51710f5aead47fc4a67063b71f23939b9264275 d9ff717c311fb253e
I have no idea what alogorithim it is or anything someone PLEASE HELP!
Regards!
Just trying out... b69ddd7b950613e0d1d357a5171a190d344c90a6ee9e9c29e7767774cafe493c ?
|
|
|
|
Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 22, 2014, 06:20:22 PM |
|
How did you get it to that? (So I can do it for my real one)
|
|
|
|
cp1
|
|
March 22, 2014, 10:09:24 PM |
|
You just need to decrypt it. Look at the header info and use that encryption and your passphrase.
|
|
|
|
BitCoinDream
Legendary
Offline
Activity: 2366
Merit: 1204
The revolution will be digital
|
|
March 22, 2014, 10:43:59 PM |
|
How did you get it to that? (So I can do it for my real one)
I used it => http://www.xorbin.com/tools/sha256-hash-calculatorI am probably wrong. Please verify from those who had in depth knowledge of this.
|
|
|
|
Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 22, 2014, 11:45:06 PM |
|
How do I go about decrypting it? I have I believe the master key and salt.
Its all in json format like "encrypted_privkey" is the private key that is like the one above and then I have "encrypted_key" which I assume is the master key and then "salt" and "pubkey" I do not have the password to my wallet as it is very old....
Is there a way to use the master key and salt with the encrypted private key to get the actual private key?
|
|
|
|
cp1
|
|
March 23, 2014, 12:14:51 AM |
|
If it's encrypted then you need the passphrase
|
|
|
|
Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 23, 2014, 12:19:16 AM |
|
Okay well I dont have the passphrase....So I am looking at the options of either Brute Forcing it? Password Recovery Service? Or is there some method of decoding the hashes to get the passphrase?
|
|
|
|
cp1
|
|
March 23, 2014, 12:22:58 AM |
|
Yeah you'd have to brute force it. How's it encrypted? AES? It'll say at the top.
|
|
|
|
Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 23, 2014, 01:08:03 AM |
|
It doesn't say just says compressed: "true".....No AES or anything, I would assume it is AES but what else could it be?
|
|
|
|
R0yalAir
Member
Offline
Activity: 84
Merit: 10
|
|
March 25, 2014, 12:05:49 AM |
|
1. Run bitcoind
2. Export all private keys
3. Delete wallet.dat
4. Run bitcoind again (This will create a new unencrypted wallet.dat)
5. Import all private keys
|
|
|
|
cp1
|
|
March 25, 2014, 12:15:18 AM |
|
It could just be a compressed private key, non-encrypted. You should be able to use libbitcoin or similar to convert it from hex to base58.
|
|
|
|
cp1
|
|
March 25, 2014, 12:25:01 AM |
|
Though 96 hex characters is too many, I think it should only be ~ 56 if it's a hex private key. Can you post the whole thing, but blank out the hex info?
Here's what an unencrypted backup looks like: { "guid" : "some hex", "sharedKey" : "some hex", "options" : {"pbkdf2_iterations":10,"fee_policy":0,"html5_notifications":false,"logout_time":600000,"tx_display":0,"always_keep_local_backup":false,"transactions_per_page":30,"additional_seeds":[]}, "keys" : [ {"addr":"base58addr","priv":"56 or so hex characters","created_time":0,"created_device_name":"javascript_web","created_device_version":"1.0"} ] }
|
|
|
|
Carsen (OP)
Full Member
Offline
Activity: 168
Merit: 100
Designer & Developer
|
|
March 30, 2014, 06:42:52 AM |
|
It is like this:
"defaultkey": "btcaddress", "keys": [ { "addr": "btcaddress", "compressed": true, "encrypted_privkey": "96 character key", "pubkey": "publickey", "reserve": 0 },
Hope this helps? Yea that is what I thought I am so confused as to why it is 96 characters in length?
|
|
|
|
cp1
|
|
March 30, 2014, 03:37:24 PM |
|
I'm sure pywallet can import that, but you need the passphrase or some idea of what it might be (# characters, etc) to brute force it.
|
|
|
|
|