-
Notifications
You must be signed in to change notification settings - Fork 10
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
Re-encrypt only if contents change #19
Comments
I know it. Possible solution is to check if file is in a git repository and checkout the file to preserve encryption. I think that other possibilities there aren't |
can't you hook into |
Big +1 to this. |
related - decrypting the file (manually) also seems to save the file.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since ansible-vault encryption uses a random salt, even if you make no changes to the text, on re-encryption, the file will change.
As an enhancement, revert to the original encrypted file if no changes to the decrypted file are made, when the editor is closed.
The text was updated successfully, but these errors were encountered: