BitShares Forum

Main => Technical Support => Topic started by: CoinHoarder on December 09, 2017, 01:23:46 am

Title: How to verify a signed message?
Post by: CoinHoarder on December 09, 2017, 01:23:46 am
The wallet now has a feature to create a signed message like:

-----BEGIN BITSHARES SIGNED MESSAGE-----
Secretcode
-----BEGIN META-----
account=coinhoarder1
memokey=BTS5VoKnbC9zdFg3XfkayjXC9u6c2YAVc95ZrYQPN1TKU7JT6Hkhh
block=22486470
timestamp=Sat, 09 Dec 2017 01:07:42 GMT
-----BEGIN SIGNATURE-----
2070c5e86c9584a6ef6a6cd13a3e1d0ef5d2a2f2e88899f78e388f9b09004900e87f999ec6c43430908a6087f5f9408fdebb8c3e88e4acf27a060f81d0824b6b8a
-----END BITSHARES SIGNED MESSAGE-----

Can someone give me a nudge in the right direction as to how I would confirm the validity of the signed message?

Any help would be more than welcome, but I will be implementing the solution in Javascript (well... Node.js).

They are AES-256 encrypted???

I am trying to test this to see if Bitshares may be a good place for me to build a game that I am designing.

Thanks!
Title: Re: How to verify a signed message?
Post by: fav on December 09, 2017, 09:46:44 am
see https://d.tube/#!/v/ash/c6pjtikv
Title: Re: How to verify a signed message?
Post by: yvv on December 09, 2017, 02:23:50 pm
Why signing message is hidden in "avanced" menu? This is such a basic feature.
 
Title: Re: How to verify a signed message?
Post by: fav on December 09, 2017, 02:43:20 pm
Why signing message is hidden in "avanced" menu? This is such a basic feature.

how often did you sign a bitcoin message in the last 7 years?
Title: Re: How to verify a signed message?
Post by: CoinHoarder on December 09, 2017, 04:21:58 pm
I know how to verify it in the GUI.

I am wondering what the CLI command is to verify?

I can't seem to find a list of all the CLI command.

Ideally, I would like to verify them without using the client, so I am wondering how exactly it works.

I think is uses AES-256 encryption, with the public memo key being the encryption key. I am not sure what format the memo key is in by default though, and not sure what format it needs to be converted to.

Encryption is not my area of expertise tbh.

Thanks for any help.
Title: Re: How to verify a signed message?
Post by: yvv on December 09, 2017, 06:46:38 pm
Why signing message is hidden in "avanced" menu? This is such a basic feature.

how often did you sign a bitcoin message in the last 7 years?

Just when I need to prove address ownership. In wallet messaging feature could be very useful though.