This is a simple Flask application that verifies RSA signed messages using a public key. It provides both a JSON API endpoint and an HTML form for submitting messages and signatures.
-
Clone the repository:
git clone https://github.com/rugo/flagstore cd flagstore
-
Install the required Python libraries:
pip install -r requirements.txt
-
Run the Flask app:
python app.py
-
Open a web browser and navigate to
http://127.0.0.1:5000/
.
You can verify signatures by sending a POST request to /verify
with a form payload containing the message
and signature
fields.
Example using curl
:
curl -X POST http://127.0.0.1:5000/verify -F "message=test message" -F "signature=<hex_encoded_signature>"