Sops version: 3.7.1 (Installed from deb package)
How to reproduce:
- create example.yaml using one KMS and one PGP key
- turn off your aws profile / credentials
- try to rotate the file in place:
sops -r -i example.yaml
What happens:
- example.yaml file gets truncated to zero bytes!
- sops prints no error messages
- sops returns exit code zero as if everything was ok
What I would like to happen:
- sops detects that not all master keys are available
- sops prints error message: you cannot rotate because you are missing key X
- sops exits with non-zero code.
Sops version: 3.7.1 (Installed from deb package)
How to reproduce:
sops -r -i example.yamlWhat happens:
What I would like to happen: