Author Topic: How to verify a signed message?  (Read 2585 times)

0 Members and 1 Guest are viewing this topic.

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
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.

Offline CoinHoarder

  • Hero Member
  • *****
  • Posts: 660
  • In Cryptocoins I Trust
    • View Profile
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.
https://www.decentralized.tech/ -> Market Data, Portfolios, Information, Links, Reviews, Forums, Blogs, Etc.
https://www.cryptohun.ch/ -> Tradable Blockchain Asset PvP Card Game

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav
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?

Offline yvv

  • Hero Member
  • *****
  • Posts: 1186
    • View Profile
Why signing message is hidden in "avanced" menu? This is such a basic feature.
 

Offline fav

  • Hero Member
  • *****
  • Posts: 4278
  • No Pain, No Gain
    • View Profile
    • Follow Me!
  • BitShares: fav

Offline CoinHoarder

  • Hero Member
  • *****
  • Posts: 660
  • In Cryptocoins I Trust
    • View Profile
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!
https://www.decentralized.tech/ -> Market Data, Portfolios, Information, Links, Reviews, Forums, Blogs, Etc.
https://www.cryptohun.ch/ -> Tradable Blockchain Asset PvP Card Game