FleetMesh fleetmesh
Mesh Guide 8 Chapters
L5 Private Fleets, Circles & Authority L5 Private Fleets, Circles & Authority

Private Fleets, Circles & Authority.

FleetMesh starts open by default—yet families, teams, and cooperatives need private spaces and shared control. Layer 5 builds invite-only networks, blinded fleet rosters, equal-peer Circles (did:group), experimental FROST threshold signing, and attenuated UCAN capability chains with zero central IAM servers or shared root keys.

5.0 · Layer 5 Big Picture

Private boundaries & shared power without central admins

In traditional infrastructure, privacy means renting a corporate VPN concentrator and governance means handing one super-admin the master password. If that password leaks—or the admin disappears—the whole organization is exposed or locked out.

Layer 5 turns authority into composable, verifiable Nostr events (kinds 30830–30835): relays enforce signed private rosters at the boundary, equal-peer Circles co-own infrastructure across rotated epochs, and narrow UCAN tokens delegate exact permissions that revoke in seconds.

Interactive Lab 5.0 · Layer 5 Governance Blueprint Selector
Pick a real-world organization to see which Layer 5 primitives it combines
L5 L5
Companion Explainer 5.0
Layer 5: Private Fleets, Circles & Authority
Private Fleets Private Fleets

5.1 · Kinds 30830, 30835 & Enrolment

Private Fleets & Encrypted Rosters

The Concept

How do you run an invite-only network on shared decentralized infrastructure without leaking who owns which server? Instead of a centralized user directory, a private network is a signed, replaceable roster enforced right at the relay boundary—while public node descriptors strip out all private network tags and ownership lists stay encrypted exclusively to the fleet’s operator.

FleetMesh Implementation

  • Signed rosters (kind 30830) & 4 join policies: Supports open, credentialed, approved, and invite (default); private relays enforce NIP-42 AUTH + atomic roster.json export.
  • Descriptor split: Public relays receive a clean kind 11801 with zero private network tags; private relays receive the private copy.
  • Blinded fleets (kind 30835) & fmenrol1: Operators enrol boxes using node-bound UCAN tokens and read their encrypted fleet list privately; see networks.html.
Interactive Lab 5.1 · Join Policies & Descriptor-Split Inspector
Inspect all 4 join policies and see what public vs. private relays observe
Private Fleets Private Fleets
Companion Explainer 5.1
Private Fleets & Encrypted Rosters
Equal-Peer Circles Equal-Peer Circles

5.2 · did:group & Rotated Epoch Keys

Equal-Peer Circles & Quorum Governance

The Concept

Single-admin groups have a built-in single point of failure: if one founder loses their laptop or turns hostile, everyone else loses control. An equal-peer Circle gives a group its own persistent cryptographic identity governed by quorum—advancing to a new epoch and rotating shared encryption keys automatically whenever membership changes.

FleetMesh Implementation

  • did:group Controller (kind 30834): Declares the current governance epoch and signing mode (steward, multisig, or experimental frost).
  • Forward-secret epoch key rotation: When a member departs, the Circle bumps its epoch and seals a fresh NIP-44 key solely to remaining active members.
  • Shared fleet co-ownership: Nodes can be enrolled under a Circle so destructive actions (node/destroy, set-operator) require a verifiable poll/quorum rather than one person’s key.
Interactive Lab 5.2 · Circle Epoch & Quorum Inspector (kind 30834)
Step through Circle governance modes and membership epoch rotation
Circles Circles
Companion Explainer 5.2
Equal-Peer Circles & Quorum Governance
FROST Threshold Groups FROST Threshold Groups

5.3 · Experimental · t-of-n BIP-340 Schnorr

FROST Threshold Groups

Maturity Note (Experimental): FROST t-of-n threshold signing is implemented for research and exploration outside alpha stability guarantees (per docs/experimental.rst). Production Circles today default to steward or explicit multisig quorums while FROST DKG recovery matures.

The Concept

Standard k-of-n multisig attaches k separate signatures to every message, bloating wire payloads and publicly exposing which members voted. FROST (Flexible Round-Optimized Schnorr Threshold signatures) splits a group key across members via Distributed Key Generation so any t members combine partial shares into one ordinary 64-byte signature—and the combined private key never exists on any single machine.

FleetMesh Implementation

  • Zero single-machine full key: Each member holds only their local secret share s_i; fewer than t shares reveal zero bits of the group secret.
  • In-process library signing (Rust): Implemented today as an in-process, library-only module (mesh-rs/crates/fleetmesh/src/frost.rs behind --features frost) that runs Round 1 nonce commitments and Round 2 partial-signature aggregation into one (R, z) Schnorr proof (no networked DIDComm signing coordinator yet).
  • Standard BIP-340 output: Verifies identically to a 1-key secp256k1 signature on every Nostr relay—hiding internal quorum size and voter identities.
Interactive Lab 5.3 · Live 3-of-5 FROST Threshold Signer (Experimental)
Click Circle members below to reach the 3-of-5 threshold and assemble one 64-byte BIP-340 signature
FROST FROST
Companion Explainer 5.3
FROST Threshold Groups (t-of-n BIP-340)
UCAN & W3C VCs UCAN & W3C VCs

5.4 · Kinds 30832 & 30833 · Attenuated Delegation

UCAN Capability Chains & W3C Verifiable Credentials

The Concept

Handing out a shared SSH key or admin password gives all-or-nothing access with no safe way to sub-delegate narrow tasks. UCANs (User Controlled Authorization Networks) are self-verifying signed tokens where an owner grants a specific capability on a specific resource—and each delegated link in the chain can only narrow (attenuate) scope and lifetime, never widen them.

FleetMesh Implementation

  • 5 capability namespaces & depth ≤ 4: node, fleet, network, app, and host verified deterministically in fleetmesh_core.network.grant.verify (kind 30832).
  • 3 authority tiers: standing (≤90d), emergency (≤24h, self-revokes unless ratified within 3d), and reserved (requires poll enactment).
  • Instant revocation (kind 30833) & VCs: Adding a grant ID to the issuer’s kind 30833 breaks every downstream chain within 30 seconds; issuer credentials gate credentialed networks.
Interactive Lab 5.4 · UCAN Chain Verifier & kind 30833 Revocation Tester
Run FleetMesh’s deterministic grant verifier against valid and invalid delegation chains
UCAN UCAN
Companion Explainer 5.4
UCAN Capability Chains & W3C Verifiable Credentials