Quantum-vulnerableclassic ECDHE groups only 1 place
rustls with the ring crypto provider (no post-quantum key exchange)
Fix: Use the default aws-lc-rs provider (rustls 0.23.27+ prefers X25519MLKEM768; kx_group::MLKEM1024 for CNSA 2.0).
github.com/ElementsProject/lightning
Scanned 5 Dec 2026 at commit d1e4273f01: 1027 files, C/C++, Python, Rust, graded against CNSA 2.0, qshift 0.2.4.
0 weak today, 32 quantum-vulnerable, 3 below the profile, 1 ready.
The changes that move the grade most, in this order. Each step counts the places from the list below.
31 places. No drop-in replacement on chain; follow your chain's post-quantum plans and use ML-DSA-87 for signatures outside the chain.
If this is the signature on the chain's transactions, it changes only when the whole network agrees on a new one.
1 place, most of them in plugins/rest-plugin/src/. Use the default aws-lc-rs provider (rustls 0.23.27+ prefers X25519MLKEM768; kx_group::MLKEM1024 for CNSA 2.0).
3 places. Use the aws-lc-rs provider: add "aws_lc_rs" (and "prefer-post-quantum" before 0.23.27) to the rustls features, or keep the default features.
Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.
rustls with the ring crypto provider (no post-quantum key exchange)
Fix: Use the default aws-lc-rs provider (rustls 0.23.27+ prefers X25519MLKEM768; kx_group::MLKEM1024 for CNSA 2.0).
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.
ECDSA or Schnorr on secp256k1 with libsecp256k1 (Bitcoin and other chains)
Fix: No drop-in replacement on chain; follow your chain's post-quantum plans and use ML-DSA-87 for signatures outside the chain.
Not broken, but below the strength the profile asks for. Worth doing when the code is changed anyway.
rustls with only the ring crypto provider has no post-quantum key exchange
Fix: Use the aws-lc-rs provider: add "aws_lc_rs" (and "prefer-post-quantum" before 0.23.27) to the rustls features, or keep the default features.
Versions before 48.0.0 have no ML-KEM or ML-DSA in the standard wheels
Fix: Require cryptography>=48 (the wheels bundle an OpenSSL with ML-KEM and ML-DSA).
Prefers hybrid X25519MLKEM768 by default with the aws-lc-rs provider.
Fix: None needed.
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.