GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy · Issue #14399 · developing-today/code

broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy #14399

New issue
Copy link
New issue
Copy link
Done
#14889
Done
broker-tls BT-1: fleet-cert broker-server/broker-client leaf profiles + broker SAN policy#14399
#14889
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/needs-triageNot yet triaged; needs a first lookstatus:done

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 24, 2026
Issue body actions

Parent: #13685 (broker TLS design line, fleet CA program #9155). Design of record: doc/2026-11-24T13-59-26Z_design_broker-tls/2026-11-24T13-59-26Z_design_broker-tls.md (PR #14398). Drew's ruling (2026-11-23) governs: long-term plan line, not a Phase 1 blocker, gates nothing; interim token auth stands. DESIGN-PROGRAM BUILD SLICE — production rollout is explicitly out of scope; production enablement follows the program production gate on #9155. Not enqueued as a live queue task at filing: this slice activates in the program's later order, after the #13685 design is accepted (reason recorded here per the filing rule).

Scope (design record §4 + ADR-0001):

  • Add broker-server and broker-client leaf profiles to the fleet-cert profile registry, derived from server/client (EC P-256, serverAuth/clientAuth), with: 90-day default validity (spec §5.4), automated-renewal contract, CRL-only revocation checking (CDP only where fleet-ca: issuer & leaf lifecycle, AIA/CDP/CRL/OCSP & publication #9164's real-signed-CRL rule holds; no OCSP URL until a functional Base-set responder exists).
  • Broker SAN policy: mandatory internal DNS name(s) + tailnet IP SAN; wildcards and public names rejected at issuance-request validation.
  • Issuance from the Base issuer set only, both A/B partitions eligible; on-host key generation, CSR-based, explicit signer source (existing fleet-cert rail).
  • Register the machine-local leaf-key credential class (generated on host, never exported/escrowed/replicated, fail-closed) with fleet-ca: canonical secrets model, provider adapters & custody policy #9158's canonical model — cross-reference, do not invent a parallel class.
  • Acceptance item: re-check ML-DSA leaf viability against the TLS stack's verifier support and record the outcome on this issue (deferral is the design default until the check passes).

Acceptance: profiles + SAN policy land with tests in fleet-cert; the #9158 class registration is recorded; the ML-DSA re-check outcome is recorded.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T14:02:22Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "c11f41086f57d626be7eb582763b721f8f557408"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • fleet-cert defines broker-server and broker-client leaf profiles plus the broker SAN policy, per the broker-TLS design of record (PR doc: broker TLS design record (#13685) #14398).
  • Profiles are consumable by the later BT slices (BT-2 onward) without further profile changes for Phase 1.
  • Interim token auth is unchanged; nothing is gated on this slice.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    developing-todayBot
    on Nov 24, 2026 – with developing.today
    Contributor
    More actions

    CODE-5315

  2. developing-today-fleet
    added a parent issue on Nov 24, 2026
    • fleet-ca: broker TLS — fleet brokers on the program CA (long-term design line) #13685
  3. developing-today-fleet
    added
    kind/infrastructureInfrastructure / host-portability work
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    app/fleetpkgs/fleet multicall binary + platform crates
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 24, 2026
  4. developing-today-fleet commented on Nov 24, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 24, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    Related: Parent #13685 (broker TLS design line, fleet CA program #9155); design of record in PR #14398; siblings BT-2…BT-7 (#14400–#14405).

    Notes: First slice of the BT series — the leaf profiles and SAN policy every later broker-TLS slice consumes.

    Risks: Profile choices made here propagate to every broker; a wrong SAN policy is expensive to unwind later.

    Suggested approach: Implement exactly per the design record; record any deviation on #13685 before later slices build on it.

    🤖 Agent note · state: filed

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-24 08:14 CST
    • Found via: monitor reconciliation
    • Task: intake enrichment (protocol §5) — acceptance criteria, label normalisation, related links
    • Expectation: s — done when the issue carries criteria, normalised labels and this review
    • Links: n/a
  5. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    Claimed by lane 11, 2026-11-25T06:40Z


    Generated by Claude Code

  6. developing-today
    added
    status:in-review
    on Nov 25, 2026
  7. dezren39
    closed this as completedin dfc44e5on Nov 25, 2026
  8. dezren39 commented on Nov 25, 2026

    @dezren39
    dezren39
    on Nov 25, 2026 – with Claude
    Member
    More actions

    BT-1 landed in #14889. The rest of this issue's acceptance items:

    Profiles and SAN policy. broker-server and broker-client are in the fleet-cert registry. Both are P-256, serverAuth or clientAuth, 90 days, renewed once 30 days are left. Each refuses a request:

    • without a host CSR (leaf issue --csr; the issuer never generates or holds the key);
    • from any issuer set except the Base (general) set (either A/B partition signs);
    • without .internal DNS names plus a tailnet IP SAN (--ip, 100.64.0.0/10 or fd7a:115c:a1e0::/48), or with wildcards, public names, non-tailnet IPs, or a CN outside the DNS names;
    • with a non-P-256 key.

    The leaves embed no AIA, OCSP URL or CDP. tests/broker.rs covers issuance, both partitions, chain validation, openssl verify -purpose sslserver|sslclient, and every refusal. It passed on a remote fleet runner.

    #9158 credential class. #9158's canonical model has no schema or class enumeration in the repo yet, so this records the cross-reference rather than inventing a parallel class. Broker leaf keys are the machine-local leaf-key class:

    • generated on the broker host and never exported, escrowed or replicated;
    • fail-closed, so a lost key means re-issuing from a new CSR.

    fleet-cert's manifest records CSR-issued leaves with key custody host-local, and no key file exists in the bundle. That is the hook for #9158's schema to name when it enumerates classes.

    ML-DSA leaf re-check (outcome: deferral stands). I checked against the fleet lockfile's TLS stack (rustls 0.23.46, rustls-webpki 0.103.16, aws-lc-rs provider) by reading those crate sources. That provider's default verification set includes ML-DSA-44/65/87 for chains and TLS 1.3 signature schemes, and its signer supports ML-DSA keys. So the Rust broker side can verify ML-DSA leaves.

    End to end is not there yet. The fleet runner image ships OpenSSL 3.0.13, which cannot verify ML-DSA chains: fleet-cert's own openssl_independent_validation ML-DSA case fails there on main too. Any OpenSSL-based client before 3.5 (curl, Python) would fail the same way.

    The broker profiles therefore stay P-256-only. Re-check this once a live rustls handshake test with an ML-DSA leaf exists (natural home: BT-3) and the non-Rust clients that call the brokers are on OpenSSL 3.5+.


    Generated by Claude Code

  9. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status/needs-triageNot yet triaged; needs a first lookstatus:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.