Gate messages publish over Tor first, with RNS only as the fallback
carrier, but the release floor demanded private_strong (Tor and RNS).
RNS is not installed by default, so on an ordinary node every gate post
sat in "Queued for private delivery" forever. Gates now get the same
Tor-only floor DMs already use when RNS is not enabled; nodes that
enable RNS keep the two-transport floor.
The start scripts' privacy-core pin refresh skipped whenever
backend/.env was missing or private lanes were turned on from the UI
rather than .env, which is the common case. It now pins the locally
built library regardless, creating backend/.env if needed, matching
what the Docker entrypoint already does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Gate history is readable on another node only through the gate envelope,
which is keyed from a per-gate secret that every node generated on its
own. Nothing ever moved that secret between members, so two operators in
the same gate could not read each other.
Members can now send the current gate key to a DM contact inside an
end-to-end encrypted DM. The key rides as a control frame that is
stripped on decrypt, so it never reaches the browser or the mailbox. The
recipient's operator accepts or declines it; the previous local key is
archived so existing history stays readable.
Rotation sends the new key to every contact the key was granted to,
minus excluded peers. Recipients apply a rotation automatically only
when it comes from the member they got the key from, and forward it to
their own grantees. Ban/kick rotations now redistribute too, instead of
silently splitting the gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeX9wuqeVAQNr22zQHWj2H
Review follow-up:
- Drop the Next.js route. CARTO_API_KEY is now a regular backend registry
key (env, .env, or the API Keys panel) served by public
GET /api/basemap-config. Every frontend mode already proxies /api/* to
the backend (Next.js proxy in web mode, companion server in packaged
desktop), so this covers web and desktop with one mechanism and leaves
the static export untouched. Also removes the invalid non-handler
export from the route module by removing the module.
- useBasemapConfig: fail open to the unkeyed style after 3 s, abort the
request at 15 s, apply a late key when it arrives, cache successes per
page and retry failures on the next mount.
- Declare OSM/CARTO attribution on the raster source (same markup as the
viewer's existing AttributionControl so MapLibre de-duplicates it).
- Tests: backend endpoint (unset / set+trimmed / persisted operator key /
registry), hook behaviour (success, non-OK, network error, soft timeout
then late key, hard abort, shared request and retry), attribution and
gating source checks.
- CARTO_API_KEY moves to the backend service in docker-compose.yml; docs
updated accordingly.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Wire AISHUB_USERNAME into API Keys and onboarding, and surface backup status on the AIS outage banner so operators can keep vessel coverage without changing the AISStream proxy.
Co-authored-by: Cursor <cursoragent@cursor.com>