Skip to content

docs(runtime): specify node enrollment proof-of-possession and auth domains - #517

Merged
athNdev merged 2 commits into
mainfrom
codex/node-enrollment-design
Nov 18, 2026
Merged

athNdev merged 2 commits into
mainfrom
codex/node-enrollment-design

Conversation

@athNdev

@athNdev athNdev commented Nov 18, 2026

Copy link
Copy Markdown
Owner

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.

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.
@athNdev
athNdev merged commit 4d23d6c into main Nov 18, 2026
12 checks passed
@athNdev
athNdev deleted the codex/node-enrollment-design branch November 18, 2026 05:46
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