Files
VoelinClient/SECURITY.md
faumarayandClaude Sonnet 5.5 1bee9c94e8
CI / Linux checks (push) Failing after 1s
client: myTeamSpeak support leaves the client
The public client repository must not carry third_party/schema-api:
TeamSpeak's non-public myTeamSpeak API protocol definitions, which came
without a licence. The account sign-in built on them (crates/voelin-myts)
goes with it, since nothing else in the client used that snapshot.

Removed: third_party/schema-api, crates/voelin-myts, the account module of
voelin-ui (sign-in, saved session, profile, avatar, badges, User Tag), the
login page at start and the live account test of voelin-core. The workspace
members, default-members and exclude lists, both manifests and Cargo.lock
no longer name them (tonic, prost-build and their dependencies drop out of
the lock file and THIRD_PARTY_NOTICES.md; about.hbs has no schema-api
section).

Settings -> My Account keeps the identity in use and shows a note that
account sign-in is not available in this build. The Slint account screens
stay, fed neutral values (Bridge.myts keeps its default: signed out, not
available, no prompt), so the account can return without redoing them. The
TeamSpeak protocol parts in tsproto/tsclientlib (myTS ID, other users'
badges and avatars) are untouched.

The account returns later through the gateway library (VoelinGateWay); the
research notes in docs/research/myteamspeak.md stay and say so. CHANGELOG,
docs/ui.md, docs/identity.md and SECURITY.md no longer describe the account
as present. A session an earlier build saved stays in the system keyring
(item myts/session) until the user deletes it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-14 00:17:05 +03:00

67 lines
3.9 KiB
Markdown

# Security
## Reporting a vulnerability
Please report security problems privately through GitHub: **Security >
Report a vulnerability** on
https://github.com/Faumaray/Voelin (private vulnerability
reporting). Do not open a public issue for them. If private reporting is not
available, open an issue asking for a contact, without details.
Include what is affected (desktop app, Android app, `tsgw` gateway, `voelinctl`),
the version or commit, and how to reproduce. You should get an answer within
a week. Fixes are released as soon as they are ready and credited in the
changelog unless you prefer otherwise.
Supported versions: until 1.0, only the latest release gets fixes.
In scope: this repository's code and its packages. Problems in TeamSpeak
servers or the official clients belong to TeamSpeak Systems GmbH; problems in
dependencies to their projects (tell us too if this client is affected).
## What the client stores
There is no telemetry and no account with us, and the client signs in to no
account service. (Builds before this one had an optional myTeamSpeak sign-in;
its saved session stays in the keyring, item `myts/session`, until you delete
it there.)
| What | Where | Protection |
|---|---|---|
| Identities (TeamSpeak private keys) | SQLite database `client.db` in the data directory (`~/.local/share/voelin`, Flatpak `~/.var/app/<app id>/data/voelin`, `%APPDATA%\voelin`, Android app storage) | File permissions of the user account only; not encrypted. An identity is the account on every server that knows it: back it up, do not share the file |
| Server and ServerQuery passwords | OS keyring (Secret Service, Windows Credential Manager, Android Keystore), service `voelin` | Keyring; kept in memory for the session only when there is no keyring |
| Bookmarks, settings, chat history | `client.db` | File permissions; history stays until deleted |
| Crash reports (opt-in) | `crash-reports` in the state directory (`~/.local/state/voelin`, `%LOCALAPPDATA%\voelin`) | Local only, never uploaded. They contain the panic message and a backtrace, which may include server addresses or names; review before attaching one to an issue |
| OpenH264 (opt-in) | Downloaded from Cisco into the app's directories | Loaded only if its SHA-256 matches a known Cisco build |
## What others can see
- **Voice connections** use the TeamSpeak protocol's encryption. The server
and its admins see what any client sees: your nickname, identity, IP
address, channel and messages.
- **Streams (TeamSpeak 6)** are peer-to-peer WebRTC (DTLS-SRTP). Viewers and
streamers exchange ICE candidates, so **they learn each other's IP
addresses**, including local network addresses. Only watch and share
streams with people you are fine sharing your address with.
- **Relayed channel chat** (gateway or own ServerQuery login) is posted by a
query client as `[Nick] text`; people in that channel see it came through
a relay.
## What the gateway (`tsgw`) stores
The gateway is run by a server admin (see
[docs/gateway-admin.md](docs/gateway-admin.md)). In its SQLite database
(`history.path`, default `tsgw.db`):
| Table | Contents | Retention |
|---|---|---|
| `tokens` | SHA-256 hashes of login tokens (never the tokens), the user's unique id and database id, expiry | Removed after expiry (`auth.token_ttl_hours`, default 30 days) |
| `messages` | Relayed server and channel chat: target, time, author unique id and name, text | `history.retention_days` (default 30); disable with `history.enabled = false` |
| `audit` | Time, unique id and action of every login and post | Not pruned automatically; the admin should rotate it |
It holds no voice and no passwords of users: users log in by signing a
challenge with their identity key. The gateway's own ServerQuery credentials
(usually with admin rights) are in its config file, a password file or
`TSGW_QUERY_PASSWORD`: keep them readable only by the gateway's user. Serve
the gateway over TLS (`wss://`) only; tokens travel in its messages.