Synopsis #
A party can record an encrypted SSH or TLS connection today and retain it until a future quantum computer can recover a classical key exchange. This harvest-now, decrypt-later risk matters most for credentials, backups and records that must remain confidential for years. Hybrid key exchange combines a classical shared secret with a post-quantum one. A connection can use it with an existing classical host key or certificate.
On OpenBSD 7.9 and 8.0, base OpenSSH already prefers ML-KEM/X25519. The important TLS distinction on 7.9 is between libssl and the group list selected by libtls applications. OpenBSD 8.0 brings the hybrid group into the libtls default and adds composite SSH authentication. See the 7.9 release notes and 8.0 release notes.
Release and Service Support #
| Technology | OpenBSD 7.9 | OpenBSD 8.0 | Operational check |
|---|---|---|---|
| SSH key exchange | OpenSSH 10.3 prefers ML-KEM/X25519 | OpenSSH 10.6 retains that preference | Audit the negotiated SSH exchange |
| SSH authentication | Classical host and user keys | Composite ML-DSA-44/Ed25519 permitted. Both peers need the algorithm and the signer needs a composite key. | Check host and user signatures |
| Base HTTPS | LibreSSL 4.3 implements the TLS 1.3 hybrid group. The libtls default omits it. | LibreSSL 4.4 and libtls prefer X25519MLKEM768 with compatible peers. | httpd and relayd |
| Packaged web servers | Check the linked TLS library and configured groups. | Packaged nginx with LibreSSL 4.4 negotiated hybrid TLS using defaults. Check Apache’s module separately. | nginx and Apache |
| TLS authentication | Existing RSA or ECDSA certificates remain classical. | Same. Ports OpenSSL 3.5 can authenticate with ML-DSA in a controlled trust domain. | Check the peer signature |
| Mail transport | OpenSMTPD uses base libtls. Inspect packages separately. | A capable TLS peer can agree on the hybrid group. Each SMTP or IMAP connection has its own policy. | SMTP and IMAP probes |
| IKEv2 | Optional private sntrup761x25519 group in base iked | Same. The ordinary IKE authentication PSK serves a different purpose. | IKE proposal on both gateways |
| WireGuard | Optional per-peer random symmetric secret | Same. The public-key handshake remains classical. | WireGuard peer configuration |
| OpenVPN | Package and TLS backend determine available control-channel groups. | Same. Verify both peers and any explicit tls-groups setting. | OpenVPN 2.7 manual |
| DNSSEC and disk encryption | DNSSEC signs records. Disk encryption uses symmetric keys. | Same. Each has a separate key lifecycle. | DNSSEC signing policy and encrypted volumes |
For SSH configuration, inspect the server policy, verify host identity before changing credentials, and distinguish hardware-backed user keys from the transport key exchange.
For a complete mail installation, test the integrated stack. Check the individual listeners for OpenSMTPD, Postfix and Dovecot.
Administrative Priorities #
- Start with long-lived secrets. Test a new administrative SSH connection and a backup connection with the account, hostname and client used in production.
- Probe each public TLS endpoint and each separately encrypted backend. Record the negotiated group, peer signature, certificate result, service build and date. Repeat after OS, package or proxy upgrades.
- For VPNs, agree on the exchange or independent shared-secret provisioning with the other operator. Establish a fresh tunnel and test traffic in both directions.
- Inventory signing and recovery keys separately. Pilot new signature types with a second trusted credential and a tested recovery path.
Signatures and Interoperability #
ML-KEM (FIPS 203) specifies key encapsulation. ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) specify signatures. Certificate formats exist for ML-DSA and SLH-DSA. Deployment also requires a signing authority, protocol support, and clients that trust and validate the resulting chain. A classical certificate can remain in service while the key exchange changes.
The amd64 7.9 packages include OpenVPN 2.7.2 and the 8.0 packages include 2.7.7. The standard binaries require base libssl. The -mbedtls flavor uses a different library. Use openvpn --version to identify the installed backend. On a separate test profile, require TLS 1.3 with tls-version-min 1.3 and restrict tls-groups to X25519MLKEM768. A successful fresh, certificate-validated OpenVPN control connection demonstrates that the two peers accept that group. A forced test does not show normal selection. The upstream OpenSSL backend’s --show-groups output can omit hybrid groups.
OpenVPN’s tls-crypt wraps its TLS control channel with a shared key. Compromise of that wrapping key removes its additional protection for recorded control traffic. It does not change the certificate signature scheme. Check the TLS library, group policy and peer negotiation before assigning any protection to an OpenVPN deployment. See the OpenVPN 2.7 manual.
The IANA DNSSEC algorithm registry lists algorithm 18 (ML-DSA-44) with an informational reference. Check the authoritative signer, validating resolvers, registrar and parent before changing a zone. DNSSEC signs DNS data and provides no transport encryption.
OpenPGP RFC 9980 specifies composite encryption and signature algorithms for messages. Existing recipient keys and encrypted archives retain their original algorithms. Before issuing new keys, verify compatible implementations, key formats and a complete decrypt-and-verify round trip with each recipient.