Skip to content

77mdias/criptenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

125 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CriptEnv Logo

CriptEnv

Zero-Knowledge Secret Management for Developers & Teams
The open-source alternative to Doppler and Infisical. Your secrets never leave your device unencrypted.

License: MIT Python Live Demo

🌐 Web App β€’ πŸ“– Docs β€’ ⚑ Quick Start β€’ πŸ”’ Security


πŸ” What is CriptEnv?

CriptEnv is a secret management platform built for developers who need to securely store, share, and sync environment variables, API keys, and sensitive credentials across teams and infrastructure.

Unlike traditional secret managers, CriptEnv uses Zero-Knowledge Encryption: your secrets are encrypted on your device with AES-256-GCM before ever reaching our servers. We store only opaque encrypted blobs β€” we cannot read your secrets, even if we wanted to.

The Problem

Your secrets are scattered everywhere:

  • .env files on multiple machines, accidentally committed to Git
  • Plain-text messages in Slack, Email, or WhatsApp
  • Hosting dashboards (Vercel, Render) without central control
  • Personal notes and generic password managers

75% of data breaches involve exposed credentials. CriptEnv solves this with a unified, encrypted vault that stays under your control.

How It Works

Your Device                          CriptEnv Servers
───────────                          ───────────────
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    Encrypted Blob    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Password   β”‚ ──────────────────►  β”‚   Vault     β”‚
β”‚     β”‚       β”‚                      β”‚   Storage   β”‚
β”‚     β–Ό       β”‚                      β”‚             β”‚
β”‚  PBKDF2     β”‚                      β”‚  (We can    β”‚
β”‚     β”‚       β”‚                      β”‚   NEVER     β”‚
β”‚     β–Ό       β”‚                      β”‚  decrypt    β”‚
β”‚  AES-256    β”‚    Encrypted Blob    β”‚   this)     β”‚
β”‚  Encrypt    β”‚ ◄──────────────────  β”‚             β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. You enter the project's Vault password on your device
  2. Secrets are encrypted with AES-256-GCM using a key derived from that password
  3. Only the encrypted blob is sent to our servers
  4. Decryption happens in memory inside the CLI or web app, never on the server

πŸš€ Quick Start

Install the CLI

pip install criptenv

Requires Python 3.10+.

Login

# Authenticate with your account
criptenv login --email you@example.com

criptenv init is optional and only prepares local CLI metadata under ~/.criptenv/.

Manage Secrets

# Add a secret to the remote project vault (encrypted locally before sending)
criptenv set DATABASE_URL=postgres://localhost/mydb
criptenv set API_KEY=your_api_key_here

# List all secrets (names only β€” values are never exposed)
criptenv list

# Get a decrypted value
criptenv get DATABASE_URL

# Import from an existing .env file
criptenv import .env

# Export to .env
criptenv export -o .env.production

Import / Export Files

# Import a .env file into the remote vault
criptenv push .env.production -p my-project

# Export the remote vault to a local .env file
criptenv pull -p my-project --output .env.production

Full Command Reference

Command Description
criptenv init Prepare local CLI metadata (optional)
criptenv login Sign in to your CriptEnv account
criptenv set KEY=VALUE Encrypt and store a secret in the remote vault
criptenv get KEY Decrypt and retrieve a secret in memory
criptenv list List remote secret keys (names only)
criptenv delete KEY Remove a secret from the remote vault
criptenv push FILE -p PROJECT Import .env secrets into the remote vault
criptenv pull -p PROJECT -o FILE Export remote secrets to a file
criptenv import FILE Import secrets from .env file into the remote vault
criptenv export -o FILE Export remote secrets to .env or JSON
criptenv rotate KEY Rotate a secret value
criptenv doctor Check CLI health and connectivity

🌐 Web Dashboard

Prefer a visual interface? Use the web dashboard at:

πŸ‘‰ https://criptenv.77mdevseven.tech

Features:

  • Projects & Environments β€” Organize secrets by project and environment
  • Team Management β€” Invite members, manage roles
  • Audit Logs β€” Complete history of who accessed what and when
  • Secret Rotation β€” Set expiration dates and receive alerts
  • Cloud Integrations β€” Sync secrets with Vercel and Render
  • 2FA / OAuth β€” GitHub, Google, Discord login + TOTP support

✨ Features

Feature Description
πŸ”’ Zero-Knowledge Server never sees plaintext. AES-256-GCM client-side encryption.
⚑ CLI-First Natural terminal workflow. Fast, scriptable, automation-friendly.
🌐 Web Dashboard Visual interface for teams and non-technical members.
πŸ”„ Team Sync Securely share encrypted vaults across devices and teammates.
πŸ“‹ Audit Logs Complete trail of every secret operation.
πŸ”‘ CI/CD Native GitHub Action, CI tokens, and cloud provider sync.
πŸ›‘οΈ 2FA & OAuth TOTP + GitHub/Google/Discord authentication.
πŸ—οΈ Self-Hostable Open source. Deploy on your own infrastructure.

πŸ”’ Security

CriptEnv is built with security as the primary design constraint:

  • AES-256-GCM β€” Industry-standard authenticated encryption
  • PBKDF2-HMAC-SHA256 β€” 100,000 iterations for project vault key derivation
  • HKDF-SHA256 β€” Per-environment key derivation
  • HTTP-Only Cookies β€” Session tokens protected from XSS attacks
  • Rate Limiting β€” Tiered protection against abuse
  • Audit Logs β€” Complete traceability of all operations

We cannot decrypt your secrets. Even with full database access, your data remains cryptographically secure because the encryption key never leaves your devices.


πŸ“š Documentation


πŸ—οΈ For Developers

Want to contribute or self-host? Check out:

Tech Stack

Layer Technology
CLI Python, Click, cryptography
Backend FastAPI, SQLAlchemy, PostgreSQL, Redis
Frontend Vinext (Next.js), React, Tailwind CSS
Deploy Cloudflare Pages + Workers, VPS Docker

πŸ“„ License

MIT License β€” see LICENSE for details.


Built with πŸ”’ by developers, for developers.
Website β€’ GitHub β€’ Documentation

About

Stop secret sprawl. CriptEnv is an open-source Zero-Knowledge secret manager for devs and teams. Encrypt secrets client-side with AES-256-GCM before they reach the server. CLI, web dashboard, audit logs, and cloud integrations included.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors