Hacker News new | ask | show | jobs
by drjasonharrison 561 days ago
using pre-commit with a hook to prevent secrets from being committed provides a bit more help preventing this mistake. Nor full-proof because you could always commit say a base64 encoded .env file.
1 comments

That relies on the user configuring git hooks correctly, which is a similar problem as noticing that transparent decryption is configured correctly.