
Zero-knowledge privacy platform for confidential API key management, encrypted vault, and secure chat. Built on Oasis Sapphire TEEs
Private API Key Management & Zero-Knowledge Infrastructure
Pribado is a self-hostable, zero-knowledge platform for managing API keys, encrypted secrets, and private communications. Built on Oasis Sapphire for hardware-backed confidential computing.
priv_xxx) to use instead of exposing real keys# Clone the repository
git clone https://github.com/0xrlawrence/Pribado.git
cd Pribado
# Install dependencies
npm install
# Create environment file
cp .env.local.example .env.local
# Generate encryption secret
echo "ENCLAVE_SECRET=$(openssl rand -hex 32)" >> .env.local
# Build and run
npm run build
npm start
Open http://localhost:3000 in your browser.
docker-compose up -d
| Variable | Description | Required |
|---|---|---|
ENCLAVE_SECRET | 64-char hex encryption key |
See SELF_HOSTING.md for complete deployment guide.
Manage API keys from the command line:
# Install globally
npm install -g pribado-cli
# Or use npx
npx pribado-cli
# Set up wallet
pribado init
# Add an API key
pribado keys add
# View your keys
pribado keys
# Revoke a key
pribado keys revoke
See cli/README.md for full documentation.
Pribado implements a zero-knowledge architecture:
User's Wallet Signature
↓
PBKDF2 (100,000 iterations)
↓
Encryption Key (exists ONLY in browser memory)
↓
AES-256-GCM Encryption
↓
Encrypted blob sent to server
Result: Server stores encrypted data it CANNOT decrypt.
For detailed security documentation, see SECURITY.md.
Contributions are welcome! Please read CONTRIBUTING.md first.
git checkout -b feature/amazing-feature)git commit -m 'feat: add amazing feature')git push origin feature/amazing-feature)If you find this project useful, consider supporting its development:
Mainnet access requires a minimal $1/month fee to prevent spam and support infrastructure.
This project is provided as-is for personal and educational use. Not designed for enterprise scaling. If you choose to use this in a production environment, you do so at your own risk.
For enterprise use, you are encouraged to self-host and create your own infrastructure.
MIT License - see the LICENSE file for details.
Built with ❤️ for privacy
| ✅ Yes |
SAPPHIRE_PRIVATE_KEY | Oasis wallet private key | ❌ Optional |
SAPPHIRE_RPC_URL | Oasis RPC endpoint | ❌ Optional |
| Layer | Technology |
|---|
| Frontend | Next.js 14, React, TailwindCSS |
| Encryption | AES-256-GCM, PBKDF2, Argon2id |
| Blockchain | Oasis Sapphire (TEE) |
| Database | SQLite (WAL mode) |
| Transport | HTTPS/TLS 1.3 |
| Real-time | Socket.IO |