ECDSA- creating a private key and verifying the signature with the signed data through an API.
Follow the below steps to execute the code
export FLASK_APP=bitbucketexport FLASK_ENV=developmentflask run
make sure that you are in the gitlab directory, to run bitbucket directory as a package
**********************************PycharmProjects/github/gitlab$
***********************************PycharmProjects/github/gitlab$ export FLASK_APP=bitbucket
**********************************PycharmProjects/github/gitlab$ export FLASK_ENV=development
**********************************PycharmProjects/github/gitlab$ flask run
you would see something like below,
* Serving Flask app 'bitbucket' (lazy loading)
* Environment: development
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 740-216-853
- The op should be one of the seven arithmetic operators for python.
2.The server must verify the data field ECDSA signature
- The API does both.