A zero-knowledge messaging engine with no server access to secrets.
Project details
Secret Gate provides a self-hosted, zero-knowledge messaging platform where users can send encrypted messages without exposing their secrets to a server. Built with pure native PHP and empowered by the Web Crypto API, it ensures complete privacy without dependencies or frameworks. Share messages securely and anonymously without trust issues.
Secret Gate is a self-hostable, ephemeral messaging engine designed for users seeking an anonymous inbox without giving server access to their messages. By leveraging the power of the Web Crypto API, it enables users to generate a secure link for message delivery, ensuring that only the sender and intended recipient can access the information. The server is never privy to the plaintext content, as it only stores ciphertext which it cannot decrypt.
This system operates without the need for signup, email, or phone verification. Messaging is facilitated through a unique keypair, a secure password, and a simple link. When a message or link reaches its expiration, it is automatically deleted from the database, thus enforcing data integrity without relying on user trust.
Developed with a focus on simplicity and transparency, Secret Gate consists of approximately ten PHP files and requires no dependencies or frameworks, allowing users to deploy it effortlessly on standard LAMP stacks.
window.crypto.subtle, ensuring that the server cannot access message content.Secret Gate implements a hybrid encryption model: an RSA-OAEP keypair for inbox creation and unique AES-256-GCM keys for each message, striking a balance between secure key management and efficient encryption.
┌─────────────────────────────────────────────────────────────────────────────┐
│ 1. INBOX CREATION (Owner) │
│ ... // workflow description ... │
└─────────────────────────────────────────────────────────────────────────────┘
This meticulous architecture allows anonymous senders to securely encrypt messages using only the public key, circumventing the need for shared secrets or prior interactions.
Secret Gate adheres to rigorous security protocols at various layers:
By focusing on minimal complexity and maximal security, Secret Gate offers a comprehensive solution for ephemeral and anonymous messaging requirements, making it an ideal choice for those prioritizing privacy in their communications.
Comments
0Start the conversation
Share the first comment.