Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters to prevent accidentally checking in plaintext? #146

Open
Matir opened this issue May 9, 2022 · 2 comments
Open

Filters to prevent accidentally checking in plaintext? #146

Matir opened this issue May 9, 2022 · 2 comments

Comments

@Matir
Copy link
Contributor

Matir commented May 9, 2022

git-crypt can be used as a filter to automatically encrypt on commit. Is there any approach like this with agebox? It feels like the current workflow makes committing secrets quite easy.

@Threnklyn
Copy link

you can run agebox verify --no-decrypt this will return a non 0 exit code so if you create a git pre-commit hook with this it should prohibit commits with unencrypted but tracked files

@fbartels
Copy link

The command I think @Threnklyn had in mind was agebox validate --no-decrypt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants