Public-key algorithms used for key establishment are the primary concern. If an attacker can recover the shared secret from a recorded handshake, they can derive the session keys and decrypt the data those keys protected.
Three parts of a secure connection play different roles.
- Key establishment
- How communicating systems establish a shared secret. Classical methods include RSA key transport and elliptic-curve Diffie–Hellman.
- Symmetric encryption
- How both sides use shared keys to protect the data. Modern symmetric algorithms with sufficiently long keys are less directly affected by quantum attacks.
- Digital signatures
- How a recipient verifies a message's origin and integrity. Quantum attacks on classical signature algorithms could enable forgery and impersonation.