Adaptive Music v0.8.0 release candidate
Validate and generate manual release / package (push) Waiting to run
Validate and generate manual release / package (push) Waiting to run
This commit is contained in:
1 parent
8c07a468a4
commit
95b0427aa1
48 files changed
+3631
-313
No files matched your search
+28
-23
@@ -1,32 +1,35 @@
|
||||
# Adaptive Music security — 0.7.2
|
||||
# Adaptive Music security — 0.8.0
|
||||
|
||||
## 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.
|
||||
By default the MA access token remains in the GM tab’s memory. A GM can opt in
|
||||
to an encrypted IndexedDB record for this trusted browser profile. A separate,
|
||||
non-extractable AES-GCM key and random nonce protect the record, which is bound to
|
||||
the Foundry origin, world and user. Use a dedicated, high-entropy, revocable token
|
||||
from Music Assistant’s Profile settings. Tokens are excluded from Foundry
|
||||
settings, flags, sockets, URLs, diagnostic output and release archives.
|
||||
|
||||
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.
|
||||
Local encryption protects against casual inspection of plaintext storage. Same-origin
|
||||
scripts, enabled modules and the browser profile owner can use the retained key.
|
||||
The device credential does not travel to another browser with a Foundry login.
|
||||
Use a separate browser profile for accounts that should never share local trust.
|
||||
Disconnect ends playback and disables automatic reconnect until the GM connects
|
||||
again. Forget Credentials removes the device credential and ends the connection.
|
||||
More extensive cleanup is available under Advanced → Forget saved connection.
|
||||
|
||||
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.
|
||||
Foundry’s user-scoped address record still holds only a version, nonce and
|
||||
ciphertext. It can be unlocked on another device with the same token. Rotating the
|
||||
token requires entering the MA address again. MA catalog references created with
|
||||
the former token can need reassignment. Receiver private material has its own
|
||||
encrypted browser record, paired to the dedicated target.
|
||||
|
||||
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.
|
||||
The release audit checks nested archives for private test inputs and keeps the
|
||||
development-world account mapping in its ignored configuration file.
|
||||
|
||||
## Network and authority
|
||||
|
||||
@@ -49,17 +52,19 @@ sessions reject them. Browser authority cannot replace a distributed server fenc
|
||||
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.
|
||||
the installed development world. SDP is encrypted, bounded, replay protected and validated for a single audio
|
||||
direction with media-level inheritance. Expiry ends the signaling capability.
|
||||
An established media stream remains tied to the authorized listener and active
|
||||
GM session. 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
|
||||
support deliberate reconnect. A trusted device can also reauthenticate after a
|
||||
transport outage. Attachment preserves an owned nonempty queue. Unknown writes
|
||||
and loss of dedicated queue permission require review before restoring automation. Logical pause
|
||||
and interruption snapshots do not survive a reload. Native fallback cannot silently
|
||||
resolve an uncertain remote queue.
|
||||
|
||||
|
||||
Reference in new issue
Block a user