-
Notifications
You must be signed in to change notification settings - Fork 822
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
How does one use decrypt.File
provided by the mozilla sops decrypt go module
#1441
Comments
Please note that the package moved (#1246). It could be that the problem you are encountering is caused by a bug long fixed in this repo. |
In any case, the general usage is correct, I tried this with |
Thank you! Changing the url made it work. |
I'm glad it was only this and not a real bug 😅 |
Hey I'm running into a similar error to #804
I'm opening this issue because my question is a bit different sorry if this is a duplicate.
my
.sops.yaml
basically looks like:this is a minimal code example to reproduce the behavior:
if I run the resulting binary it prints:
I also checked that XDG_CONFIG_HOME is set correctly and decrypting the file with the sops cli utility works just fine and using other tools that implement sops like https://github.com/Mic92/sops-nix/ also works without any problem.
I also checked in the
./secrets/shared.yaml
and it basically looks like:The text was updated successfully, but these errors were encountered: