Skip to content
This repository was archived by the owner on Sep 14, 2026. It is now read-only.

feat: add vault update-access command for Lit re-encryption - #7

Merged
yujiym merged 3 commits into
mainfrom
claude/verify-lit-encryption-27upU
Mar 26, 2026
Merged

yujiym merged 3 commits into
mainfrom
claude/verify-lit-encryption-27upU

Conversation

@yujiym

@yujiym yujiym commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Lit access conditions are baked in at encryption time, so changing who can decrypt requires a full decrypt → re-encrypt → store cycle.

  • SDK: add vault.updateAccess(path, newConditions) to vault layer
  • CLI: add vault update-access <path> --allow-address | --min-score
  • Tests: 4 new tests covering round-trip, wrong-engine, missing path, and missing authSig error cases

https://claude.ai/code/session_01Uz9wHF8P94LNXQCutWu6Rh

claude added 3 commits March 25, 2026 06:54
Lit access conditions are baked in at encryption time, so changing who
can decrypt requires a full decrypt → re-encrypt → store cycle.

- SDK: add `vault.updateAccess(path, newConditions)` to vault layer
- CLI: add `vault update-access <path> --allow-address | --min-score`
- Tests: 4 new tests covering round-trip, wrong-engine, missing path,
  and missing authSig error cases

https://claude.ai/code/session_01Uz9wHF8P94LNXQCutWu6Rh
Replace dynamic import("../types.js").LitAccessCondition with the
already-imported LitAccessCondition type to avoid CI typecheck failures.

https://claude.ai/code/session_01Uz9wHF8P94LNXQCutWu6Rh
@yujiym
yujiym merged commit 8f8ee55 into main Mar 26, 2026
3 of 4 checks passed
@yujiym
yujiym deleted the claude/verify-lit-encryption-27upU branch March 26, 2026 06:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants