wrinkledeth / penrose_takehome

REST API for ECDSA Signature Verification
0 stars 0 forks source link

HTTP Rest API with Echo #2

Closed wrinkledeth closed 2 years ago

wrinkledeth commented 2 years ago

To Do:

Complete:

  1. Implement API Template
  2. Connect with GETH backend for sig verification
  3. Write Test Client
wrinkledeth commented 2 years ago

This is mostly done, but slightly different from the API Template provided.

The API Template asks the user to supply the signed message + pubkey, my current solution uses the signed message, pubkey, and also message as POST parameters.

Need to figure out a way to do session management so that the message is tracked between between the GET and POST requests.

wrinkledeth commented 2 years ago

Session management completed as of the following commit

wrinkledeth commented 2 years ago

Re-opening this. Response body needs to be JSON instead of string: Ex:

{
“message”: “random_message”
}
wrinkledeth commented 2 years ago

JSON outputs implemented as of this commit

Closing this issue.