Back to Blog
Security Architecture May 2026 6 min read

How VeilMesh Minimizes Metadata on the Mesh and Relay

Encryption does not hide who you talk to. VeilMesh reduces that metadata with Protocol V2 radio header obfuscation, Ghost Mode, end-to-end encrypted group names, sealed typing indicators and proof-of-work.

Update, November 2026. Sealed sender has shipped: with current apps on both sides, one-to-one messages, reactions and delivery receipts reach our relay without the sender’s Veil ID. Group messages, calls and conversations on private relays still show it to the relay. The Ed25519 key behind the Veil ID is now the account key, which stays on the primary device; each device signs mesh packets with a device key of its own, which the account’s signed device list names. Mesh headers are version 3. The description of Ghost Mode has been corrected below.

End-to-End Encryption (E2EE) is now the minimum a messenger should offer. While mainstream messaging applications encrypt the content of your messages, they still require a phone number to register and often expose group names, typing patterns, and social graphs to central servers.

VeilMesh tries to leak as little metadata as possible, both over the radio and through the relay. Our Security Status page lists what is active in our code today and what is still being rolled out.

1. Eliminating the Phone Number Graph

Most messengers match phone numbers and address books on centralized servers. VeilMesh does not use phone numbers or emails at all. Your Veil ID is the SHA-256 hash of your Ed25519 public key, bound to your X25519 session key inside a signed 64-byte identity bundle.

VeilMesh Network Topology Diagram
Figure 1: Local Mesh (Ghost Mode) vs. Encrypted Relay Topology.

Ghost Mode is a switch for the whole app. While it is on, messages, files and calls travel only over the local mesh (Bluetooth LE and local Wi-Fi), with no cloud sync and no push; only small protocol messages, such as delivery receipts and key updates, still use the public relay.

2. Why Not Tor or Heavy Mesh Onion Routing?

We are often asked why VeilMesh does not route every mesh packet through multi-hop onion layers. Early VeilMesh prototypes did test mesh onion routing, and we retired it in September 2026. Building onion routes over BLE and LoRa required devices to broadcast neighbor tables and pad packets to 2 KB, which exhausted narrow radio MTU limits and exposed more topology metadata than it hid. Instead, VeilMesh floods compact E2EE packets across nearby devices with no recipient identifier in the radio header.

3. Pre-Filtering Floods with Proof-of-Work

In an open radio mesh, anyone can send floods of packets that make phones run expensive Ed25519 signature checks and drain the battery.

Proof-of-Work DoS Protection Concept
Figure 2: Lightweight Proof-of-Work pre-filtering is checked in O(1) time before Ed25519 signature verification.

Every mesh packet carries a small fixed Proof-of-Work (PoW) nonce checked in O(1) time before the Ed25519 signature is verified, acting as a cheap pre-filter against unauthenticated radio noise.

4. Protocol V2 Radio Obfuscation & Relay Metadata Hardening

The following metadata protections are active in production today, on both the mesh and the relay:

  • Protocol V2 Radio Header Obfuscation: Outgoing mesh headers encrypt the sender public key and packet ID using ChaCha20-CTR under a fresh 12-byte random nonce, and BLE advertisements carry only our service UUID plus a 15-minute rotating random token so passive third-party BLE scanners cannot track static keys. (Peers running VeilMesh that relay a mesh packet can still read the sender Veil ID in the envelope until full Sealed Sender is enabled.)
  • Group Names Stay Off the Relay: Group chat names travel only inside the end-to-end encrypted MLS Welcome package and are never stored on or sent to the relay server.
  • Locked Chats, Sealed Typing & Blind Push Tags: Locked Chats strip attachment filenames and metadata before upload; typing indicators use sealed envelopes; read receipts are E2EE-only; and push notifications carry only blinded tags, with no sender or chat identifiers.
  • Sealed Sender Roadmap: One-to-one messages are already wrapped in sealed-sender envelopes between the apps; removing the relay's link between a message and the authenticated sending account is the next step.

For the current status of each item, checked against the code, see our Security Reviews & Status page.