Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: randomproof on May 21, 2012, 03:03:08 AM



Title: blockchain.info can't import compressed private keys?
Post by: randomproof on May 21, 2012, 03:03:08 AM
Subject says it, but does anyone know of a way to uncompress a private key?


Title: Re: blockchain.info can't import compressed private keys?
Post by: Stephen Gornick on May 21, 2012, 04:10:00 AM
The last status on that was a little over a week ago:

 - http://bitcointalk.org/index.php?topic=40264.msg894981#msg894981


Title: Re: blockchain.info can't import compressed private keys?
Post by: randomproof on May 21, 2012, 04:56:13 PM
Ok, I get that, but is there a way to convert a compessed private key to an uncompressed one?


Title: Re: blockchain.info can't import compressed private keys?
Post by: casascius on May 21, 2012, 05:05:32 PM
I am pretty sure there is not.

Or rather, you can, but it will result in a different bitcoin address, which makes it useless.

Actually there is no such thing as a compressed private key. Only the public key is compressed. A "compressed private key" merely contains a flag that specifies that the conversion to public key should be done compressed. You can remove the flag... But will not get the same address in the end.


Title: Re: blockchain.info can't import compressed private keys?
Post by: randomproof on May 21, 2012, 06:01:56 PM
Thanks.  That is the problem I am getting.  When I import the private key(from old version of pywallet) I get a different public key.  Oh well.


Title: Re: blockchain.info can't import compressed private keys?
Post by: piuk on May 21, 2012, 08:55:01 PM
You can now import compressed private keys (see warning)

https://i.imgur.com/SBPrG.png