Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Move extraction of encryption and rotation options to separate functions #1389

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

felixfontein
Copy link
Contributor

Preparation for a rewrite of #1343, which aims at implementing #1333 (Make encrypt, decrypt, rotate, set, and edit proper commands).

This simplifies the main command handler to a more manageable ~180 lines of code, and heavily reduces the copy'n'paste that would happen in an implementation like #1343.

This is #1387 without #974. Once merged I'll update #1387 to contain a version of #974 rebased to the then current main branch.

…Shamir threshold, etc.).

Signed-off-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Felix Fontein <felix@fontein.de>
Signed-off-by: Felix Fontein <felix@fontein.de>
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @felixfontein 🙇

@felixfontein felixfontein merged commit 4ca66e5 into getsops:main Feb 6, 2024
9 checks passed
@felixfontein felixfontein deleted the refactor branch February 6, 2024 13:57
@felixfontein
Copy link
Contributor Author

@hiddeco thanks for reviewing!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants