You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Serve tag enumeration and identity lookup from immutable authorization snapshots - #30
Publish one immutable map snapshot for each authorization generation. ClientHello tag resolution enumerates that index; finish and installed-session checks look up known PeerIDs directly. Keys are copied at construction and return, and the CLI atomically replaces the snapshot under its existing lock. Existing test enumerations use an explicit adapter; production publishes prebuilt snapshots for expected O(1) lookup.
Validation: full root Go race suite and vet passed. Tests cover snapshot immutability, key replacement, and revocation through both access paths. Protocol docs preserve candidate-testing and metadata limitations and distinguish map complexity from constant-time cryptography.
Priority 7 of 7: authorization performance. Fixes#22. This changes the test/server authorization API; adapt #21's new outage test when combining them.
Independent subagent code review completed before publication; blocking findings were corrected and the final deltas re-reviewed. Left as a draft for owner review; no merge or deployment requested or performed.
Please remove the per-candidate public-key copy from the blinded-tag scan. AuthorizationSnapshot.All() clones each full ML-DSA public key before resolve tests that candidate's ID. An unknown tag therefore copies every key in the paired set. Keep the snapshot immutable and resolve inside the snapshot, or enumerate IDs and copy only the matched key. The periodic validity check can also compare the pinned public key inside the snapshot without returning a copy. Please add an allocation check for scanning misses and update the existing complexity descriptions in PROTOCOL.md and DESIGN.md §14, which still say finishes and session checks scan all peers. On rebase, also adapt the authorization callbacks added by #26 and #29.
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
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.
Publish one immutable map snapshot for each authorization generation. ClientHello tag resolution enumerates that index; finish and installed-session checks look up known PeerIDs directly. Keys are copied at construction and return, and the CLI atomically replaces the snapshot under its existing lock. Existing test enumerations use an explicit adapter; production publishes prebuilt snapshots for expected O(1) lookup.
Validation: full root Go race suite and vet passed. Tests cover snapshot immutability, key replacement, and revocation through both access paths. Protocol docs preserve candidate-testing and metadata limitations and distinguish map complexity from constant-time cryptography.
Priority 7 of 7: authorization performance. Fixes #22. This changes the test/server authorization API; adapt #21's new outage test when combining them.
Independent subagent code review completed before publication; blocking findings were corrected and the final deltas re-reviewed. Left as a draft for owner review; no merge or deployment requested or performed.