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.
github.com/lightningnetwork/lnd
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.
The changes that move the grade most, in this order. Each step counts the places from the list below.
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.
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.
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.
Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.
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.
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.
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.
bolt12handler/generate.go:498bolt12handler/replier.go:125bolt12handler/replier.go:180brontide/noise.go:71chainntnfs/test_utils.go:34chanbackup/single.go:259channeldb/migration21/current/current_codec.go:321channeldb/migration30/lnwallet.go:112channeldb/migration30/test_utils.go:360channeldb/migration_01_to_11/codec.go:327ECDSA 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.