Files
Jason 398749210a
Validate and generate manual release / package (push) Waiting to run
Release v0.7.2 - Redesigned interface and persistent account settings
2026-12-04 11:08:09 -05:00

71 lines
4.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Adaptive Music security — 0.7.2
## Credentials and browser trust
The MA access token remains in the trusted GM tab’s closure memory. It is excluded
from Foundry settings, flags, sockets, URLs, console logging, IndexedDB serialization
and release archives. Setup failures retain it in this tab; disconnect or reload
forgets it. Tokens are never reused after an origin change. Use a restricted MA
account with only the intended music providers and dedicated receiver permissions.
The Foundry User Setting stores only a version, random nonce and encrypted MA
address and receiver name. The encryption key is derived from the user-entered MA
token for this account and world. Use a generated, high-entropy MA token. The
envelope cannot be unlocked after rotating that token. Connect with the explicit
address and new token to replace it. Forget saved connection removes the envelope.
Receiver private identity and pairing material are encrypted in the GM browser’s
IndexedDB under a campaign/user/origin-derived scope. Encryption uses AES-GCM and
a non-extractable key stored in the same browser. It avoids plaintext receiver
storage; it cannot protect against same-origin scripts, a compromised enabled
module, the local profile owner or theft of a complete browser profile. Use separate
browser profiles for trusted GM and untrusted accounts. Forget remembered receiver
removes the local record only; it does not delete MA resources or touch queues.
Private development endpoints, tokens, identities, account/catalog results and
snapshots remain under ignored .local/ (0700; secret files 0600). MA raw WebSocket
frames can include credentials at VERBOSE logging. Keep raw-frame logging disabled;
the module does not change production log settings. Expanded operator authorization
covers the dedicated live development tests; no production infrastructure was changed.
## Network and authority
Trusted HTTPS Foundry and private HTTPS/WSS MA are required. TLS validation, browser
security, Origin and private access controls remain enabled. No public MA endpoint,
Origin forgery, CORS wildcard change or unrestricted proxy is introduced. Both `/ws`
and `/sendspin` must reach their authenticated MA routes. Token-free diagnostics
send no explicit MA auth frame; browsers may still send their normal ambient cookies.
Browser APIs do not expose arbitrary HTTP/TLS errors and diagnostics do not invent
those causes.
Only the SDK-generated and locally remembered campaign receiver is paired or
controlled. The account-bound pairing API is used after the API session is bound
by Sendspin authentication. Exact identity/name/provider, enabled/available state,
standalone topology and own active queue are checked before writes. No household
selection, grouping, transfer or global stop is offered. Unknown writes latch closed.
Queue snapshots are signed and campaign/session/fence/generation-bound; later
sessions reject them. Browser authority cannot replace a distributed server fence.
Players receive scoped expiring encrypted capabilities, not MA secrets or addresses.
Public ephemeral keys on permission-controlled User documents authenticate invitation
delivery. Both ordinary test players were denied a write to the GM’s User flags in
the installed development world. SDP is encrypted, bounded and
replay protected, and validated for one audio direction with media-level SDP
inheritance. No microphone, video or data channel is requested. Audio uses DTLS-SRTP.
Recipients can record audio or disclose their own capability. Direct peers can
learn network addresses. No public STUN/TURN is silently configured. Optional existing ICE URLs and short-lived TURN credentials are entered in the GM interface, kept in tab memory, and delivered only inside the encrypted per-player invitation.
## Recovery and distribution
API/Sendspin loss stops automation and listener forwarding. Retained tab inputs
support a deliberate reconnect; the owned queue is not replaced during reattachment.
No blind mutation retry or automatic crash restoration is promised. Logical pause
and interruption snapshots do not survive a reload. Native fallback cannot silently
resolve an uncertain remote queue.
The release builder is offline, preserves the existing Gitea update mechanism,
checks import/assets closure, SDK hash, licenses, privacy patterns and checksums,
and includes complete source. No new distributed dependency, runtime CDN, upstream
install hook, telemetry, core patch or mandatory companion service was added. The
pinned SDK and noble notices remain intact. No Git host was contacted.