Skip to content

Managed encryption key rotation and domain-neutrality audit - #153

Merged
magiccodingman merged 18 commits into
masterfrom
feat/managed-key-rotation
Nov 28, 2026
Merged

magiccodingman merged 18 commits into
masterfrom
feat/managed-key-rotation

Conversation

@magiccodingman

@magiccodingman magiccodingman commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Independent-review follow-up

Final reviewed-change revision 8702708f36aaae10485e0943db6a55fc05e51f97.

  • Rotation authenticates retained migration recovery evidence before admission, converts it with resumable metadata checkpoints, and verifies it before retiring the source key. Historically unsealed evidence that reached an authenticated vault is rejected before access is fenced.
  • Lock and sign-out revoke a rotation authorization that is awaiting deployment validation. Managed streams, projections, and point reads recheck the persisted fence before delivery.
  • Ready vaults report ordinary read and write availability. Published trimmed and AOT fixtures now exercise interrupted encrypted rotation, two-key reacquisition, and target-only reopen through the public C# API. The guide describes rejection and retry during exclusive rotation.

All 18 exact-head hosted jobs passed. The reports include 184 .NET tests, 74 portable tests, 568 native browser cases, 760 browser integration cases, and 104 published upgrade cases, with zero failures or skips. Core · Browser and AOT · Migrations and historical upgrades

This PR remains open as a draft for independent review.

Managed encryption key rotation

Implements exclusive, read-only, and online DEK rotation as a managed vault lifecycle operation. The browser authenticates generation routing, checkpoints conversion and verification transactionally, fences stale writers, and verifies target-only access before reporting retirement readiness. The provider retains key custody. JavaScript and Blazor expose explicit lifecycle operations, and Blazor can opt into background resumption after authorization.

Domain-neutrality audit

Neutralizes the reprotection and contribution examples, updates the verified personal funding link, replaces agent-specific handoff language with reusable guidance, and establishes a project convention. Applicable license text, notices, attribution, and authentic compatibility fixtures are preserved.

Verification

Local portable and browser coverage exercises all three modes for field and whole-record protection, abrupt tab termination with worker resume, target-only reopening, compound keys, exact numeric wire data, and preservation of cross-tab writes and deletes. The historical package fixture rotates upgraded field- and record-protected Lossless databases created by 2.0.7 and reopens with the target key alone. The Chromium benchmark exercises 1,000, 10,000, and 100,000 protected records per mode. A focused 4 KiB record probe compares batch sizes 32, 128, and 512. All 18 hosted jobs passed on 3acfb4f: core, browser and AOT, and migrations and released upgrades. Hosted evidence records 552 native scenarios, 760 ordinary browser cases, and 104 released-package upgrade and published Blazor cases across Chromium, Firefox, Linux WebKit, and macOS WebKit. No executions failed or were skipped.

This is a feature draft. The official 3.0.0 publication uses its separate release branch and excludes these changes.

@magiccodingman
magiccodingman marked this pull request as ready for review November 28, 2026 04:27
@magiccodingman
magiccodingman merged commit 76e04a7 into master Nov 28, 2026
18 checks passed
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