add per-secret recipient groups#226
Merged
Merged
Conversation
iicky
commented
Jun 16, 2026
Owner
- add `group` command to create, list, and manage named recipient groups
- add `--group NAME` to add/generate/rotate/import/edit to scope a secret to a group
- treat `everyone` and `me` as reserved tiers; deprecate `--scoped` in favor of `--group me`
- encrypt grouped secret values to group members only, alongside shared and scoped tiers
- store grouped ciphertext and group membership in the vault and cover it in the integrity MAC
- handle grouped values in export, merge, and the Python/Node bindings
- document recipient groups in SPEC.md and THREAT_MODEL.md
- add CLI tests for group lifecycle and grouped secret access
- add grouped field to SecretEntry and groups map to Meta - add MAC v6 (blake3v4) covering grouped ciphertexts and group membership; gate on first group so group-free vaults stay byte-identical; reject grouped data under pre-v6 MACs - add src/groups.rs: create/delete/add_member/remove_member/resolve_member, reserved names everyone/me - add murk group create/ls/add/rm and --group on add/generate/import/edit and circle authorize - route --group everyone/me to shared/scoped; keep --scoped as deprecated alias for --group me - enforce one base tier per key: setting shared clears grouped, setting a group clears shared - preserve on-disk secrets a non-member can't decrypt across save so they aren't dropped - resolve grouped values in get_secret/resolve_secrets so bindings read them; strip revoked members from groups - merge grouped like scoped, union group membership in regenerate_meta - update SPEC.md and THREAT_MODEL.md
Codecov Report❌ Patch coverage is
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.