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

[updatekeys] Fix input-type cli flag being ignored #1694

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kleinschrader
Copy link

At my workplace we use sops, but we use yaml files and end them in .yaml.enc instead of just .yaml.
We recently wanted to add a new key and used sops updatekeys --input-type=yaml <file> however it would throw json decode errors.

I do not know go and have never worked with it so this is the best i could conjure up and i didnt mange to get tests to run so i can only say that --input-type now works with updatekeys.

Any feedback is welcome and i am happy to make changes.

@kleinschrader kleinschrader force-pushed the fix-input-type-updatekeys branch from 4a95c6b to 6e16eeb Compare December 3, 2024 07:59
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

Successfully merging this pull request may close these issues.

1 participant