Show HN: Lockenv – Simple encrypted secrets storage for Git

Alright fellow artisans of the digital realm, let's talk about keeping our sensitive bits and bytes secure without adding a mountain of complexity to our workflow. We've all been there, juggling envir...

Show HN: Lockenv – Simple encrypted secrets storage for Git
Photo by Farhat Altaf / Unsplash

Alright fellow artisans of the digital realm, let's talk about keeping our sensitive bits and bytes secure without adding a mountain of complexity to our workflow. We've all been there, juggling environment variables and API keys, and the thought of wrestling with hefty tools like sops or git-crypt for just a few secrets can feel like overkill. That's where the ingenious little utility called Lockenv steps in. Imagine a password-protected vault, right there in your Git repository. No need for complex GPG setups or relying on external cloud services. With a simple `lockenv init`, you set a password, and then you're free to lock and unlock your secrets as needed. It’s about streamlining that crucial step of keeping sensitive information out of plain sight, especially when collaborating with a team.

The beauty of Lockenv lies in its straightforward approach, designed for those "simple cases" where you just want to prevent accidental leaks via Slack or email. It smartly integrates with your operating system's keyring, meaning you won't be constantly re-typing your master password – a small but significant quality-of-life improvement for daily development. While the creator has primarily tested it on Linux, the aim is for it to play nice across Mac and Windows too. This isn't about replacing enterprise-grade security solutions, but about providing a practical, easily explainable tool for developers who want a quick and effective way to manage their project's secrets without sacrificing precious development time on complex configurations. It’s a craftsman’s solution: practical, elegant, and focused on the job at hand.


📰 Original article: https://github.com/illarion/lockenv

This content has been curated and summarized for Code Crafts readers.