Repository navigation
docs: accept ADR 0011 (protected storage) and the .NET 11 toolchain - #15
Merged
Merged
Conversation
ADR 0011: session files stay files but are AES-256-GCM encrypted, with one random key per store directory in the macOS Keychain (creator-only access), protected by DPAPI on Windows, or in the Linux Secret Service. File leases and atomic writes move to Shared.Storage and are reused. A key is replaced only when definitively missing; an unavailable keyring fails with StorageUnavailable and never falls back to plaintext. Keyring calls have deadlines, and a probe lets hosts explain a missing keyring. ADR 0003 amendment: build with the .NET 11 SDK, target net10.0 and net11.0, and use C# 15.
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.
Summary
Design for roadmap milestone 3, protected storage. Docs only.
ADR 0011 (accepted): session files stay files but are AES-256-GCM encrypted, with one random 32-byte key per store directory held by the OS:
The file store's leases, atomic writes, and location checks move into
Shared.Storageand are reused. A key is replaced only when the OS says it is definitively missing; a locked, refused, or slow keyring fails withStorageUnavailableand never falls back to plaintext. Keyring calls have deadlines (10 s; 60 s for macOS reads that may show the access dialog). A static probe lets hosts explain a missing keyring and point to the explicit plaintext option.ADR 0003 amendment (accepted): build with the .NET 11 SDK, libraries and tests target
net10.0;net11.0, C# 15 everywhere, used only where it also compiles fornet10.0.Roadmap: milestone 3 decisions, current focus, and the next action (the toolchain step).
Verification