Skip to content

Post-quantum cryptography (PQC) overview

This page explains terminology, algorithms used in the lab, and how lab containers get PQC-hybrid TLS from Alpine 3.24 OpenSSL 3.5.x (minimum PQC-safe OpenSSL: 3.5.0) plus OPENSSL_CONF.

PQC in this Arista EOS 4.37.0F lab applies to key establishment - how two peers agree on session keys. Certificates and signatures in this lab are classical (RSA/ECDSA). Record-layer AEAD ciphers (for example TLS_AES_256_GCM_SHA384) provide symmetric encryption; security against harvest-now-decrypt-later attacks comes from PQC-hybrid key exchange, not from renaming those ciphers.

Terminology

Term Meaning Example in this lab
Non-PQC (classical) Key exchange uses pre-quantum algorithms only TLS groups x25519, secp256r1; SSH KEX without ML-KEM
PQC-safe (live) A completed handshake negotiates a hybrid post-quantum key-establishment algorithm on the wire TLS 1.3 group X25519MLKEM768; SSH mlkem768x25519-sha256
Configurable for PQC EOS config or ssl profile lists a hybrid group, but the live client/server may still negotiate classical KEX gRIBI and eos-sdk-rpc on EOS 4.37.0F - each marked with a Known EOS gap warning in Services
Pure PQC Key exchange uses only a post-quantum algorithm, with no paired classical component Standalone MLKEM768 in OpenSSL group lists

Non-PQC vs PQC-safe

  • Non-PQC connections can be broken in future by a cryptographically relevant quantum computer attacking the classical KEX step (for example ECDH on Curve25519).
  • PQC-safe in this documentation means the lab has verified negotiation of a hybrid construction that combines a classical algorithm with ML-KEM-768, so both must be broken to recover the session keys.
  • Configurable ≠ PQC-safe: an ssl profile can advertise X25519MLKEM768 while the actual TLS client offers only classical groups. Always verify on the wire (make test-eapi, make test-syslog, OpenSSL s_client, or packet capture) when that distinction matters.

Hybrid PQC vs pure PQC

Hybrid PQC Pure PQC
Idea Run classical + post-quantum KEX together in one construction Post-quantum KEX only
TLS examples X25519MLKEM768, SecP256r1MLKEM768 MLKEM768 (standalone group name in OpenSSL)
SSH example mlkem768x25519-sha256 (not used in EOS / this lab)
Transition role Preferred migration path while not all peers support pure PQC Theoretical end-state for some designs
This lab Yes - default policy No

Pure PQC is outside this lab’s validation

NIST has standardized ML-KEM (FIPS 203), and OpenSSL 3.5+ exposes standalone groups such as MLKEM768. The lab configures and verifies hybrid key establishment. The 4.37.0F verification does not cover standalone ML-KEM or post-quantum certificate/signature support; do not infer those capabilities from the bundled OpenSSL version.

Algorithms and ciphers in this lab

TLS 1.3 key-establishment groups (management plane)

Group Type Used by lab policy? Notes
X25519MLKEM768 Hybrid (X25519 + ML-KEM-768) Yes - primary EOS ssl profiles EAPI, RADSEC, GNMI, GRIBI, GNSI, GNPSI, RESTCONF, DOT1X; strict peers (FreeRADIUS)
ecdh_x25519 / x25519 Classical Fallback only where explicitly allowed SYSLOG profile and syslog-ng collector permit fallback; 4.37.0F wire checks selected hybrid
secp256r1, secp384r1, … Classical Not in strict profiles Appear in permissive probes / legacy clients
MLKEM768 Pure PQC No on EOS May appear in openssl list -tls-groups inside lab containers; not configured on switches
SecP256r1MLKEM768 Hybrid No in this lab OpenSSL 3.5 may list; lab templates use X25519MLKEM768

IANA/OpenSSL code point for the hybrid group used in tests: 4588 (0x11ec) for X25519MLKEM768.

SSH key exchange (VRF MGMT)

KEX algorithm Type Lab policy
mlkem768x25519-sha256 Hybrid Yes - management ssh on all EOS nodes
Classical SSH KEX (curve25519-sha256, …) Non-PQC Disabled for management SSH in lab templates

NETCONF inherits SSH KEX from management ssh. SSH ciphers are restricted to aes256-gcm@openssh.com (AES-256-GCM only).

TLS 1.3 record ciphers (AEAD)

These protect data after key establishment. The lab configures TLS 1.3 only on PQC-managed ssl profiles; RESTCONF and gRIBI do not fully enforce that restriction (see Services):

TLS_AES_256_GCM_SHA384
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256

Configured on EOS as:

cipher v1.3 TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256

Matching policy in docker/radius/openssl-pqc.cnf and docker/syslog/openssl-pqc.cnf.

These are not “PQC ciphers” in the sense of ML-KEM - they are standard TLS 1.3 AEAD suites. Quantum resistance for the session comes from the hybrid KEX step above.

MACsec and QKD (out of band)

  • Dynamic MACsec (802.1X): EAP-TLS inner tunnel uses ssl profile DOT1X with X25519MLKEM768. MACsec frame encryption uses MKA-derived keys (MACsec service).
  • QuaDRA / QKD: Key material from ETSI GS QKD 014 KME APIs; separate from TLS group negotiation (QKD service).

Lab policy summary

Layer Policy
Strict ssl profiles (EAPI, RADSEC, GNMI, GRIBI, GNSI, GNPSI, RESTCONF, DOT1X) X25519MLKEM768 only - no classical ECDH fallback
FreeRADIUS RadSec Groups = X25519MLKEM768 via OpenSSL config
SSH management mlkem768x25519-sha256 preferred
SYSLOG profile Hybrid listed with classical fallback (retained for compatibility); 4.37.0F selects hybrid

On 4.37.0F, syslog and gNPSI TLS/reflection/Subscribe negotiate hybrid on all six endpoints. gRIBI and eos-sdk-rpc remain classical. RESTCONF supports hybrid but accepts weaker offers despite its strict profile. See Services overview for per-interface status and the current test results.

OpenSSL 3.5 (minimum for PQC-safe lab containers)

TLS peers and probes require OpenSSL 3.5.0 or newer with built-in ML-KEM (FIPS 203) and the hybrid TLS groups X25519MLKEM768 / SecP256r1MLKEM768. A successful wire check is required to establish PQC safety.

EOS implements switch-side TLS natively. Peer containers use Alpine 3.24 apk OpenSSL 3.5.x (3.5 LTS; EOL 2030-04-08), which advertises X25519MLKEM768. Alpine 3.24 is pinned; apk patch versions float (3.5.9 observed in the 4.37.0F verification). EOS 4.37.0F bundles OpenSSL 3.5.5, a separate stack. Runtime policy is OPENSSL_CONF (hybrid-only for strict peers; syslog permits fallback) - not a custom OpenSSL compile. See Tool chain for per-client status, and Setup for build targets (make images-build, make images-build IMAGE=test-runner, etc.).

FreeRADIUS 3.2.6 and syslog-ng 4.8.1 are still compiled from source (Alpine’s freeradius package is 3.0.x). They link against apk OpenSSL.

The KME simulator (quantum-safe-kme:latest) uses Python/Flask mTLS separately - see QKD service.

Verify what your peer offers

Inside the radius container (same OpenSSL as RadSec probes):

docker exec arista-quantum-safe-radius openssl list -tls-groups
docker exec arista-quantum-safe-radius openssl version

On a switch:

show management security ssl profile EAPI detail
show running-config section management ssh

Live hybrid negotiation:

make test-eapi VERBOSE=1
make test-ssh VERBOSE=1
make test-radsec VERBOSE=1