Skip to content

Tool chain

The lab configures PQC-hybrid-only TLS on most EOS ssl profiles (X25519MLKEM768 only - no classical ECDH fallback). Probe clients and peer containers must therefore negotiate hybrid key exchange on the wire, not merely “TLS 1.3 with classical groups.”

Stock Linux packages and upstream release binaries often fail that requirement. This page documents why the lab rebuilds or pins specific tool versions in docker/test-runner/Dockerfile and the service Dockerfiles, and which clients are PQC-safe (live) against the strict EOS profiles in this lab.

Probe and peer client summary

Strict EOS ssl profiles in this lab list X25519MLKEM768 only (no classical ECDH fallback). Stock OOTB PQC-safe? means the usual distro package or upstream release binary can complete a handshake on those profiles without lab-specific rebuilds. Lab PQC-safe? is the same check for the binary shipped in lab Docker images (verified in the relevant make test-* checks, with limitations below).

Client / component Container TLS stack Stock OOTB PQC-safe? Lab image Lab PQC-safe?
OpenSSL (openssl s_client) test-runner, radius, syslog OpenSSL Yes - Alpine 3.24 apk 3.5.x apk 3.5.x + OPENSSL_CONF Yes (with OPENSSL_CONF)
curl test-runner OpenSSL (linked) Yes - Alpine 3.24 OpenSSL backend apk curl Yes
OpenSSH client test-runner OpenSSL (linked) Yes - Alpine 3.24 client supports mlkem768x25519-sha256 apk openssh-client Yes
FreeRADIUS (RadSec) radius OpenSSL (dynamic) No - apk freeradius is 3.0.27 Source 3.2.6 + apk OpenSSL Yes
syslog-ng (collector) syslog OpenSSL (dynamic) No - distro package not used Source 4.8.1 + apk OpenSSL Yes (collector-side probe)
gnmic test-runner Go crypto/tls Yes - release 0.47.0 (Go 1.25+) Upstream tarball Yes
gnoic test-runner Go crypto/tls Yes - release 0.2.1 (Go 1.25+) Upstream tarball Yes
gnsic test-runner Go crypto/tls Yes - release 0.0.4 (Go 1.25+) Upstream tarball Yes
gribic test-runner Go crypto/tls No - release 0.0.14 (go 1.21 in upstream go.mod) Source-build 0.0.14 (Go 1.27.0, go mod edit -go=1.27) Hybrid-capable; target gRIBI remains classical
grpcurl test-runner Go crypto/tls No - release 1.9.3 (go 1.21 in upstream go.mod) Source-build 1.9.3 (Go 1.27.0, go mod edit -go=1.27) Yes for gNPSI reflection on :6031; Subscribe delivery verified; use primary clients on :6030
KME simulator kme-a, kme-b Python ssl / system OpenSSL No Alpine 3.24 apk python3 (compile cffi on aarch64) Hybrid on both QuaDRA client paths; simulator peer TLS KEX remains unverified
EOS cEOS ceos* Arista (native) N/A (switch image) Vendor image + templates Per service - syslog/gNPSI hybrid; gRIBI/eos-sdk remain classical; RESTCONF policy gap (Services)

Column notes

Column Meaning
Stock OOTB PQC-safe? Default upstream or Alpine package as downloaded - no lab Dockerfile changes.
Lab PQC-safe? Negotiates hybrid X25519MLKEM768 (or SSH mlkem768x25519-sha256) on the wire against the relevant lab check - not merely TLS 1.3 or hybrid listed in EOS config.
Unverified / hybrid-capable Capability or functional checks alone do not establish a measured hybrid connection on the target service.

EOS 4.37.0F wire gaps remain for gRIBI and eos-sdk-rpc. RESTCONF supports hybrid but accepts weaker offers. Syslog and gNPSI TLS/reflection negotiate hybrid. Service-level live status: Services overview and Test result summary.

Build summary

Component Build requirement Lab approach
OpenSSL (radius, syslog, probes) OpenSSL 3.5.0+ with built-in hybrid groups Pin Alpine 3.24; apk OpenSSL 3.5.x + OPENSSL_CONF
curl / OpenSSH OpenSSL-linked curl and hybrid-capable SSH apk curl and openssh-client on Alpine 3.24
FreeRADIUS / syslog-ng apk FreeRADIUS is 3.0.x; syslog-ng not used from distro Source 3.2.6 / 4.8.1, linked to apk OpenSSL
grpcurl Upstream go 1.21 in go.mod - linked binary offers classical KEX only (tlsmlkem=0) Source-build 1.9.3 with Go 1.27.0; go mod edit -go=1.27 before compile
gribic Upstream go 1.21 in go.mod - same tlsmlkem=0 default Source-build 0.0.14 with Go 1.27.0; go mod edit -go=1.27 before compile
gnoic / gnsic / gnmic Go 1.25+ prebuilt tarballs OK Pin upstream release tarballs

Build images with make images-build and verify existing images with make images-check. Both accept IMAGE=radius, IMAGE=syslog, IMAGE=kme, or IMAGE=test-runner; omitting IMAGE selects all four. Builds automatically verify the selected images.

OpenSSL 3.5 (peer containers)

The lab requires OpenSSL 3.5.0 or newer with built-in ML-KEM (FIPS 203) and the hybrid TLS groups X25519MLKEM768 / SecP256r1MLKEM768. Confirm the negotiated group with a wire check.

The EOS 4.37.0F verification observed apk OpenSSL 3.5.9 in peer/probe containers. Alpine 3.24 is pinned; the OpenSSL patch release is not pinned. EOS 4.37.0F bundles OpenSSL 3.5.5 separately, and each service still needs wire verification.

EOS implements PQC-hybrid TLS on the switch. Alpine 3.24 apk OpenSSL 3.5.x (3.5 LTS) advertises X25519MLKEM768, so lab images use distro OpenSSL, curl, and OpenSSH - they do not compile those from source.

Runtime policy is OPENSSL_CONF pointing at PQC-only group lists (for example Groups = X25519MLKEM768 in docker/radius/openssl-pqc.cnf). That file is policy, not a compile workaround.

See also PQC overview - OpenSSL 3.5.

Go crypto/tls (gRPC clients)

Go 1.24+ enables hybrid post-quantum key exchange X25519MLKEM768 in crypto/tls when tlsmlkem=1 (the default for modules declaring go 1.24 or newer). Go programs ignore OPENSSL_CONF - they use the Go runtime’s TLS stack only.

Upstream grpcurl and gribic tarballs declare go 1.21 in go.mod. Compiling them with a Go 1.27 toolchain alone is not enough: the linked binary inherits GODEBUG defaults from that directive, so tlsmlkem=0 unless the build runs go mod edit -go=1.27 (matching the Dockerfile GO_VERSION=1.27.0 pin) before go build.

grpcurl

grpcurl release v1.9.3 GitHub binaries are built from that upstream go 1.21 module - against strict EOS profiles they offer classical KEX only and cannot complete a PQC-only handshake.

The test-runner image source-builds grpcurl v1.9.3 with Go 1.27.0 and go mod edit -go=1.27 before compile, and stamps main.version=v1.9.3 via ldflags (same as upstream goreleaser) so grpcurl --version reports the tag. grpcurl’s ClientTLSConfig does not override CurvePreferences, so the Go 1.27 defaults apply.

Verified against deployed EOS 4.37.0F: the source-built client completes mTLS and gNPSI reflection list on :6031. That listener negotiates X25519MLKEM768, and separate classical TLS 1.3 / TLS 1.2 probes are rejected. Subscribe sample delivery is verified on all six endpoints with sflow source-interface Ethernet8 and two-second counter polling. Captured Subscribe ServerHellos select TLS 1.3 / X25519MLKEM768 / TLS_AES_128_GCM_SHA256. The probe requires a nonempty base64-decoded Sample.packet and fails when none arrives within eight seconds.

For the shared gNMI/gNOI listener (:6030), use the validated primary clients gnoic, gnmic, and gnsic. grpcurl support on that port was not revalidated on 4.37.0F. grpcurl remains an RPC fallback in the test code and the primary client for the bounded gNPSI Subscribe probe.

Manual spot-check (lab deployed, certs mounted in test-runner):

docker exec arista-quantum-safe-test-runner grpcurl \
  -cacert /etc/probe/certs/radsec-ca.pem \
  -cert /etc/probe/certs/ceos1-both-client.pem \
  -key /etc/probe/certs/ceos1-both-client.key \
  172.20.127.11:6031 list

Expect gnpsi.gNPSI and grpc.reflection.v1.ServerReflection. Transport PQC on :6030 is checked via openssl s_client and the Go clients above in make test-openconfig.

gnoic, gribic, gnsic

gnoic (0.2.1) and gnsic (0.0.4) ship as prebuilt Linux tarballs from karimra releases (Go 1.25+). They are primary live gRPC probes in make test-openconfig.

gribic 0.0.14 uses the same source-build pattern as grpcurl: compile with Go 1.27.0 and go mod edit -go=1.27 before go build, and stamps github.com/karimra/gribic/app.version=0.0.14 via ldflags (same as upstream goreleaser) so gribic version reports the tag. make test-openconfig probes PQC-hybrid mTLS on :9340 with OpenSSL first, then runs gribic get. On EOS 4.37.0F the wire still accepts classical KEX - the suite WARNs (same pattern as eos-sdk-rpc) before the gRIBI Get RPC check.

gnmic

gnmic (0.47.0) is a prebuilt release tarball (Go 1.25+). Re-verify against EOS when bumping GNMIC_VERSION - if upstream regresses to an older go directive, use the same source-build approach as grpcurl and gribic.

What is not customized

Item Notes
EOS cEOS-lab Arista image - PQC configured via startup templates, not rebuilt here
KME simulator Python/Flask mTLS - Alpine 3.24 apk python3 and lab PKI (keyUsage on the KME CA)
Alpine packages Base OS packages (Python, docker-cli, tshark, …) - not rebuilt; OpenSSL/curl/ssh are the PQC TLS/SSH probes

Operational notes

  • GODEBUG=tlsmlkem=0 disables PQ hybrids in Go - do not set this in the test-runner environment. For grpcurl and gribic, the Dockerfile avoids that default by running go mod edit -go=1.27 before compile (see Go crypto/tls).
  • OPENSSL_CONF affects OpenSSL binaries only (curl, openssl s_client), not Go gRPC clients.
  • After changing Dockerfile pins, run make images-build IMAGE=test-runner and make images-check IMAGE=test-runner, then spot-check live handshakes with make test-openconfig VERBOSE=1.