Show HN: Lockenv – Simple encrypted secrets storage for Git

https://news.ycombinator.com/rss Hits: 11
Summary

lockenv Simple, CLI-friendly secret storage that lets you safely commit encrypted secrets to version control. For small teams who want something simpler than sops/git-crypt for .env and infra secrets. Overview lockenv provides a secure way to store sensitive files (like .env files, configuration files, certificates) in an encrypted .lockenv file that can be safely committed to your repository. Files are encrypted using a password-derived key and can be easily extracted when needed. How is this different? Feature lockenv git-crypt sops Format Single vault file Transparent per-file YAML/JSON native Auth Password + Keyring GPG keys KMS/PGP Git integration Manual (lock/unlock) Transparent (git filter) Manual Setup lockenv init GPG key exchange KMS/key config Best for Simple .env/config Large teams, many devs Cloud infra, key rotation Installation Homebrew (macOS/Linux) brew tap illarion/tap brew install lockenv Download the .deb file from the latest release: sudo dpkg -i lockenv_ * _linux_amd64.deb Download the .rpm file from the latest release: sudo rpm -i lockenv_ * _linux_amd64.rpm Binary Download Download pre-built binaries from GitHub Releases. Available for: Linux (amd64, arm64) macOS (amd64, arm64) Windows (amd64, arm64) Go Install go install github.com/illarion/lockenv@latest Shell Completions Shell completions are automatically installed when using Homebrew, deb, or rpm packages. For manual installation (binary download or go install ): # Bash - add to ~/.bashrc eval " $( lockenv completion bash ) " # Zsh - add to ~/.zshrc eval " $( lockenv completion zsh ) " # Fish - add to ~/.config/fish/config.fish lockenv completion fish | source # PowerShell - add to $PROFILE lockenv completion powershell | Out-String | Invoke-Expression Quick Start # Initialize lockenv in your project lockenv init # Lock (encrypt and store) sensitive files lockenv lock .env config/secrets.json # Later, unlock (decrypt and restore) files with your password lockenv unlock Git Integration lo...

First seen: 2025-12-08 09:25

Last seen: 2025-12-08 19:26