liveBook · Manning

Post-handshake phase

As explained in Real-World Cryptography

The handshake/post-handshake paradigm is a protocol structure that separates initial negotiation and authentication from subsequent communication after the handshake completes.

A secure transport connection has a setup moment and a working moment. During the handshake, participants negotiate, authenticate, and agree on symmetric keys. Afterward, the post-handshake phase uses those keys to encrypt their messages. section 9.2

The phase has a deliberately narrow job:

  • Protect application communication with authenticated encryption. section 9.2
  • Reuse the symmetric keys produced by the handshake instead of negotiating them for every message. section 9.2
  • Carry ordinary secure communication after negotiation and authentication have completed. section 9.6

A browser connection

When a browser connects to a web server, the handshake establishes a secure connection and derives keys. The post-handshake phase then encrypts the browser's continuing traffic, such as requests and responses. section 9.2 section 9.6

Figure 9.1 At a high level, secure transport protocols first create a secure connection during a handshake phase. After that, applications on both sides of the secure connection can communicate securely.

The phase boundary is easiest to see as a two-step diagram: create the secure connection first, then communicate through it. section 9.2

This pattern appears beyond TLS. SSH, WPA, IPSec, and OpenVPN typically separate an initial handshake from later protected communication, although each adds its own details. Reimplementing the pattern carelessly can create serious weaknesses. section 9.4

How Real-World Cryptography covers it

How deep it goes
Defines the phase and its key relationship, but leaves detailed record processing and cipher mechanics unspecified.
Examples
Uses browser-to-web-server traffic and secure transport protocols including SSH, WPA, IPSec, and OpenVPN.
What it assumes
Assumes familiarity with hybrid encryption and key exchange while explaining the phase boundary in plain language.
What you can do after
Evaluate how secure transport separates connection setup from encrypted application traffic.
How it connects
Connects handshake, key exchange, authenticated encryption, TLS, DTLS, SSH, WPA, IPSec, and OpenVPN.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Real-World Cryptography. The section links point to the parts of the book it draws on.