T2D lab results

What happened when we ran the drills ourselves, with versions and a date.

Part of the T2D drill kit.

Run on 2026-12-03 on one machine, against a staging listener on 127.0.0.1, with keys and certificates made for the run. Every line below is copied from the lab scripts' output by a program. A lab is not your estate: the point is to show what each step looks like and what tends to break, with versions and a date.

TLS: one service, eight phases, eight clients

ClientABCDEFGH
OpenSSL 4.1.0 clientworksworksworksfailsworksworksfailsworks
the same, offering RSA onlyworksfailsfailsfailsworksworksfailsfails
the same, refusing RSAworksworksworksfailsworksworksfailsworks
Go 1.27.4 clientworksworksfailsfailsworksworksfailsfails
Node 26.13.1 clientworksworksworksfailsworksworksfailsworks
Python 3.15.2 on OpenSSL 4.1.0 clientworksworksworksfailsworksworksfailsworks
Java 27.0.1.1 clientworksworksworksfailsworksworksfailsfails
curl 8.7.1 (SecureTransport) clientworksworksfailsfailsworksfailsfailsfails

A. Baseline: the service presents RSA and elliptic-curve certificates

  • server: serve.sh rsa+ec; clients trust: pki/trust-all.pem; at 2026-12-03T14:43:53Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • the same, offering RSA only: works: TLSv1.3; server signs with rsa_pss_rsae_sha256; key exchange X25519MLKEM768
  • the same, refusing RSA: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • Go 1.27.4 client: works: TLS 1.3; server key RSA; key exchange X25519MLKEM768
  • Node 26.13.1 client: works: TLSv1.3; server key EC prime256v1; key exchange X25519MLKEM768
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • Java 27.0.1.1 client: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • curl 8.7.1 (SecureTransport) client: works: http 200

B. The service stops presenting RSA

  • server: serve.sh ec; clients trust: pki/trust-all.pem; at 2026-12-03T14:43:56Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • the same, offering RSA only: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • the same, refusing RSA: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • Go 1.27.4 client: works: TLS 1.3; server key ECDSA; key exchange X25519MLKEM768
  • Node 26.13.1 client: works: TLSv1.3; server key EC prime256v1; key exchange X25519MLKEM768
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • Java 27.0.1.1 client: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • curl 8.7.1 (SecureTransport) client: works: http 200

C. Clients stop trusting the RSA authority; the service still has both

  • server: serve.sh rsa+ec; clients trust: pki/trust-no-rsa.pem; at 2026-12-03T14:43:58Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • the same, offering RSA only: fails: verify error:num=19:self-signed certificate in certificate chain
  • the same, refusing RSA: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • Go 1.27.4 client: fails: tls: failed to verify certificate: x509: certificate signed by unknown authority
  • Node 26.13.1 client: works: TLSv1.3; server key EC prime256v1; key exchange X25519MLKEM768
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • Java 27.0.1.1 client: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • curl 8.7.1 (SecureTransport) client: fails: exit 60: curl: (60) SSL certificate problem: self signed certificate in certificate chain

D. Clients refuse RSA; this dependency has only RSA

  • server: serve.sh rsa; clients trust: pki/trust-no-rsa.pem; at 2026-12-03T14:44:01Z
  • OpenSSL 4.1.0 client: fails: verify error:num=19:self-signed certificate in certificate chain
  • the same, offering RSA only: fails: verify error:num=19:self-signed certificate in certificate chain
  • the same, refusing RSA: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • Go 1.27.4 client: fails: tls: failed to verify certificate: x509: certificate signed by unknown authority
  • Node 26.13.1 client: fails: SELF_SIGNED_CERT_IN_CHAIN
  • Python 3.15.2 on OpenSSL 4.1.0 client: fails: SSLCertVerificationError [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certific
  • Java 27.0.1.1 client: fails: SSLHandshakeException (certificate_unknown) PKIX path building failed: sun.security.provider.certpath.SunCertPathBu
  • curl 8.7.1 (SecureTransport) client: fails: exit 60: curl: (60) SSL certificate problem: self signed certificate in certificate chain

E. Key exchange: classical curves only (what most services ran until recently)

  • server: serve.sh rsa+ec -groups x25519:secp256r1; clients trust: pki/trust-all.pem; at 2026-12-03T14:44:03Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519, 253 bits
  • the same, offering RSA only: works: TLSv1.3; server signs with rsa_pss_rsae_sha256; key exchange X25519, 253 bits
  • the same, refusing RSA: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519, 253 bits
  • Go 1.27.4 client: works: TLS 1.3; server key RSA; key exchange X25519
  • Node 26.13.1 client: works: TLSv1.3; server key EC prime256v1; key exchange X25519
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange x25519
  • Java 27.0.1.1 client: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • curl 8.7.1 (SecureTransport) client: works: http 200

F. Key exchange: the hybrid group only

  • server: serve.sh rsa+ec -groups X25519MLKEM768; clients trust: pki/trust-all.pem; at 2026-12-03T14:44:06Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • the same, offering RSA only: works: TLSv1.3; server signs with rsa_pss_rsae_sha256; key exchange X25519MLKEM768
  • the same, refusing RSA: works: TLSv1.3; server signs with ecdsa_secp256r1_sha256; key exchange X25519MLKEM768
  • Go 1.27.4 client: works: TLS 1.3; server key RSA; key exchange X25519MLKEM768
  • Node 26.13.1 client: works: TLSv1.3; server key EC prime256v1; key exchange X25519MLKEM768
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • Java 27.0.1.1 client: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • curl 8.7.1 (SecureTransport) client: fails: exit 35: curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake fa

G. Key exchange: no elliptic curve at all (ML-KEM-768 alone)

  • server: serve.sh rsa+ec -groups MLKEM768; clients trust: pki/trust-all.pem; at 2026-12-03T14:44:09Z
  • OpenSSL 4.1.0 client: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • the same, offering RSA only: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • the same, refusing RSA: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • Go 1.27.4 client: fails: remote error: tls: handshake failure
  • Node 26.13.1 client: fails: ERR_SSL_TLS_ALERT_HANDSHAKE_FAILURE
  • Python 3.15.2 on OpenSSL 4.1.0 client: fails: SSLError [SSL: TLS_ALERT_HANDSHAKE_FAILURE] tls alert handshake failure (_ssl.c:1147)
  • Java 27.0.1.1 client: fails: SSLHandshakeException (handshake_failure) Received fatal alert: handshake_failure
  • curl 8.7.1 (SecureTransport) client: fails: exit 35: curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake fa

H. Both RSA and elliptic-curve signatures refused: the service presents ML-DSA-65 only

  • server: serve.sh mldsa; clients trust: pki/trust-all.pem; at 2026-12-03T14:44:11Z
  • OpenSSL 4.1.0 client: works: TLSv1.3; server signs with mldsa65; key exchange X25519MLKEM768
  • the same, offering RSA only: fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL
  • the same, refusing RSA: works: TLSv1.3; server signs with mldsa65; key exchange X25519MLKEM768
  • Go 1.27.4 client: fails: remote error: tls: handshake failure
  • Node 26.13.1 client: works: TLSv1.3; server key ?; key exchange X25519MLKEM768
  • Python 3.15.2 on OpenSSL 4.1.0 client: works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • Java 27.0.1.1 client: fails: SSLHandshakeException (handshake_failure) Received fatal alert: handshake_failure
  • curl 8.7.1 (SecureTransport) client: fails: exit 35: curl: (35) LibreSSL/3.3.6: error:1404B410:SSL routines:ST_CONNECT:sslv3 alert handshake fa

SSH: one server, four phases, five clients

ClientABCD
client with defaults, ed25519 user keyworksworksworksfails
client with defaults, RSA user keyworksfailsworksworks
client that accepts only an RSA host keyworksfailsworksworks
client limited to classical key exchangeworksworksfailsworks
client limited to hybrid post-quantum key exchangeworksworksworksworks

A. Baseline: RSA, ECDSA and Ed25519 host keys; every user key type accepted

  • at 2026-12-03T14:44:20Z, OpenSSH_10.5p1, LibreSSL 3.3.6
  • host key types the server offers: ecdsa-sha2-nistp256 ssh-ed25519 ssh-rsa
  • client with defaults, ed25519 user key: works
  • client with defaults, RSA user key: works
  • client that accepts only an RSA host key: works
  • client limited to classical key exchange: works
  • client limited to hybrid post-quantum key exchange: works

B. RSA refused for host keys and for user keys

  • sshd_config: HostKeyAlgorithms -ssh-rsa,rsa-sha2-256,rsa-sha2-512
  • sshd_config: PubkeyAcceptedAlgorithms -ssh-rsa,rsa-sha2-256,rsa-sha2-512
  • at 2026-12-03T14:44:22Z, OpenSSH_10.5p1, LibreSSL 3.3.6
  • host key types the server offers: ecdsa-sha2-nistp256 ssh-ed25519
  • client with defaults, ed25519 user key: works
  • client with defaults, RSA user key: fails: user@127.0.0.1: Permission denied (publickey).
  • client that accepts only an RSA host key: fails: no common algorithm (exit 255)
  • client limited to classical key exchange: works
  • client limited to hybrid post-quantum key exchange: works

C. Classical-only key exchange refused (hybrid post-quantum groups only)

  • sshd_config: KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com
  • at 2026-12-03T14:44:24Z, OpenSSH_10.5p1, LibreSSL 3.3.6
  • host key types the server offers: ecdsa-sha2-nistp256 ssh-ed25519 ssh-rsa
  • client with defaults, ed25519 user key: works
  • client with defaults, RSA user key: works
  • client that accepts only an RSA host key: works
  • client limited to classical key exchange: fails: no common algorithm (exit 255)
  • client limited to hybrid post-quantum key exchange: works

D. Elliptic-curve signatures refused too (ECDSA and Ed25519): only RSA is left in this OpenSSH

  • sshd_config: HostKeyAlgorithms rsa-sha2-512,rsa-sha2-256
  • sshd_config: PubkeyAcceptedAlgorithms rsa-sha2-512,rsa-sha2-256
  • at 2026-12-03T14:44:26Z, OpenSSH_10.5p1, LibreSSL 3.3.6
  • host key types the server offers: ssh-rsa
  • signature key types this OpenSSH knows (ssh -Q key): ssh-ed25519 sk-ssh-ed25519@openssh.com ssh-mldsa44-ed25519@openssh.com ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 sk-ecdsa-sha2-nistp256@openssh.com ssh-rsa
  • key exchanges this OpenSSH knows (ssh -Q kex): diffie-hellman-group1-sha1 diffie-hellman-group14-sha1 diffie-hellman-group14-sha256 diffie-hellman-group16-sha512 diffie-hellman-group18-sha512 diffie-hellman-group-exchange-sha1 diffie-hellman-group-exchange-sha256 ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 mlkem768nistp256-sha256 curve25519-sha256 curve25519-sha256@libssh.org sntrup761x25519-sha512 sntrup761x25519-sha512@openssh.com mlkem768x25519-sha256
  • client with defaults, ed25519 user key: fails: user@127.0.0.1: Permission denied (publickey).
  • client with defaults, RSA user key: works
  • client that accepts only an RSA host key: works
  • client limited to classical key exchange: works
  • client limited to hybrid post-quantum key exchange: works

Client-side switches, each proved twice

server presents: rsa

  • OpenSSL config file (Python client): fails: SSLError [SSL: TLS_ALERT_HANDSHAKE_FAILURE] tls alert handshake failure (_ssl.c:1147)
  • OpenSSL config file (openssl s_client): fails: SSL routines:ssl3_read_bytes:tls alert handshake failure:ssl/record/rec_layer_s3.c:910:SSL alert num
  • Java security properties file: fails: SSLHandshakeException (handshake_failure) Received fatal alert: handshake_failure
  • Node sigalgs option: fails: ERR_SSL_TLS_ALERT_HANDSHAKE_FAILURE
  • Go VerifyConnection: fails: RSA is refused here: localhost

server presents: rsa+ec

  • OpenSSL config file (Python client): works: TLSv1.3; cipher TLS_AES_256_GCM_SHA384; key exchange X25519MLKEM768
  • OpenSSL config file (openssl s_client): works: nature type: ecdsa_secp256r1_sha256
  • Java security properties file: works: TLSv1.3; server key EC; cipher TLS_AES_256_GCM_SHA384
  • Node sigalgs option: works: TLSv1.3; server key EC prime256v1
  • Go VerifyConnection: fails: RSA is refused here: localhost

Time to Distrust (T2D) is QRAMM's term, not a standard metric.