Security of our applications

End-to-End Encryption

Our applications protect your privacy and freedom by sending messages and photos directly between devices, by using WebRTC data channel connection. Audio and video calls are also made with a WebRTC connection and there is no media server in between. Relayed calls pass through our TURN servers but stay end-to-end encrypted. Communications between devices are therefore made by using direct connections, fully encrypted by using DTLS, and audio/video media via SRTP keyed by DTLS. The DTLS ciphers are restricted to the following list:

  • TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b)
  • TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0xc02c)
  • TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 (0xcca9)

And the SRTP protection profiles are limited to:

  • SRTP_AES128_CM_HMAC_SHA1_80 (0x0001)
  • SRTP_AEAD_AES_256_GCM (0x0008)
  • SRTP_AEAD_AES_128_GCM (0x0007)

Secure relations with twincodes

Our Twincode technology allows us to set up various kinds of relations without knowing private information about any party. These relations are also signed by an Ed25519 private key, ensuring authenticity, integrity, and tamper-proof communication.

Furthermore, when a WebRTC connection must be established, the signaling information produced by WebRTC is encrypted by using AEAD with a relation specific secret. The signaling server only sees encrypted signaling information, thus hiding and protecting how the WebRTC connection is set up. The signaling packets contain certificates, media stream codec information, IP addresses, ports and protocols to allow WebRTC to set up the direct peer-to-peer communication. These sensitive meta information are therefore not visible by our server: only the target device can decrypt them.

The secrets used to encrypt the WebRTC signaling information are changed periodically by generating new secrets, and they are exchanged by the devices within the data channel of WebRTC.

Device Security

To store relations, private keys, secrets, messages, our applications are using an SQLCipher database. The database is therefore encrypted by using an AES-256 encryption key which is stored either in the iOS keychain or in the Android keystore.

Our applications have been audited by Quarkslab and by independent security auditors.

WebRTC RFC Reference List

Up-to-date RFC references for core WebRTC protocols

UDP RFC 768 current User Datagram Protocol
RTP RFC 3550 current RTP: A Transport Protocol for Real-Time Applications (STD 64)
ICE RFC 8445 updated Interactive Connectivity Establishment (ICE) — obsoletes RFC 5245
STUN RFC 8489 updated Session Traversal Utilities for NAT — obsoletes RFC 5389
TURN RFC 8656 updated Traversal Using Relays around NAT (TURN) — obsoletes RFC 5766
SDP RFC 8866 updated SDP: Session Description Protocol — obsoletes RFC 4566
SRTP RFC 3711 current The Secure Real-time Transport Protocol (AES-GCM profiles: RFC 7714)
DTLS 1.2 RFC 6347 updated Datagram Transport Layer Security Version 1.2 — obsoletes RFC 4347 (DTLS 1.0)
DTLS 1.3 RFC 9147 current The Datagram Transport Layer Security (DTLS) Protocol Version 1.3
DTLS-SRTP RFC 5764 current DTLS Extension to Establish Keys for the Secure Real-time Transport Protocol (SRTP)
Opus RFC 6716 current Definition of the Opus Audio Codec
WebRTC RFC 8825 current Overview: Real-Time Protocols for Browser-Based Applications (WebRTC overview)
JSEP RFC 8829 current JavaScript Session Establishment Protocol (JSEP)
Trickle ICE RFC 8838 current Trickle ICE: Incremental Provisioning of Candidates for ICE