Skip to content

enrollment & delegation: SAS pairing ceremony + chain-to-principal pinning (ceremony-contract §5.4/§2.1) #66

Description

@hartsock

Protocol-side companion to #65 and to agent-bridle's Ceremony Contract (bridle PR #229, v0.1.2 §2.1/§5.4/§5.5). The identity model: every participant — principal, agent, surface — is a fingerprint; a monolith is one fingerprint wearing all roles; a no-compute mobile surface is a keypair + renderer.

What already exists here (cite, don't rebuild)

Delegation (newt → back-end worker) is therefore shipped in outline: both endpoints chain to a common pinned principal; the root key is involved at issuance only (headless fleets verify offline; revocation = generation bump).

What this issue adds

  1. SAS enrollment ceremony for new devices/surfaces (incl. no-compute):
    commit-then-reveal, SAS derived from the full exchange transcript, human
    comparison on both screens as the authentic channel. (A naive
    phrase-echo — "new device shows abc-987, trusted device returns it
    encrypted" — is MITM-relayable; the commitment step is what forces the
    attacker to guess in advance.)
  2. Parameterized paranoia: strength = (SAS entropy × rounds, distinct witnesses, presence); minima set by caveat ceiling — broad ceiling ⇒ multi-round + ≥2 previously-secured witnessing surfaces + hardware presence (attest).
  3. Surface identities: remote surfaces sign their Decisions/AuditRecords; enrollment produces a PinRecord in the chain-store carrying the ceremony parameters (auditable).
  4. External anchors as corroboration: GitHub-published keys / DNS / org CA / prior devices = candidate witnesses for a self-sovereign root — never load-bearing (floating-identity doctrine; docs/decisions/floating_identity.md); no-GitHub users enroll by ceremony alone.

Out of scope

Refs: #65, #39, #40, bridle#229 (§2.1, §5.4, §5.5), bridle#225, newt-agent#1209.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions