Author Topic: Bitshares offline wallet (cold storage)?  (Read 1806 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Should ne no problem .. the blockchain should not care about weather its aa titan or a rwa tx

Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
with TITAN each unspend output has a seperate private key that can be derived from the master private key of your account. You will not be able to sign any transactions if you do not have the corresponding privkey of the unspent outputs.
However, you do not necessarily need the master private key .. but I am not sure if it is wise to work on derived private keys (and possibly expose them) as there are some security issues with ECC concerning derived private keys .. best practice would be to let the wallet handle derived priv keys..

Or are you talking about unsigned raw transactions .. that should be possible with titan .. but currently is not yet implemented.

TITAN is based on ECC as is bitcoin .. I don't know about the explicit transaction structure but I am very sure something like 'offline' signing is possible and will be implemented in future .

Further .. BM once stated that he has some nice ideas about some observer-keys that can only do read-only .. (ECC magic)

Thanks for the answer. If I choose not to use TITAN, will things be easier? At least from blockchain point of view, I don't see any barrier. I withdraw some from an account and deposit to an account with a public key. Wrap them into 2 operations in a transaction, sign it and broadcast it. The barrier is at wallet which doesn't allow generation of a raw transaction and transmission of a signed transaction.
Weibo:http://weibo.com/zhangweis

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
1. How can I generate a transaction without private key?
I don't know whether it's possible with TITAN. If it's not and I choose to compromise the anonymity, how can I generate the raw transaction on an online machine?
with TITAN each unspend output has a seperate private key that can be derived from the master private key of your account. You will not be able to sign any transactions if you do not have the corresponding privkey of the unspent outputs.
However, you do not necessarily need the master private key .. but I am not sure if it is wise to work on derived private keys (and possibly expose them) as there are some security issues with ECC concerning derived private keys .. best practice would be to let the wallet handle derived priv keys..

Or are you talking about unsigned raw transactions .. that should be possible with titan .. but currently is not yet implemented.

Quote
2. How can I sign it on an offline machine?
Is it the same algorithms as bitcoin? If yes, then it's quite easy to sign and for me, I need to sign in javascript as I'm using chromebook as offline machine for even higher security.
TITAN is based on ECC as is bitcoin .. I don't know about the explicit transaction structure but I am very sure something like 'offline' signing is possible and will be implemented in future .


Further .. BM once stated that he has some nice ideas about some observer-keys that can only do read-only .. (ECC magic)

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
I've asked the same question multiple times. It would be nice to hear from the team.

I think I've found a work around but would like to know that this is in fact correct.

Can someone confirm, if I do wallet_import_private_key with some private key of my choosing, on a computer that is offline, and then get the BTSX public address associated with it and send some amount to it. Would I be able to then later down the road import that address using the saved private key when I want to use it?


Offline zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
How can I protect my private key using similar way of offline wallet without ever exposing private key in any way in online machine/wallet? I guess it can be split in 2 sub-questions.
1. How can I generate a transaction without private key?
I don't know whether it's possible with TITAN. If it's not and I choose to compromise the anonymity, how can I generate the raw transaction on an online machine?
2. How can I sign it on an offline machine?
Is it the same algorithms as bitcoin? If yes, then it's quite easy to sign and for me, I need to sign in javascript as I'm using chromebook as offline machine for even higher security.
Weibo:http://weibo.com/zhangweis