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

decrypt.Data does not support ini store by default #548

Open
dnozay opened this issue Oct 15, 2019 · 2 comments
Open

decrypt.Data does not support ini store by default #548

dnozay opened this issue Oct 15, 2019 · 2 comments

Comments

@dnozay
Copy link
Contributor

dnozay commented Oct 15, 2019

Is there a reason why the cli supports .ini files out of the box, but decrypt.Data(...) doesn't?
should it be using DefaultStoreForPath instead?

@autrilla
Copy link
Contributor

Is there a reason why the cli supports .ini files out of the box, but decrypt.Data(...) doesn't?

Oversight!

should it be using DefaultStoreForPath instead?

Maybe, yeah. We should probably just "." + format and pass that over to DefaultStoreForPath. Or maybe even improve the whole thing and keep a map of extensions to Stores.

dnozay added a commit to dnozay/sops that referenced this issue Oct 15, 2019
dnozay added a commit to dnozay/sops that referenced this issue Oct 16, 2019
dnozay added a commit to dnozay/sops that referenced this issue Oct 16, 2019
@dnozay
Copy link
Contributor Author

dnozay commented Oct 16, 2019

added #549 to try and address this.

dnozay added a commit to dnozay/sops that referenced this issue Oct 16, 2019
dnozay added a commit to dnozay/sops that referenced this issue Oct 16, 2019
dnozay added a commit to dnozay/sops that referenced this issue Oct 16, 2019
autrilla added a commit that referenced this issue Oct 26, 2019
fix for #548 - handle .ini files in `decrypt.Data`, add other helper
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