QShift Labs
Sign in

Open source

HashiCorp Vault

github.com/hashicorp/vault

D

Scanned 5 Dec 2026 at commit 1dbd3f21bc: 3178 files, Go, JavaScript, TypeScript, graded against CNSA 2.0, qshift 0.2.4.

14 weak today, 124 quantum-vulnerable, 20 below the profile, 14 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: MD5/SHA-1, DES/3DES/RC4, DSAD to C

    14 places. Use crypto/sha512 (sha512.New384 or sha512.New).

  2. Replace RSA/ECDSA

    29 places. Store new keys as PKCS#8 (x509.MarshalPKCS8PrivateKey) so ML-DSA and ML-KEM keys fit the same code.

  3. Replace RSA/ECDSA/EdDSA

    27 places. Plan ML-DSA tokens (draft JOSE ML-DSA algorithms, Go crypto/mldsa); keep token lifetimes short and make the algorithm a setting.

1. Fix now: weak today

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

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-vulnerableRSA/ECDSA 29 places

RSA or EC private keys read or written in PKCS#1 or SEC 1 form

Fix: Store new keys as PKCS#8 (x509.MarshalPKCS8PrivateKey) so ML-DSA and ML-KEM keys fit the same code.

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.

Quantum-vulnerableRSA/ECDSA/EdDSA 27 places

RSA, ECDSA or EdDSA token algorithms (golang-jwt, go-jose, jwx)

Fix: Plan ML-DSA tokens (draft JOSE ML-DSA algorithms, Go crypto/mldsa); keep token lifetimes short and make the algorithm a setting.

Quantum-vulnerableECDSA P-384 18 places

Certificate has an ECDSA P-384 key: quantum-vulnerable

Fix: Plan ML-DSA-87 (signatures) or ML-KEM-1024 (key exchange) once your software supports it; keep keys easy to rotate.

Quantum-vulnerableECDSA P-256 12 places

Certificate has an ECDSA P-256 key: quantum-vulnerable

Fix: Plan ML-DSA-87 (signatures) or ML-KEM-1024 (key exchange) once your software supports it; keep keys easy to rotate.

Quantum-vulnerableRSA 2048 1 place

Certificate has an RSA-2048 key: quantum-vulnerable signature

Fix: Plan ML-DSA-87 once your CA and clients support it; until then use RSA 3072+ or ECDSA P-384 with short lifetimes.

4. Tidy up

Not broken, but below the strength the profile asks for. Worth doing when the code is changed anyway.

Below profileML-DSA-44/65 16 places

ML-DSA-44 or ML-DSA-65 from crypto/mldsa (post-quantum, not the CNSA 2.0 parameter set)

Fix: Use mldsa.MLDSA87() for National Security Systems.

Already post-quantum or strong enough

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.