How WhatsApp is enabling end-to-end encrypted backups
WhatsApp is adding optional end-to-end encrypted backups for iCloud and Google Drive, so neither WhatsApp nor the cloud provider can read backups or their keys. Each backup is encrypted with a random key that users either keep as a 64-digit code or protect with a password. Password-protected keys are stored in a geographically distributed, HSM-based Backup Key Vault behind the ChatD front end. The vault verifies passwords, makes the key permanently inaccessible after a limited number of failed attempts to stop brute force, and exchanges encrypted messages with the client that ChatD itself cannot read.
Related posts
- IPLS: Privacy-preserving storage for your WhatsApp contacts
Meta Engineering easyNoviceWhatsApp's Identity Proof Linked Storage (IPLS) stores contact names encrypted with a client-generated symmetric key, and keeps that key in an HSM-based Key Vault reachable only over an end-to-end encrypted channel. Retrieval on a new device requires proving ownership of the primary device identity key. The Key Vault checks that key against WhatsApp's Auditable Key Directory (AKD), the key transparency log. Cloudflare signs each AKD epoch and root hash as an independent witness, and consistency proofs are published to a write-once S3 bucket, so any access to contacts is tied to publicly auditable identity key changes.
- Deploying key transparency at WhatsApp
Meta Engineering mediumAdeptWhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify. This replaces cumbersome 60-digit/QR security code checks, which scale poorly (4,950 pairwise checks in a 100-person group), with a single-client check against the directory. To handle tens of thousands of key changes per minute, pending changes go through a distributed queue and are batched into atomically committed epochs, exploiting shared Merkle tree paths at the cost of some publication latency. The design builds on CONIKS, SEEMless and Parakeet and is implemented in an open-source Rust crate.
- Key Transparency Comes to Messenger
Meta Engineering easyNoviceMessenger now supports key transparency verification for end-to-end encrypted one-on-one chats, letting users automatically confirm that contacts' public keys haven't been swapped by a compromised server instead of comparing per-device keys manually. The system reuses WhatsApp's Auditable Key Directory (AKD) library, with Cloudflare acting as an independent auditor. Messenger's per-device keys drive a publish epoch roughly every 2 minutes, each adding hundreds of thousands of keys, into a directory of billions of entries. To cope, Meta reduced AKD proof sizes as per-key version counts grow and hardened sequencing against outages and long delays.
- How WhatsApp enables multi-device capability
Meta Engineering mediumAdeptWhatsApp's new multi-device architecture drops the phone as source of truth: each device gets its own identity key, the server maps accounts to device lists, and senders use client-side fanout to encrypt each message separately over pairwise Signal sessions to every sender and recipient device. Security codes now cover all device identities, and Automatic Device Verification limits re-verification to full account re-registration. Calls send per-device SRTP master secrets via fanout, with group calls rekeyed when participants change. Message history moves to a new device as an encrypted bundle, while ongoing app state is stored server-side end-to-end encrypted, including metadata, under rotating keys.
- Building Private Processing for AI tools on WhatsApp
Meta Engineering hardMasterPrivate Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them. Requests run inside confidential VMs, a type of Trusted Execution Environment, with Confidential Compute mode GPUs behind them. Clients authenticate with anonymous credentials and reach the service through an Oblivious HTTP third-party relay that hides their IP and prevents targeting a specific user to a specific machine. They then open an RA-TLS session whose attestation is checked against a third-party log of approved binaries. The service is stateless and forward secure, bans remote shell access, filters logs leaving the CVM, and uses multi-party-reviewed builds, all guided by a threat model covering insiders, supply-chain vendors and malicious users.