Create server.md
Browse files- server/server.md +14 -0
server/server.md
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# KeyLock Server
|
2 |
+
|
3 |
+
This is the server-side component of the KeyLock system. It's a self-contained Gradio application that provides a secure API endpoint for decrypting data hidden in PNG images.
|
4 |
+
|
5 |
+
## Functionality
|
6 |
+
- **Hosts a UI**: Provides documentation and status information.
|
7 |
+
- **Exposes an API**: Listens for `POST` requests at `/run/keylock-auth-decoder`.
|
8 |
+
- **Secure Decryption**: Uses a private RSA key to decrypt a one-time AES key, which is then used to decrypt the main data payload.
|
9 |
+
|
10 |
+
## Setup & Running
|
11 |
+
|
12 |
+
**1. Install Dependencies:**
|
13 |
+
```bash
|
14 |
+
pip install -r requirements.txt
|