QShift Labs
Sign in

Open source

OpenVPN

github.com/OpenVPN/openvpn

D

Scanned 5 Dec 2026 at commit b898ae0567: 315 files, C/C++, Python, Server config, graded against CNSA 2.0, qshift 0.2.4.

16 weak today, 30 quantum-vulnerable, 0 below the profile, 0 ready.

How to raise the grade

The changes that move the grade most, in this order. Each step counts the places from the list below.

  1. Fix what is weak today: RSA, MD5/SHA-1/DES, MD5/SHA-1D to C

    16 places, most of them in src/openvpn/. Move the key to a secret store, rotate it, and remove it from the history. If it is a test key, keep it under testdata/ or test/, which are skipped by default.

  2. Replace ECDSA/ECDH

    8 places, most of them in src/openvpn/. OpenSSL 3.5+: EVP_PKEY_Q_keygen(NULL, NULL, "ML-DSA-87") for signatures, "ML-KEM-1024" (EVP_PKEY_encapsulate) for key establishment.

  3. Replace RSA

    7 places, most of them in src/openvpn/. OpenSSL 3.5+ has ML-DSA and ML-KEM through EVP: EVP_PKEY_Q_keygen(NULL, NULL, "ML-DSA-87") or "ML-KEM-1024".

1. Fix now: weak today

Broken or too weak today, without any quantum computer. These hold the grade at D or F.

Weak todayunknown 2 places

Unencrypted private key stored in the repository: anyone with read access has the key

Fix: Move the key to a secret store, rotate it, and remove it from the history. If it is a test key, keep it under testdata/ or test/, which are skipped by default.

Weak todayMD5/SHA-1/DES 2 places

MD4, MD5, SHA-1, DES, 3DES, RC2 or RC4 from Windows CNG

Fix: Use BCRYPT_SHA384_ALGORITHM / BCRYPT_SHA512_ALGORITHM and BCRYPT_AES_ALGORITHM with BCRYPT_CHAIN_MODE_GCM and a 256-bit key.

2. Protect data in transit

Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.

Quantum-vulnerableTLS 1.2 only 1 place

OpenSSL maximum protocol version below TLS 1.3 (no post-quantum key exchange possible)

Fix: Use TLS_method() without a maximum below TLS1_3_VERSION; OpenSSL 3.5+ then offers X25519MLKEM768 by default.

3. Move signatures

Signatures and certificates a future quantum computer could forge. Nothing recorded today becomes readable through them, so they can follow the key exchange, ahead of the CNSA 2.0 and NIST dates.

This is what the qshift scanner found in the public code at the commit named, with test folders left out. A scanner reports what it finds; it cannot prove that no other cryptography is used. It is not an audit and says nothing about how the project is run.