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

Fix: don't try to copy non-existing files #212

Closed
wants to merge 1 commit into from

Conversation

jankaifer
Copy link

When trying to create a new file with agenix -e It printed a weird cp error, that was confusing, and that hid the actual error I faced at #211.

Fixes #211

This warning was printed when creating new encrypted file
@jankaifer
Copy link
Author

jankaifer commented Oct 16, 2023

Tested by running this:

$ echo a | agenix -e login-password.age
$ echo a | agenix -e login-password.age
login-password.age wasn't changed, skipping re-encryption.

First doesn't print that error anymore and that diffing logic was not broken.

@CobaltCause
Copy link
Contributor

Duplicate of #176?

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

Successfully merging this pull request may close these issues.

Unable to forward mkpasswd result into agenix
2 participants