---
title: "Deploying key transparency at WhatsApp"
description: "WhatsApp 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."
url: "https://swe.quest/articles/deploying-key-transparency-at-whatsapp-0e23deb403e7d86e"
canonical: "https://engineering.fb.com/2023/04/13/security/whatsapp-key-transparency/"
source: "Meta Engineering"
published: "2023-04-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 9
tags: ["cryptography","communications","rust","security"]
---

# Deploying key transparency at WhatsApp

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2023-04-13, 9 min read, Case study. Original: [https://engineering.fb.com/2023/04/13/security/whatsapp-key-transparency/](https://engineering.fb.com/2023/04/13/security/whatsapp-key-transparency/)

## Summary

WhatsApp 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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Communications](https://swe.quest/tags/communications.md) (Domains)
- [Rust](https://swe.quest/tags/rust.md) (Languages)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- public key cryptography ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- end-to-end encryption ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- Merkle trees

## Keywords

WhatsApp, Auditable Key Directory, key transparency, CONIKS, SEEMless, Parakeet, Merkle tree

## Related posts

- [Key Transparency Comes to Messenger](https://swe.quest/articles/key-transparency-comes-to-messenger-708dc659c9b4f0af.md): Meta Engineering · 2025-11-20 · Easy · 3 min read · Cryptography, Communications, Security
  Messenger 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.
- [IPLS: Privacy-preserving storage for your WhatsApp contacts](https://swe.quest/articles/ipls-privacy-preserving-storage-for-your-whatsapp-contacts-415f2b1b7c1eba74.md): Meta Engineering · 2024-10-22 · Easy · 5 min read · Cryptography, Privacy, Identity & auth, Communications
  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.
- [Introducing Automatic Key Verification](https://swe.quest/articles/introducing-automatic-key-verification-2aaa055daad25a08.md): Signal · 2026-08-11 · Medium · 17 min read · Cryptography, Communications, Security, Data structures
  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.
- [How Trail of Bits helps verify the integrity of your Signal chats](https://swe.quest/articles/how-trail-of-bits-helps-verify-the-integrity-of-your-signal-chats-a70bf72c9c6eddcc.md): Trail of Bits · 2026-08-11 · Easy · 3 min read · Cryptography, Security, Privacy
  Signal's Automatic Key Verification is a key transparency system that keeps a globally consistent, auditable map from phone numbers to public keys, so a compromised server cannot quietly hand out a false key.
- [DIT — enabling de-identified data collection on WhatsApp](https://swe.quest/articles/dit-enabling-de-identified-data-collection-on-whatsapp-d2473df44a648273.md): Meta Engineering · 2021-04-16 · Hard · 8 min read · Privacy, Cryptography, Observability, Identity & auth
  WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
