Repository navigation
feat(grid-auth): expose Airc::mesh_identity for grant verification - #1277
Merged
Merged
Conversation
Widen the local-mesh accessor from pub(crate) to pub. A capability-grant verifier (continuum's GrantAuthorizer) pins this node's own mesh as the expected mesh: a presented SignedCapabilityGrant scoped to a different grid is rejected WrongMesh. The accessor already resolves the authoritative coordinator-store identity; this only widens visibility. Read once at boot, not on the hot path. Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.
Widen the local-mesh accessor
Airc::mesh_identityfrompub(crate)topub.Continuum's capability-grant verifier (
GrantAuthorizer) pins this node's own mesh as theexpected_meshwhen verifying a presentedgrid_auth::SignedCapabilityGrant— a grant scoped to a different grid is rejectedWrongMesh. The accessor already resolves the authoritative coordinator-store identity; this only widens visibility. Read once at boot, not on the hot path.Last airc-side add for the capability-grant receive path (header + sign + peer_public_key landed in #1276; own-key comes from the node's self-enrollment).
Gate: build + no-silent-fallback clippy clean.
🤖 Generated with Claude Code