Story

Show HN: Lockenv – Simple encrypted secrets storage for Git

shoemann Monday, December 08, 2025

Hi!

I got tired of setting up tools I can't explain to a team in a few words like sops or git-crypt, just to store few files with environment variables or secrets, so I built lockenv as a simple alternative.

It's basically a password-protected vault file you commit to git. No gpg keys, no cloud, just lockenv init, set a password, and lock/unlock the secrets.

This tool integrates with OS keyring, so you're not typing passwords constantly. Should work on Mac/Linux/Windows, but I tested it only on linux so far.

I am not trying to replace any mature / robust solution, just making small tool for simple cases, where I want to stop sharing secrets via slack.

Feel free to try, thank you!

Summary
The article introduces 'lockenv', an open-source tool that helps manage and secure environment variables for software projects. It provides a way to store sensitive configuration data in a secure and versioned manner, making it easier to maintain and share environment settings across different environments.
39 9
Summary
github.com
Visit article Read on Hacker News Comments 9