BitShares Forum

Other => Graveyard => BitShares PTS => Topic started by: coolspeed on November 20, 2013, 05:20:46 am

Title: PTS priv key not valid bitcoin priv key?
Post by: coolspeed on November 20, 2013, 05:20:46 am
hi, there.
I dumped my private key with the Protoshares client, then pasted it to the bitaddress.org to show other formats of it. But it says,
"The text you entered is not a valid Private Key!"
so, pts privkey is not valid bitcoin priv key? cuz I know SHA-256 of a file can be used as a form of bitcoin priv key.
If so, can't I use the same way to generate my complicated brain wallet? Or is there some other similar ways to do this?
Thank U.
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: bytemaster on November 20, 2013, 05:55:56 am
hi, there.
I dumped my private key with the Protoshares client, then pasted it to the bitaddress.org to show other formats of it. But it says,
"The text you entered is not a valid Private Key!"
so, pts privkey is not valid bitcoin priv key? cuz I know SHA-256 of a file can be used as a form of bitcoin priv key.
If so, can't I use the same way to generate my complicated brain wallet? Or is there some other similar ways to do this?
Thank U.

I think it is just an encoding issue, I am sure there is some smart developer on here that can decode the raw private key and re-encode it as a bitcoin key. 

Title: Re: PTS priv key not valid bitcoin priv key?
Post by: coolspeed on November 20, 2013, 06:49:03 am
To detail it, here's what I did:

> listreceivedbyaddress 0 true

[
   {
      "address" : "PtrY1nMip1WXBWif7nd8KkTzyAo4e9gpW3",
      "account" : "",
      "amount" : 0.00000000,
      "confirmations" : 0
   }
]

> dumpprivkey PtrY1nMip1WXBWif7nd8KkTzyAo4e9gpW3

UGt9Z6b9rGaU9Fayt1E19QkPbDCNWUjr18TizxkifMpPCGqKXwin

I pasted it to the Wallet Details tab of this site:
https://www.bitaddress.org

then it says:
---
The text you entered is not a valid Private Key!
Would you like to use the entered text as a passphrase and create a Private Key using a SHA256 hash of the passphrase?
---

Any suggestions?
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: FreeTrade on November 20, 2013, 06:51:02 am
For a brainwallet - grab the source of brainwallet -

http://brainwallet.org/

In the top right you'll see a list of the currencies it supports - edit the html to add ProtoShares,

<li>
    <a title="0x38" href="http://bitsharestalk.org">
        PTS
    </a>
</li>
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: coolspeed on November 20, 2013, 08:43:29 am
Thank you guys who messeged me. But the address I posted here is an empty address with no coins in it. Besides, I've already deleted that wallet. So I have no plan to send any coin into that address.
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: Sy on November 20, 2013, 11:19:22 am
Why should a PTS privkey be a vlid BTC privkey?

I mean...what the hell? That would put all coins into the same addressspace and make collisions WAY more likely.

You just tried your key from home at work and are seriously wondering why it didnt fit...
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: fav on November 20, 2013, 11:37:45 am
OT: Like FreeTrade said, it's fairly easy to port Brainwallet.org to PTS. I'll modify it later and upload it. Shouldn't be a problem to use it offline I think
Title: Re: PTS priv key not valid bitcoin priv key?
Post by: coolspeed on November 20, 2013, 02:50:54 pm
Why should a PTS privkey be a vlid BTC privkey?

I mean...what the hell? That would put all coins into the same addressspace and make collisions WAY more likely.

You just tried your key from home at work and are seriously wondering why it didnt fit...

cuz protoshares-qt client is forked from the bitcoin-qt, as we all know, with just a few changes. Hence I thought there was no reason to narrow the private key value space. To my knowlege, arbitrary SHA-256 hash output can be valid bitcoin priv key, which means arbitrary 32 bytes also can.

Am I wrong? :-\