getsops / getsops/sops

`updatekeys` should trigger on `shamir_threshold` change

Open
#810 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

When using groups to split a key using shamir secret sharing, modifying a key in any group in .sops.yaml will cause the file to be reencrypted after running updatekeys. The same is not true when changing the shamir_threshold option in .sopsyaml. Do you think it'd make sense for this to also trigger reencryption?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the updatekeys entry point and comparing how changes to group keys are detected with how shamir_threshold is handled. Confirm the expected behavior with the existing issue discussion, then add coverage showing that changing shamir_threshold in .sops.yaml causes re-encryption when updatekeys runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.