Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: dsaerpe on June 03, 2019, 04:35:46 PM



Title: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: dsaerpe on June 03, 2019, 04:35:46 PM
I have successfully recovered my 2013 wallet.aes.json using this tool https://github.com/pinheadmz/DecryptWallet

I knew the password and the wallet is empty of bitcoin but I want to recover any leftover altcoins. (BitcoinSV)


The keys are "Private keys displayed in raw base58 (not wallet import format)"

Where do I go from here. I was going to use coinomi and sweep the wallet but I need the key as a WIF or QR code...

So, how do I convert the key - is there a tool?

Best way to recover the SV from here?


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: Coiner.de on June 03, 2019, 05:39:44 PM
Download bitaddress.org and use it on an offline computer.
Convert the private key with the Wallet Details tab.


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: dsaerpe on June 03, 2019, 06:32:03 PM
Thanks but bitwallet is saying its not a valid private key. I found an old comment suggesting its a compressed private key but I'm not sure where to go from here.
The first bitcoin address is definately mine so the decode password is correct.


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: LoyceV on June 03, 2019, 07:04:56 PM
I knew the password and the wallet is empty of bitcoin but I want to recover any leftover altcoins. (BitcoinSV)
Don't forget Bitcoin Cash ;)

Thanks but bitwallet is saying its not a valid private key. I found an old comment suggesting its a compressed private key but I'm not sure where to go from here.
How many characters is the private key, and what does it start with (say the first 2 characters)?
If this is a format I missed, I'd like to add it to [overview] Recover Bitcoin from any old storage format (https://bitcointalk.org/index.php?topic=4959742.0) once you know how to decode the keys.


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: dsaerpe on June 03, 2019, 07:16:12 PM
HA. I did it .

So the work flow is - decrypt the wallet.aes.json with

 https://github.com/pinheadmz/DecryptWallet (nothing else I found can do this).

Take the private key it outputs and enter in Bitcoin Address Base58 Decoder here http://lenschulwitz.com/base58

Enter that output into https://www.bitaddress.org

Copy the Private Key WIF and import into your wallet of choice.

Well that was a rollercoaster of dead links and misinformation I can tell you. Onwards to the BitcoinSV....(got the cash and the gold already...)


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: dsaerpe on June 03, 2019, 07:17:53 PM
I knew the password and the wallet is empty of bitcoin but I want to recover any leftover altcoins. (BitcoinSV)
Don't forget Bitcoin Cash ;)

Thanks but bitwallet is saying its not a valid private key. I found an old comment suggesting its a compressed private key but I'm not sure where to go from here.
How many characters is the private key, and what does it start with (say the first 2 characters)?
If this is a format I missed, I'd like to add it to [overview] Recover Bitcoin from any old storage format (https://bitcointalk.org/index.php?topic=4959742.0) once you know how to decode the keys.

Its was 44 characters. Did not begin with a 5 or LK


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: Thirdspace on June 03, 2019, 09:37:29 PM
Take the private key it outputs and enter in Bitcoin Address Base58 Decoder here http://lenschulwitz.com/base58

Enter that output into https://www.bitaddress.org

Copy the Private Key WIF and import into your wallet of choice.
these steps don't make sense to me, specially the part on using the address decoder
you plugged in your "raw base58" private key into "Bitcoin Address Base58 Decoder" to get another form of private key?
what do you mean by raw base58? because WIF is also base58 ???

Its was 44 characters. Did not begin with a 5 or LK
if it was 44 characters then it would be a private key Base64 (MINI) and can be used directly on bitaddress.org

edit: PK Base64 != PK MINI


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: LoyceV on June 04, 2019, 06:42:57 AM
if it was 44 characters then it would be a private key Base64 (MINI) and can be used directly on bitaddress.org
A mini private key has 30 characters. I know a 44 character long format, but it's base64:
Example: CA9A061710B8BC582E1B8BB60D0F3F2751791888AB5C18737620087ABDF74A05[/li]
[li]Private Key (44 characters base64 (https://en.wikipedia.org/wiki/Base64)) (less common).
Example: ypoGFxC4vFguG4u2DQ8/J1F5GIirXBhzdiAIer33SgU=[/li]
[li]Mini private key (30 characters base58 (https://en.wikipedia.org/wiki/Base58), starting with "S", see wiki (https://en.bitcoin.it/wiki/Mini_private_key_format))
Example: Sf2i92UoH3kMooYXHdDQ4YQvLTdPrQ[/li][/list]


Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: dsaerpe on June 04, 2019, 07:36:50 AM
Bitaddress definitely didn't work until I converted it. Whatever blockchain.info outputs from 2013 is not a wif key - which is why I had issues. From the dev of the first tool I used "So, if I recall, blockchain.info saved the private keys in BASE58 format, which is totally not standard....What you need is a tool that can convert that base58 format back into hex or actual WIF format. "

I realise this is confusing, its referenced in one comment I found on the internet. The first tool, the one I used to decrypt the wallet says

"Result
Private keys displayed in raw base58 (not wallet import format)."

The output is not recognised by bitaddress, but I recognised the bitcoin address as correct so persevered.



Title: Re: I have recovered an old wallet.aes.json from Blockchain.info but its a raw key
Post by: Thirdspace on June 04, 2019, 09:32:18 AM
if it was 44 characters then it would be a private key Base64 (MINI) and can be used directly on bitaddress.org
A mini private key has 30 characters. I know a 44 character long format, but it's base64:
thanks for the correction, I don't know why I added MINI in there ::) :-[ *facepalms*

Bitaddress definitely didn't work until I converted it. Whatever blockchain.info outputs from 2013 is not a wif key - which is why I had issues. From the dev of the first tool I used "So, if I recall, blockchain.info saved the private keys in BASE58 format, which is totally not standard....What you need is a tool that can convert that base58 format back into hex or actual WIF format. "
I understand it now, after reading this https://bitcointalk.org/index.php?topic=1442425.msg14605685#msg14605685
so a raw base58 is a 44-char base58 representation of a 64-char Private Key HEXadecimal
and yes, it seems to be used only by blockchain.info (now .com) wallet.aes.json file