AEGIS by ProtoworksDevelopers
Menu

8.5 · Agents and walletsWorking

What a mediator can see

A mediator opens the outer envelope of each message it receives, so it learns which recipient the message is for and when it arrived, and it can see how large it is. It cannot read the message itself, which stays encrypted for the recipient. It also learns when the recipient collects, and from where. A mediator serving many recipients hides each among the others; one serving a single person reveals that person’s traffic pattern.

Try it

Send DIDComm’s own test message through one or two mediators, and open each hop with that hop’s key to see what it can log.

An analogy

A post office that sees every envelope’s addressee and postmark, never its contents.

Where it breaks:

Precisely

The mediator decrypts the outer forward message and passes on a payload still encrypted for the next recipient DIDCOMM-2.0 §9.4. Herd privacy from hosting many agents at one endpoint ARIES-RFC-0046 §3.2.2. Collecting messages, and what the exchange reveals DIDCOMM-ORG-MESSAGEPICKUP-3.0 §6.

Compared
What a mediator learns
LearnsDoes not learn
Which recipient a message is for DIDCOMM-2.0 §9.4What the message says DIDCOMM-2.0 §9.4
When it arrived, and how large it isWho sent it, if the sender wrapped it anonymously DIDCOMM-2.0 §5.1.2
When the recipient collects, and from where DIDCOMM-ORG-MESSAGEPICKUP-3.0 §7.3Anything the recipient does with it afterwards
Who can see what
  • This page is the answer, for the mediator.
What this does not do
  • Padding and timing are not hidden by the protocol: a mediator can still see sizes and times.
Verified against

Last reviewed 2026-10-28. Next review 2027-04-28. Every quotation is checked against the text it quotes, at the version named, before the page is published.