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

diff shows entire file has changed #1480

Open
antonyc opened this issue Apr 3, 2024 · 1 comment
Open

diff shows entire file has changed #1480

antonyc opened this issue Apr 3, 2024 · 1 comment

Comments

@antonyc
Copy link

antonyc commented Apr 3, 2024

Hi! With recent upgrades sops 3.7.3 -> sops 3.8.1 (latest) we noticed that the whole file now is changed, even when changing a single key in YAML. However, the docs claim

https://raw.githubusercontent.com/getsops/sops/main/README.rst

  • diffs are meaningful. If a single value of a file is modified, only that
    value will show up in the diff. The diff is still limited to only showing
    encrypted data, but that information is already more granular that
    indicating that an entire file has changed.

Can you please share your understanding, is this a bug, or now it's an untended behavior?

@felixfontein
Copy link
Contributor

I did a quick test, the only thing that changed for me in a larger file was a value I edited, and the encrypted value of a comment. Everything else didn't change.

Can you provide instructions how to reproduce this with the 3.7.3 and 3.8.1 binaries?

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

2 participants