-
Notifications
You must be signed in to change notification settings - Fork 8
Description
One excellent use case for BitShares would be as a source of identity, and signing messages with keys belonging to a BitShares account would be a way of achieving authentication.
One way to achieve this would be to allocate an instruction (INS) byte to a method to sign arbitrary messages. Then, authentication challenges could be signed. HOWEVER, if we allow signing of truly arbitrary data, it's possible the user could unwittingly sign a malicious transaction.
So we want to allow signing, but we want to allow it only for messages wrapped in a specified container format (or a multiplicity of supported container formats, if desired), so that it becomes impossible to construct a "message" that also looks like a transaction.
But once a message/container format is decided upon, we could allow signing of messages via this app.