Somewhere in a data centre right now, a push notification is waiting. The server holding it cannot read it. Neither can the backup tape, the replication link, nor the engineer with root on the box.

That is not a storage bug. It is RFC 8188, “Encrypted Content-Encoding for HTTP”, published in June 2017 on the Standards Track and written by Martin Thomson, then at Mozilla. RFC 8188 defines aes128gcm, an HTTP content coding that encrypts the message payload rather than the connection carrying it — the mechanism that later became the backbone of encrypted Web Push. The document’s own description of the effect is almost cheeky in its calm: once a payload is stored, “only someone with the appropriate key can read it”.

That single relocation — encryption from the pipe to the parcel — is the whole story. It changed who the web’s encryption is aimed at, and it produced one of the more quietly influential standards of the decade, largely because of something it refused to write down.

Why TLS was not enough: channel encryption versus payload encryption

Transport Layer Security is a magnificent piece of engineering with a narrow job description. It guards the channel between a client and a server. When the conversation ends, so does the protection, and everything that lands on disk lands in the clear.

RFC 8188 says so without embarrassment. The uses it was built for, the document notes, “are not met by the use of Transport Layer Security (TLS)”, which “only encrypts the channel between the client and server”.

That distinction sounds academic until you draw the diagram. A storage service is a middleman that keeps what you give it. TLS terminates at that middleman. So the operator can read every object it stores — and so can anyone who later copies a backup, restores a snapshot, or subpoenas a bucket. The helpful infrastructure sits inside the trust boundary whether you like it or not.

RFC 8188 moves the boundary. The body arrives already sealed. The service stores ciphertext. The party holding the key can be a completely different party from the one holding the disk, and from the one holding the invoice.

Registering a content coding instead of inventing a protocol

Here is the design economy that makes the spec worth studying. RFC 8188 does not invent a handshake, a port, a scheme, or a new verb. It registers a content coding.

Which means the ordinary Accept-Encoding negotiation — the same machinery that has been haggling over gzip since the 1990s — now also says whether a sender is willing to seal the body. A client asks for encrypted storage using a header every HTTP implementation already parses. A server that has never heard of aes128gcm can still store and forward the sealed bytes, because to that server they are just an opaque body with a strange name attached.

This is the sort of decision that looks like modesty and behaves like strategy. Nothing in the stack had to change for the new capability to travel. The format rode rails that were already laid, which is why it reached places its authors probably never visited.

A header that carries everything except the secret

Each encrypted body opens with three fields: a 16-octet salt, a record size, and a key identifier. Everything a decrypter needs — except the key — travels with the data. That is why the format works for storage that never spoke to the sender and may never speak to the receiver.

The rules around those fields are where the document earns its keep. The salt “MUST NOT be reused” for two bodies encrypted under the same input keying material. A decrypter “MUST fail” on a malformed final record. Both rules exist because the two quiet failures of a format like this are nonce reuse and silent truncation — and both fail quietly, which is the worst way to fail.

Nonce reuse in particular is the classic way to turn a beautiful cipher into a readable one. The spec is blunt about it because the alternative is a decade of explaining the breach.

Fixed records, and the bill for padding

The encoding slices plaintext into fixed-size records, each individually authenticated, with the last one permitted to be short. Framing gives the receiver something to verify after every chunk rather than at the end of a multi-gigabyte download — the difference between a stream and a hostage situation.

It also leaks length. Every fixed-record format does. The document’s answer is cryptography’s answer everywhere else: pad if the length matters, and accept that padding costs bandwidth. There is no clever trick here, because there is no clever trick.

The key is somebody else’s problem, on purpose

Then comes the line that makes the whole thing interesting: “using this content coding requires knowledge of a key. How this key is acquired is not defined in this document”.

Read that as laziness and you will misread the entire design. Leaving key distribution undefined is what let one content coding serve push notifications, encrypted backups and application-level end-to-end messaging, each with its own way of agreeing a secret. A spec that had picked a key exchange would have picked a fight, and probably lost the ones it did not start.

It also means RFC 8188 cannot promise confidentiality. It promises a format for ciphertext. The promise about who can read your data belongs to whoever built the key exchange on top — and that promise is made by software, not by a document.

Which is the point. “A proposal is not reality. A recommendation is not reality. A document is not reality,” Lu Heng writes in his Note on minimum specification and voluntary adoption. RFC 8188 is a rare document that seems to have understood this about itself. It specified the minimum that had to be identical everywhere — the coding name, the header layout, the record framing, the failure conditions — and left the rest to people running code.

What RFC 8188 changed about the web’s trust model

Before this specification, HTTPS meant the endpoint could read what it served. After it, a body can pass through several machines that store and forward it without ever holding the plaintext.

That is a shift in who the web’s encryption is protecting against. Not the network — TLS already handled the network. The infrastructure that is supposed to be helpful: the CDN, the queue, the notification service, the backup vendor, the storage bucket in a jurisdiction you have never visited.

The most visible consequence arrived as Web Push. RFC 8030 needed a way to hand a message to a push service that had no business reading it; RFC 8291 supplied the message encryption, and it is built on the aes128gcm coding from RFC 8188. Every push notification that reaches Chrome or Firefox today travels as a body the push service cannot open. The middleman was demoted to courier.

The lock-in nobody complains about

Now the uncomfortable part, and the reason this belongs in a history of software lifecycle rather than a cryptography textbook.

aes128gcm is load-bearing. It is baked into browser push stacks, mobile operating systems, and a long tail of services that will never revisit the decision. That is lock-in — real, structural, and almost entirely uncontested, because the thing locked in is small enough to reimplement and documented well enough to reimplement correctly.

Compare it with the standards that did not survive: the ones that over-specified, that demanded a handshake, a registry, a governance body, a certification programme and a committee to arbitrate disputes. They are remembered mostly by the people who sat on the committee.

The lesson is not “minimalism good”. It is narrower and more useful: a specification earns permanence by being cheap to adopt and expensive to misunderstand. RFC 8188 is a short set of rules a competent engineer can implement from the text alone, verify locally, and test against another implementation without asking anyone’s permission. That is what makes it hard to remove.

Lu Heng applies the same test to systems in general: “A system that cannot be forked, locally verified, or selectively accepted without destroying valid operation has probably hidden governance power inside its recordkeeping function.” RFC 8188 passes on all three counts, which is precisely why nobody has ever needed to fork it.

The document that knew its place

Standards bodies are fond of claiming authority. The IETF’s actual authority in this case came from somewhere less flattering: browsers shipped it. Chrome and Firefox implemented aes128gcm because the alternative was not delivering notifications, and the push services followed because a push service that cannot deliver is not a service.

The RFC was published in June 2017. The legitimacy arrived later, in code. That is the whole argument compressed into one artifact: a document described a format, implementations made it real, and the gap between those two events is where every standard either lives or dies. RFC 8188 closed the gap in months.

Which leaves the closing image. Somewhere in a data centre, a server is holding a message it will never read, for a user it will never meet, under a key it will never see. It does its job perfectly. It has no idea what it is doing — and that was the design goal all along.