Summary

  • RFC 7435 — "Opportunistic Security: Some Protection Most of the Time," December 2014 — defines the idea in a single line: designs that "use encryption even when authentication is not available, and use authentication when possible."
  • It names the failure it corrects — protocols that demand "all or nothing" protection get switched off by operators, "thereby degrading all communications to cleartext transmission" — and adds one discipline: unauthenticated encryption "must not be misrepresented" as authenticated.

The all-or-nothing trap

Every security protocol has a quiet enemy, and it is not the attacker. It is the operator at two in the morning with a queue backing up, a customer on the phone, and one configuration switch labelled require encryption that makes both problems disappear.

RFC 7435 opens with that switch. A protocol with no fallback hands each peer "either full protection or else total failure to communicate." Faced with a mysterious failure and a working service, operations does what operations always does: it turns the feature off, and every conversation degrades to cleartext.

Which is the memo's central irony. A mechanism built to protect every conversation can end up protecting none of them. The fix is not more rigour; it is a different order of operations — encrypt where encryption is possible, authenticate where authentication is possible, and never make the first conditional on the second.

Why authentication never arrived

The memo, written by Postfix developer Viktor Dukhovni, is blunt about the missing half. Protection against active attacks requires authentication, and "no IETF standard for authentication scales as needed and has been deployed widely enough to meet this requirement."

It then examines the one that did scale for the web. The Web PKI "imposes cost and management burdens that have limited its use," and a marketplace of certificate authorities, not all trusted equally, means the assurance on offer is bounded by the weakest one anybody accepts.

That is not an argument against authentication. It is an argument about sequencing. SMTP had been carrying mail in the clear since 1982; the memo arrived in 2014. Waiting for a universal authentication system had already cost three decades of readable email.

The four rules — and the warning label that does the real work

Section 3 sets out the stance in four parts. Opportunism coexists with explicit policy and never displaces it: where a policy demands authenticated encryption, doing your best is not a substitute. It prioritises communication, so a peer without encryption can still be reached. It maximises security peer by peer, taking authenticated channels where they exist and perfect forward secrecy wherever possible.

The fourth is the one with teeth. "No misrepresentation of security": unauthenticated, encrypted communication must not be presented to users, or recorded in logs, as equivalent to the authenticated kind.

Half a guarantee is worth having only if everyone remembers which half they hold.

What the half actually buys

The accounting is precise. Encryption mitigates passive monitoring; authentication mitigates an active attacker in the middle. Encryption without authentication addresses only the passive case, so the residual risk is "consistent with the expected level of protection."

The awkward consequence follows immediately: if capabilities are advertised over an insecure channel, an attacker can negotiate the conversation back down to cleartext. That is a real weakness, and the memo does not hide it. It also refuses to treat it as grounds for demanding authentication first, because the alternative is the switch at the top of this piece — and the switch always wins.

A stance, not a protocol

RFC 7435 specifies no message format, no state machine, no conformance clause. It hands implementers a vocabulary and a disposition, and then governs the way a constitution governs: by being quoted in other documents.

Its one worked example is opportunistic TLS in mail submission and delivery — which is also where the compromise became visible. The same upgrade that carries a message across the Internet in ciphertext will still talk to a server that offers nothing, because the alternative is losing the message.

The floor invited a ceiling

Here is the part the memo could only hope for. A floor is not a destination, and the mail community eventually built the ceiling: DANE in 2015 and MTA-STS in 2018 both supply the authenticated mode that opportunistic TLS left optional. The half-measure did not become the answer. It became the reason anyone was still listening when the answer arrived.

That posture — encrypt by default, authenticate when you can, admit which one you got — is now ordinary in protocol design. In 2014 it needed an argument, and the argument was that demanding everything had produced nothing.

Three decades of cleartext were not caused by a shortage of cryptography. They were caused by a rule that made perfect protection a precondition for any protection at all. The memo that ended them did not raise the standard. It lowered the entry fee — and then insisted on labelling the goods.