sops icon indicating copy to clipboard operation
sops copied to clipboard

Allow read data from stdin on Windows

Open jkroepke opened this issue 2 years ago • 1 comments

Fixes #739

Allow - as cross platform alternative to /dev/stdin for reading data from STDIN.

% cat secrets.yaml | ~/go/src/go.mozilla.org/sops/cmd/sops/sops --input-type yaml --output-type yaml -d -
podAnnotations:
    secret: value
% ~/go/src/go.mozilla.org/sops/cmd/sops/sops -d secrets.yaml
podAnnotations:
    secret: value

jkroepke avatar Aug 08 '22 16:08 jkroepke

In case tests are missing, please give me a hint where should I add the tests, thanks.

jkroepke avatar Aug 13 '22 14:08 jkroepke

How to move forward here?

jkroepke avatar Oct 03 '22 06:10 jkroepke

@ajvb (chosen as an active maintainer) could you take a look here?

jkroepke avatar Nov 19 '22 10:11 jkroepke

@ajvb any change of taking a look and merging? This is a nice fix that resolves having to use a custom build of SOPS on Windows

iverberk avatar Dec 09 '22 11:12 iverberk

Changing merge target to develop

jkroepke avatar Dec 31 '22 00:12 jkroepke

Reading https://github.com/mozilla/sops/discussions/927, its like it will take some time.

jkroepke avatar Jan 06 '23 08:01 jkroepke