/// Project · SECRETS / CLI
envlockup
An encrypted .env you can commit: every value is locked for each person's own SSH key, so adding or removing someone never means passing a secret around.
notes
Teams end up sending the .env over chat, because a secrets manager is too much and .gitignore is not a way of sharing anything. envlockup encrypts the values in place and leaves the file a normal .env: names, comments and order stay readable, so diffs, reviews and merges still work.
Each person is a line at the top of the file, holding their own SSH key. Giving access takes a GitHub username; taking it away revokes the key and changes the data key for everyone else. The list of recipients is signed, so a key added by someone who cannot read the file blocks it instead of quietly gaining access.
The key wrapping is age's, byte for byte, and the tests check it against the age command line. Keys already loaded in ssh-agent work too, including passphrase-protected ones. There are libraries for Node, Python and .NET, and a check command for a pre-commit hook or for CI.
It is early, at version 0.x: the file format can still change and there has been no external security review. The README says what it does not protect, starting with the fact that removing someone does not take back the secrets they have already seen.