Repository navigation
docs(runtime): specify node enrollment proof-of-possession and auth domains - #517
Merged
Merged
Conversation
Revises ADR 0019 and the node-control knowledge concept. Rejects caller-declared fingerprints/tokens as identity proof; adopts node-generated secret with digest-only registration, signed CSR proof of possession, atomic compare-and-consume, TLS channel binding, and three non-crossing authorization domains. Requires harmless enrollment fixtures before any node-control RPC is mounted and forbids success evidence from stubs.
Resolves parent review gaps: operator-approved public key is REQUIRED and proof must come from that exact key; distinguishes pre-registration CSR_PRE from a fresh post-challenge signature over node ID, enrollment ID, nonce, expiry, capabilities and verified channel context via a bounded BeginEnrollmentChallenge step; corrects secret origin so S stays local and is sent only in the claim; specifies signed public client certificate delivery with mTLS and explicit TLS topology refusal; extends harmless P1 fixtures with mismatched key, stale nonce, preflight scope and durable rotation.
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.
Track C design gate before any node-control RPC is mounted or deployment work begins. Corrects the contract's identity claim: caller-declared key_fingerprint is metadata only. Chosen P1 scheme: node-generated >=256-bit secret + digest-only registration + signed CSR proof of possession, TLS/channel-bound, atomic single-use compare-and-consume with generation/revocation; three separate auth domains (operator provisioning, one-time bootstrap claim, enrolled node operation). No controller-generated or returned secrets; no stub success evidence. Eight harmless fixture acceptance cases specified before live work. Docs only: managed-node-runtime.md sections 9.1-9.3/12/17/19/22/23, ADR0019, knowledge/architecture/node-control-protocol.md. knowledge-lint 62 concepts/38 queries.