PRIVATERA
Open Chat
Official Technical Document · v2.0October 2026 · privatera.ztrust.workers.dev

Privatera Zero-Trust Security Whitepaper

Cryptographic Architecture, Fail-Closed Kill Switch, Ephemeral Edge Relay & Anti-MitM Protocol.

PDF DocumentStandard A4 · 2 Pages · 170 KB

Official Technical Security Whitepaper (PDF)

Includes cryptographic architecture, verification guarantees, comparison matrix, and environmental boundaries.

Download Whitepaper (PDF)
01

Executive Summary

Privatera is an accountless, end-to-end encrypted (E2EE) 1:1 communication architecture built on a zero-trust model. Rather than relying on administrative policy alone, Privatera enforces confidentiality and authentication through client-side cryptography in the browser Web Crypto API.

There are no user accounts, central contact directories, phone numbers, or email addresses. Identity is an Ed25519 keypair generated on-device. Its private material is stored in a password-encrypted envelope and imported as a non-extractable runtime handle while unlocked. Text, signalling and Room Call audio are encrypted between the two devices. Direct and Relayed WebRTC calls use DTLS-SRTP and require additional AES-256-GCM media encryption. Unsupported WebRTC call modes are refused; Room Call remains a separate encrypted option.

02

Cryptographic Architecture

The sections below describe identity, key agreement, derivation, message encryption and real-time media. These are protocol stages; they do not mean that each payload has five nested encryption layers.

LAYER 1

Device-bound Identity

Ed25519 (RFC 8032) keys generated on-device via SubtleCrypto and stored in password-encrypted envelopes. Runtime private-key handles are non-extractable; this is software protection, not hardware backing. Authenticates peer handshakes.

LAYER 2

Ephemeral Key Agreement (PFS)

X25519 (ECDH) ephemeral key agreement generates fresh key material for each session, providing forward secrecy for past sessions without relying on static encryption keys.

LAYER 3

Key Derivation

HKDF-SHA-256 (RFC 5869) derives independent symmetric keys for session encryption and local storage protection from the agreed key material.

LAYER 4

Authenticated Channel Sealing

AES-256-GCM authenticated symmetric payload encryption. Detects ciphertext tampering, unauthorized injection, and replayed frames.

LAYER 5

Real-Time Media & Voice Encryption

Direct and Relayed WebRTC calls require DTLS-SRTP and additional AES-256-GCM media encryption. Unsupported modes are refused. Room Call audio is separately sealed with the authenticated session’s AES-256-GCM keys.

03

Identity Verification & Anti-MitM: 9-Digit Safety Code

To detect Man-in-the-Middle (MitM) attacks during initial pairing, Privatera produces an out-of-band Short Authentication String (SAS) after the authenticated handshake:

Short Authentication String (9-Digit Safety Code):

A verification code derived from both parties' authenticated public keys and session parameters, rendered on both endpoints as a nine-digit code grouped into readable triplets (e.g., 123 456 789) for out-of-band voice or visual comparison.

The Safety Code is verified out-of-band; a network attacker gets a single attempt per pairing with a success probability of 1 in 10⁹ (one in one billion). On mismatch, do not proceed.

04

Ephemeral Relay & Network Architecture

Privatera's network architecture separates packet transport from message content access:

  • No Access to Message Content: The edge relay bridges encrypted frames in volatile memory with no access to message content, no payload inspection, and no traffic logging.
  • No Stored Message Content: Routing state is released on disconnect, with no stored message content on the relay (encrypted deletion commands are retained for offline peers until execution is acknowledged).
  • Bilateral Deletion: A deletion request is sent to the peer and honored by compliant clients; it cannot be enforced against modified clients or copies already made.
05

Fail-Closed Architecture: Zero-Compromise Kill Switch

⚡ Cryptographic Kill Switch (Fail-Closed Zero-Trust)

Under Privatera’s zero-trust model, security never degrades opportunistically, favoring confidentiality over availability. If any cryptographic verification fails — whether an authentication tag failure, invalid signature or protocol violation:

  • Instant Connection Severance: The affected contact’s sessions and call stop on authentication failure. Duplicate or old media packets are dropped without rendering.
  • Strict Zero Fallback: The protocol never falls back to plaintext, unauthenticated, or weakened modes.
  • Best-Effort Key Clearing: Active session references are dropped and key material is cleared on a best-effort basis.
  • Confidentiality Over Availability: Repeated failures halt reconnection rather than risking an untrusted channel.
06

The Ten Foundational Principles

01 · Identity

Device-bound keys stay on-device; private keys are non-exportable via the API (not hardware-backed).

02 · Invite

Pairing uses one-time invitation links. No invite secrets or contact directories are stored in a central database.

03 · Handshake

Ephemeral session secrets derive locally on endpoints via X25519 ECDH + HKDF rather than crossing the wire.

04 · Safety Code

Verified out-of-band; an attacker gets a single attempt per pairing (1 in 10⁹); on mismatch, do not proceed.

05 · Kill Switch

Any verification failure severs the connection with no fallback, favoring confidentiality over availability.

06 · The Server

The relay routes encrypted frames in memory only, with no access to message content, no stored message content, and no application logging.

07 · Delete & Wipe

A deletion request is sent to the peer and honored by compliant clients; it cannot be enforced against modified clients or copies already made.

08 · Session Lifecycle

Sessions generate fresh ephemeral keys with regular rekeying to maintain forward secrecy for past sessions.

09 · Web Crypto

Cryptographic operations execute via the browser Web Crypto API; key material is cleared on a best-effort basis.

10 · Accountless by Design

No email, phone number or server account is required. A local device password protects stored private keys.

07

Comparison Matrix

Security VectorLegacy PlatformsStandard EncryptedPrivatera Zero-Trust
Key StorageCloud HSM / Server EscrowClient Keychain / Cloud BackupDevice-bound SubtleCrypto (Non-exportable)
User IdentityEmail, Password, PhoneMandatory Phone / PIIAccountless Keypair
Degraded FallbackSilent Plaintext / HTTP DowngradeOpportunistic Weak ModesFail-Closed Kill Switch
Out-of-Band SASNone / In-Band SMSFingerprint ComparisonSingle-Attempt Out-of-Band Verification
Message ArchivingPermanent DatabaseCloud BackupsNo Stored Message Content on Relay
Cipher SuiteTLS In-TransitSignal Protocol / ProprietaryEd25519 · X25519 · HKDF · AES-256-GCM
Voice CallsCentral Media Server MixingWebRTC (Relayed or P2P)Direct DTLS-SRTP & Encrypted Relay
Client HardeningThird-Party TrackersApp Store Binary PackagingStrict CSP, Trusted Types, No Client Trackers
08

Threat Model & Environmental Boundaries

Privatera protects message and voice content against passive network surveillance, ISP payload inspection, a relay that cannot read message content, and server-side message history subpoenas. As with any internet service, network-level metadata (IP, timing, size) is visible to network infrastructure; Privatera does not log it.

Boundary Note: Because the client code is delivered by the service itself, a compromised delivery path is outside the protection scope. Endpoint cryptography operates within the host device: key material is cleared on a best-effort basis, and Privatera cannot protect against a compromised OS, rootkits, keyloggers, malicious browser extensions, or a modified peer client.

Encryption does not hide traffic timing or packet sizes. Voice payloads are not padded to a fixed length. Key cleanup is best effort; JavaScript cannot guarantee memory erasure.