IPLS: Privacy-preserving storage for your WhatsApp contacts
WhatsApp'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.
Related posts
- 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.
- How WhatsApp is enabling end-to-end encrypted backups
Meta Engineering easyNoviceWhatsApp 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.
- 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.
- Introducing Automatic Key Verification
Signal mediumAdept
Signal's automatic key verification uses key transparency to confirm that the binding between a phone number or username and its public key is globally consistent, giving the same protection against a compromised directory as comparing safety numbers, without meeting in person. The design is an append-only log of key changes. Each entry has a sorted index snapshot, which lets clients binary-search for a contact's key in about 30 lookups over a billion entries. Key owners monitor the same entries to confirm their own key is listed correctly. Third-party auditors (Cloudflare and Trail of Bits) sign each log entry once, which keeps the directory operator from showing different views to different users.
- 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.