Labyrinth 1.1: Boosting End-to-End Encrypted Backup Reliability for Messenger

By

Good security works best when it operates silently in the background. When Meta introduced end-to-end encrypted (E2EE) backups for Messenger in 2023, it set a new standard for privacy at scale. With E2EE messaging backups, your conversation history can follow you across devices without ever being readable by anyone else—including Meta itself. Today, Meta is advancing this foundation with Labyrinth 1.1, an evolution of its encrypted storage protocol that makes backups even more dependable.

What Is Labyrinth?

Labyrinth is the underlying protocol that powers end-to-end encrypted message storage for Messenger accounts. It ensures that your message history remains confidential and accessible only to you and your conversation partners. The protocol encrypts stored messages so that even Meta’s servers cannot decrypt them. Version 1.1 introduces a critical enhancement: a new sub-protocol designed to improve backup reliability when devices are lost, switched, or left offline for extended periods.

Labyrinth 1.1: Boosting End-to-End Encrypted Backup Reliability for Messenger
Source: engineering.fb.com

The Challenge: Keeping Backups Safe Across Device Changes

For E2EE backups to be truly useful, they must survive common scenarios:

  • Loss of a device: If you lose your phone, you need to recover your messages on a new one.
  • Switching devices: Upgrading or changing phones should not mean losing chat history.
  • Long gaps between sign-ins: Users who take extended breaks from Messenger still expect their messages to be waiting.

In the original Labyrinth design, messages were backed up only when a recipient’s device came back online and triggered a synchronization. This meant that if a device was permanently lost or offline for too long, some messages might never reach the encrypted backup. Labyrinth 1.1 solves this by enabling messages to be stored in the recipient’s encrypted backup immediately as they are sent, rather than waiting for the recipient’s device to reappear.

How Labyrinth 1.1 Works

The core innovation in version 1.1 is a new sub-protocol that lets senders place each message directly into the recipient’s encrypted backup at the moment of sending. Think of it as dropping a sealed envelope into a locked box that only the recipient can open. Each message is wrapped with a unique message encryption key that the sender inserts directly into the backup container. This key is itself encrypted so that only the intended recipient can unwrap it.

As a result:

  1. No dependency on recipient’s device: The backup receives the message even if the recipient’s device is offline or destroyed.
  2. Full history on new devices: When you log into Messenger on a new phone, your entire past conversation history is available because every sent message was already securely stored.
  3. End-to-end protection preserved: Neither Meta nor any third party can read the message contents. The encryption keys are never exposed outside the sender-recipient trust boundary.

This approach leverages the same cryptographic principles that make E2EE messaging secure, but extends them to the storage layer. The white paper describes the protocol in technical detail, including how the sub-protocol handles key management and ensures that no single point of failure can compromise backups.

Labyrinth 1.1: Boosting End-to-End Encrypted Backup Reliability for Messenger
Source: engineering.fb.com

Real-World Impact

Meta is rolling out Labyrinth 1.1 broadly across Messenger. Early results show meaningful improvements: more messages are successfully backed up, and more users are able to restore their complete message history when they change devices. The enhancement directly addresses one of the most common user pain points—losing chat history due to device loss or prolonged inactivity.

By making backups more reliable without sacrificing privacy, Labyrinth 1.1 reinforces the principle that great security should be invisible. Users don’t need to change their behavior; the system simply works better in the background.

Further Reading

For a deep dive into the technical architecture, read the updated white paper: “The Labyrinth Encrypted Message Storage Protocol”. It includes full specifications of the new sub-protocol, security proofs, and deployment considerations.

This post originally appeared on Engineering at Meta.

Tags:

Related Articles

Recommended

Discover More

How Corporations Use Fine Print to Strip Your Legal Rights: A Practical Guide to Forced Arbitration ClausesInstructure Data Breach: ShinyHunters Claims Massive 3.65TB Data Theft Affecting Thousands of InstitutionsBiwin M350 2TB SSD: Is It the Best Budget PCIe 4.0 Drive?How to Defend Against Malvertising: A Guide to the Claude.ai Mac Malware Campaign7 Key Insights into Building an E-Paper Smart Home Dashboard