Encryption
All external Liner traffic travels over encrypted channels. Agents' voice in the browser and mobile apps is always encrypted and cannot be switched off. Passwords are stored only as one-way hashes, and 2FA secrets are encrypted with AES-256-GCM.
TLSfor the web app, API and WebSocket DTLS-SRTPfor browser and mobile voice — always TLS 1.2+for SIP lines and trunks in secure mode AES-256-GCMfor two-factor authentication secrets
In transit
Agentbrowser / Liner Agent WSS + DTLS-SRTP Liner CPaaStelephony platform SIP-TLS + SRTP* CarrierSIP trunk
* Secure mode is enabled per trunk or SIP line when the carrier supports it.
| Channel | Protocol | Mode |
|---|---|---|
| Web app and API | HTTPS (TLS) | Always; HTTP redirects to HTTPS, HSTS for 1 year |
| Certificates | Let's Encrypt | Automatic renewal |
| WebRTC signalling | SIP over WSS | Always |
| Browser and mobile voice | DTLS-SRTP | Always, cannot be disabled |
| NAT traversal | TURN with short-lived credentials | Always |
| SIP lines and trunks | SIP over TLS 1.2+ and SRTP | Enabled per line or trunk |
| Realtime events: chat, notifications | WebSocket over TLS | Always |
Secret storage
| Secret | How it is stored |
|---|---|
| User passwords | One-way salted hash with a unique salt per password. Passwords cannot be recovered, only reset |
| TOTP secrets (2FA) | Encrypted with AES-256-GCM and a random IV; the key is kept outside the database |
| Password reset tokens | 256 bits from a cryptographically secure generator, single-use, 1 hour |
| E-mail 2FA codes | Cryptographically secure generator, max 5 attempts |
| Agent SIP credentials | Generated at each sign-in, valid for 8 hours, then deleted |
| TURN access | HMAC signature with limited validity |
| SIP line credentials | Random: 96-bit username, 144-bit password. Shown once at creation |