broadfield-dev's picture
Create server.md
7b2cec6 verified

A newer version of the Gradio SDK is available: 5.42.0

Upgrade

KeyLock Server

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.

Functionality

  • Hosts a UI: Provides documentation and status information.
  • Exposes an API: Listens for POST requests at /run/keylock-auth-decoder.
  • Secure Decryption: Uses a private RSA key to decrypt a one-time AES key, which is then used to decrypt the main data payload.

Setup & Running

1. Install Dependencies:

pip install -r requirements.txt