54 lines
2.3 KiB
Plaintext
54 lines
2.3 KiB
Plaintext
# quicprochat client configuration.
|
|
#
|
|
# Place this file at one of these paths (checked in order):
|
|
# 1. Path given by --config <path>
|
|
# 2. $QPC_CONFIG env var
|
|
# 3. $XDG_CONFIG_HOME/qpc/config.toml (usually ~/.config/qpc/config.toml)
|
|
# 4. ~/.qpc.toml
|
|
#
|
|
# Precedence: CLI flags > environment variables > this file > defaults.
|
|
# All fields are optional — only set what you want to change.
|
|
|
|
# ── Connection ────────────────────────────────────────────────────────────────
|
|
|
|
# Server address (host:port).
|
|
# server = "chat.example.com:7000"
|
|
|
|
# TLS server name (must match certificate SAN).
|
|
# server_name = "chat.example.com"
|
|
|
|
# Path to server's TLS certificate (for self-signed setups).
|
|
# ca_cert = "data/server-cert.der"
|
|
|
|
# Skip TLS certificate verification (development/self-signed only!).
|
|
# danger_accept_invalid_certs = false
|
|
|
|
# Don't auto-start a local qpc-server process.
|
|
# no_server = true
|
|
|
|
# ── Authentication ────────────────────────────────────────────────────────────
|
|
|
|
# OPAQUE username — set this so you don't need to type -u every time.
|
|
# username = "alice"
|
|
|
|
# OPAQUE password — if omitted, you'll be prompted securely.
|
|
# Storing passwords in config files is discouraged for shared devices.
|
|
# password = "secret"
|
|
|
|
# ── State ─────────────────────────────────────────────────────────────────────
|
|
|
|
# Path to client state file (identity keys + MLS state).
|
|
# Tip: use an absolute path on mobile (e.g. /data/data/com.termux/.../qpc-state.bin).
|
|
# state = "qpc-state.bin"
|
|
|
|
# Password to encrypt the state file at rest (Argon2id + ChaCha20-Poly1305).
|
|
# state_password = ""
|
|
|
|
# ── Advanced ──────────────────────────────────────────────────────────────────
|
|
|
|
# Bearer/session token (alternative to OPAQUE login).
|
|
# access_token = ""
|
|
|
|
# Device identifier (for multi-device setups).
|
|
# device_id = ""
|