stellar-deprecated / stellard

INACTIVE. Server in the Stellar network. Maintains the distributed ledger. Introduces and validates transactions. This repo is not in active development, it is being replaced by stellar-core.
Other
270 stars 60 forks source link

sign message to prove address ownership #50

Closed andrewchambers closed 10 years ago

andrewchambers commented 10 years ago

(I also created a client issue for this)

Please add a feature to the server which allows a user to sign a message or string with the private key, and then allow another user to verify the signature proving the owner of an address authored the message.

I would suggest a stellard api call for sign_message(secretkey,message) -> signature and validate_message(address,sig,message) -> bool

Bitcoin clients have this, and its pretty important to be able to prove a gateway or address owner really did author a document.

This change is critical to support sending secure payment instructions to gateways. A stellar account can then sign a message with fiat account deposit instructions etc.

jedmccaleb commented 10 years ago

This would be done client side. There is an issue for it there.

andrewchambers commented 10 years ago

Cool thanks, this feature is needed for something im working on.