Open adamroyjones opened 1 year ago
I've also noticed a secondary issue of consistency. (This one I think is more unambiguously a bug.)
$ sops -d foo/farewell.enc.yaml
Error: cannot operate on non-existent file
$ sops --in-place foo/farewell.enc.yaml
config file not found and no keys provided through command line options
(The error message for 7 caught me out earlier today...)
The below is with sops 3.7.3 on Debian 12 on x86 (installed using the deb provided on the releases page).
Take a folder structure as follows
where .sops.yaml contains (trivial) GCP KMS creation rules, e.g.
and hello.yaml contains
Note the following.
That is, the behaviour of 5 is inconsistent with 1 and 2. For decryption, sops appears to walk from the file towards the root in search of configuration; for encryption, it doesn't.
Is this the intended design or is the inconsistency a minor mistake?