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 — openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) · Issue #2300 · developing-today/code

openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300

New issue
Copy link
New issue
Copy link
Closed
#11164
Closed
openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4)#2300
#11164
Copy link
Assignees
dezren39
Labels
epic/fleet-orchestrationReprioritization program epic (2026-11-12)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

From the OpenClaw comms design for #2023 (doc PR for task 3381), gap G2/G4.

The OpenClaw gateway binds the laptop tailnet address (100.99.113.103:18789, verified by ss) while gateway.auth.token is a secret reference the CLI path cannot resolve and status reports loopback auth "none". The socket bind — not the "Tailscale exposure: off" status flag — is authoritative for reachability, so the tailnet bind is real exposure and must require authentication.

Work:

  • Determine/enforce token authentication for non-loopback gateway callers; per-caller identity for consumers (Muse's gateway client is the first).
  • Provision/rotate the token through the existing secrets manager, referenced by name only — never written into config files, docs, or chat.
  • If the gateway cannot enforce auth on the tailnet bind specifically, restrict the bind to loopback until it can, and record that outcome on investigate: OpenClaw as a working option — setup state and a Muse↔OpenClaw comms path that is not laptop SSH #2023.

Acceptance criteria:

  • A non-loopback gateway request without a valid token is rejected, demonstrated live.
  • The enforcement/provisioning outcome is recorded on investigate: OpenClaw as a working option — setup state and a Muse↔OpenClaw comms path that is not laptop SSH #2023 and in the design doc's follow-up state.
  • No credential value appears in any repo file, issue, or log.

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1154

  3. dezren39
    added a commit that references this issue on Oct 29, 2026

    docs(openclaw): link filed follow-ups #2300 #2301 #2302 in comms design

    e8ff494
  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  6. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  7. dezren39
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  8. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-o shift
    • Session / ID: task 7889
    • Found via: queue claim (re-claim after a prior handoff cycle)
    • Task: triage of issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300 claimed by lane code-o; execution-lane assignment returned opencode, so the task is handed off to the laptop claimant (opencode-claimant), which launches a bound opencode session to drive task 7889 to its terminal state. Claim labels were already in sync from the prior handoff.
    • Expectation: claimant launches the bound session; if the claim lease expires unlaunched, task 7889 returns to the queue.
    • Links: issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300
  9. 28 remaining items

  10. dezren39
    added
    epic/fleet-orchestrationReprioritization program epic (2026-11-12)
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 12, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triaged — remainder routed as task 19760)

    • Agent: repo queue worker, lane code-b (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-code-b run 2026-11-16 19:28 CST; task 18220
    • Task: task 18220 (triage packet, bulk intake 2026-11-16) for issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300: openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4).
    • Fresh verification (2026-11-17): issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300 OPEN (priority/normal, status:to-do), no held / user/owned / do-not-merge / do-not-auto-edit labels. State of record (task 13141, 2026-11-08): the enforcement half is done and live-verified — PR docs(openclaw): record verified gateway token-auth outcome (#2300) #7660 merged at 52d72cc; a probe of the tailnet gateway with a synthetic invalid token was rejected (close code 1008), and main configures gateway.bind=tailnet with gateway.auth.mode=token via the OPENCLAW_GATEWAY_TOKEN SecretRef (names only). The named remainder — a successful AUTHORIZED non-loopback call and distinct per-consumer caller identity — has not been demonstrated, and no live queue task covered it (checked queued/claimed/parked/blocked this shift). Per runbook §1c the scoped follow-on has been enqueued as task 19760 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:2300). Issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300 stays OPEN for task 19760.
    • Links: task 18220 · issue openclaw: enforce token auth for non-loopback gateway callers (comms design G2/G4) #2300 · task 19760 · task 13141 · PR docs(openclaw): record verified gateway token-auth outcome (#2300) #7660
  12. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: verified live (task 19760, lane any-q)
    issue #2300 - authorized non-loopback gateway call + per-consumer caller identity

    The remainder named by tasks 13141 / 18220 is now demonstrated live (2026-11-17T08:41Z), from the laptop against the tailnet gateway ws://100.99.113.103:18789:

    • A probe client presented the gateway token - fetched at probe time from the secrets-manager entry named openclaw.gateway-token, held only in the probe process's environment; no credential value was read into any file, doc, or chat, and none is recorded here - and completed the gateway connect handshake (protocol v4; server version 2026.10.7), then made an authorized health call, which returned ok.
    • Distinct per-consumer caller identity: in this gateway build the connect frame's client.id is the application class (gateway-client), and per-consumer identity is carried as client.instanceId. The probe connected successfully as instanceId muse-gateway-client (the first consumer named in the comms design decision) and as instanceId fleet-verification-probe - two distinct named identities, each with its own authorized connect + health call.
    • Combined with the 2026-11-08 verification (synthetic invalid token rejected, close code 1008), G2 is met on the tailnet bind in both directions: unauthorized callers are rejected, and authorized callers succeed under a named per-consumer identity.

    The outcome is recorded in the comms design doc (G2 status + section 5 follow-up status) in the PR that closes this issue. Probe iterations along the way also pinned the current handshake contract for future consumers: string request ids, client.id from the gateway's client-id enum, and protocol v4 (a v3 connect is refused with PROTOCOL_MISMATCH naming expectedProtocol 4).

  14. developing-today
    added
    status:in-review
    and removed
    status:to-do
    on Nov 17, 2026
  15. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #11164 from developing-today/queue/19760-2300-gate…

    faeee69
  16. dezren39
    closed this as completedin #11164on Nov 17, 2026
  17. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

epic/fleet-orchestrationReprioritization program epic (2026-11-12)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

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.