Update server/server.py
Browse files- server/server.py +6 -2
server/server.py
CHANGED
@@ -78,8 +78,12 @@ def get_public_key():
|
|
78 |
def get_server_info():
|
79 |
return {
|
80 |
"name": "KeyLock Auth Server",
|
81 |
-
"version": "1.
|
82 |
-
"documentation": "This server decrypts data hidden in KeyLock images and performs a mock authentication
|
|
|
|
|
|
|
|
|
83 |
"endpoints": {
|
84 |
"/keylock-pub": "GET - Returns the server's public key.",
|
85 |
"/keylock-info": "GET - Returns this information object.",
|
|
|
78 |
def get_server_info():
|
79 |
return {
|
80 |
"name": "KeyLock Auth Server",
|
81 |
+
"version": "1.4",
|
82 |
+
"documentation": "This server decrypts data hidden in KeyLock images and performs a mock authentication based on the decrypted payload.",
|
83 |
+
"required_payload_keys": [
|
84 |
+
{"key_name": "API_KEY", "description": "Your unique API Key for this service.", "example": "sk-12345-abcde"},
|
85 |
+
{"key_name": "USER", "description": "The user ID associated with the key.", "example": "demo-user"}
|
86 |
+
],
|
87 |
"endpoints": {
|
88 |
"/keylock-pub": "GET - Returns the server's public key.",
|
89 |
"/keylock-info": "GET - Returns this information object.",
|