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.
FreeBSD 14.4, 14.5 and 15.1 share an SSH key-exchange default. Their base TLS capabilities differ. Check the release support table and the OpenSSL erratum for these branches . A package, jail, CDN or remote relay may use a different library from the host.
Release and Service Support #
| Technology | 14.4 and 14.5 | 15.1 | Operational check |
|---|---|---|---|
| Base SSH key exchange | OpenSSH 10.0p2 prefers mlkem768x25519-sha256. | Same. A classical-only peer can still connect. | Check the actual SSH connection , including ZFS replication . |
| Base SSH authentication | Classical host and user signatures | Same. A separate OpenSSH 10.6p2 package supports composite ML-DSA-44/Ed25519 on both branches. | Test composite host and user authentication . |
| TLS 1.3 key exchange | Base OpenSSL 3.0 lacks X25519MLKEM768. A separately built endpoint needs a capable library. | Base OpenSSL 3.5 includes the hybrid group in its defaults. The application and peer must permit it. | Inspect nginx or Caddy and test HTTPS . |
| TLS authentication | Base OpenSSL 3.0 does not supply ML-DSA. | OpenSSL 3.5 supports ML-DSA. A classical certificate continues to authenticate with a classical key. | Inspect the TLS peer signature . |
| SMTP and IMAP | Check the MTA, IMAP daemon or external relay at the actual endpoint. | A daemon using 3.5 defaults can negotiate hybrid TLS on each supported hop. | Probe SMTP STARTTLS and implicit IMAP TLS . |
| IPsec | strongSwan 6.x from ports can add ML-KEM to a classical IKEv2 exchange. Both peers must negotiate it. | Same. Kernel IPsec alone provides no IKE negotiation. | Check strongSwan proposals . |
| WireGuard | Optional random per-peer PSK adds symmetric protection. | Same. Public-key authentication remains classical. | Provision both peers . |
| OpenVPN | Depends on the package TLS backend and control-channel configuration. | A compatible OpenSSL 3.5 build can negotiate the hybrid group. | Check VPN interoperability . |
| DNSSEC and OpenPGP | Depend on signer, validator or recipient implementations. | Same. New protocol identifiers leave existing keys unchanged. | Check signature interoperability . |
| GELI and ZFS encryption | Symmetric data keys and separate unlock credentials | Same. No ML-KEM conversion is required. | Protect encryption keys and recovery . |
The base OpenSSH version headers are available for 14.4 , 14.5 and 15.1 . Consult the OpenSSH 10.6 release notes when comparing a newer portable build with base.
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.
VPN Interoperability #
strongSwan 6.0 introduced an ML-KEM plugin. The FreeBSD quarterly port
enables the ML build option by default. The operator still needs a compatible proposal on both peers. For example, the key-exchange portion x25519-ke1_mlkem768 requires X25519 followed by ML-KEM-768. Verify loaded algorithms with swanctl --list-algs and inspect the established SA with swanctl --list-sas. RFC 9370
specifies multiple exchanges. The IKEv2 ML-KEM specification
remains an Internet-Draft at this review. See strongSwan proposals
.
The quarterly OpenVPN port
builds 2.7.10 with an OpenSSL backend. Check openvpn --version. On builds using OpenSSL 3.5, inspect the control-channel handshake log for key agreement: X25519MLKEM768. The output from --show-groups can omit hybrid groups. If the handshake log omits the group, use an isolated test profile requiring tls-version-min 1.3 and tls-groups X25519MLKEM768, retaining certificate verification. A successful new tunnel proves mutual capability. Check the linked library on each peer and any tls-groups restriction. Its tls-crypt shared key wraps control traffic. Disclosure of that key removes this additional layer for recordings. Neither a shared wrapping key nor a TLS 1.3 cipher name identifies the negotiated group or the certificate signature. See the OpenVPN 2.7 manual
.
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 poudriere signing procedure uses an RSA repository key independently of the HTTPS certificate and key exchange.
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.