QShift Labs
Sign in

Open source

LND (Lightning)

github.com/lightningnetwork/lnd

C

Scanned 5 Dec 2026 at commit 0d373cd232: 1393 files, Go, Python, Server config, graded against CNSA 2.0, qshift 0.2.4.

0 weak today, 57 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. Replace ECDSA secp256k1

    55 places. Set by the chain protocol (ecrecover, Bitcoin script): keep keys off reused addresses and follow the chain's post-quantum account plans; Go 1.27 crypto/mldsa (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.

  2. Replace ECDSA

    1 place, most of them in cert/. Go 1.27 has crypto/mldsa (ML-DSA-87).

    If this is the signature on the chain's transactions, it changes only when the whole network agrees on a new one.

  3. Replace RSA/ECDSAC to A+

    1 place, most of them in cert/. Store new keys as PKCS#8 (x509.MarshalPKCS8PrivateKey) so ML-DSA and ML-KEM keys fit the same code.

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 1 place

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-vulnerableECDSA secp256k1 55 places

secp256k1 keys and signatures with go-ethereum crypto, btcec or decred secp256k1

Fix: Set by the chain protocol (ecrecover, Bitcoin script): keep keys off reused addresses and follow the chain's post-quantum account plans; Go 1.27 crypto/mldsa (ML-DSA-87) for signatures outside the chain.

Quantum-vulnerableECDSA 1 place

ECDSA from crypto/ecdsa

Fix: Go 1.27 has crypto/mldsa (ML-DSA-87).

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.