Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Last reviewed 2026-12-05 · History

Summary

  • OpenVPN has a control channel, where “authentication and key agreement occurs”, and a data channel that “transports the encrypted payload”.1
  • The control channel runs a TLS handshake, so key agreement and authentication are those of TLS 1.3 in the TLS library; a hybrid group such as X25519MLKEM768 is possible when the library has it.1
  • The wiki lists three layers: symmetric pre-shared protection of the control channel (tls-crypt, tls-crypt-v2), post-quantum key agreement, and post-quantum certificates.1
  • The data channel uses symmetric ciphers; the wiki says “No change is necessary in this area.”1
  • Versions, defaults and vendor statements are on the OpenVPN software page.

To limit the groups used for key exchange, set --tls-groups; the wiki’s example tls-groups X25519MLKEM768 “will only allow connections that use” that group.12

Post-quantum options

  • Key agreement: the wiki says “TLS 1.3 typically uses ECDH with the X25519 curve for the key agreement” and names the hybrid examples X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024;1 hybrid groups come from the TLS library; the protocol defines no groups of its own. See ML-KEM and TLS 1.3.
  • Pre-shared control channel keys: tls-crypt and tls-crypt-v2 encrypt the control channel with a pre-shared symmetric key. The wiki quotes the man page: “poor-man’s” post-quantum security, “against attackers who will never know the pre-shared key (i.e. no forward secrecy)”.1 This is not a post-quantum key agreement.
  • Authentication: certificate algorithms come from the TLS library. The wiki says post-quantum certificates are “also possible”; its example is a pure ML-DSA-65 certificate, self-signed, used through --peer-fingerprint and created with OpenSSL 3.5.0 or later; it shows no hybrid or composite certificate (checked 2026-12-05).1

Downgrade and enforcement

  • --tls-groups is a list of allowed groups. The man page says the groups “are allowed to be used in signatures and key exchange”, and warns that the option “not only affects elliptic curve certificates but also the key exchange in TLS 1.3 and using this option improperly will disable TLS 1.3”.2
  • A connection that cannot use a listed group fails; the wiki shows the failure.1 Each side sets its own list.

Implementations

  • OpenVPN: community releases, the TLS libraries they build against, and the --tls-groups default.
  • OpenSSL: the library whose version decides which groups and certificates work.

References

  1. OpenVPN community wiki, “Post-quantum cryptography security in OpenVPN”. https://community.openvpn.net/PQCryptoOpenVPN (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9

  2. OpenVPN manual, TLS Mode Options, at tag v2.7.10. https://github.com/OpenVPN/openvpn/blob/v2.7.10/doc/man-sections/tls-options.rst (accessed 2026-12-05) ↩ ↩2


Edit: OpenVPN protocol

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.