Quantum-vulnerableX25519 2 places
X25519 from golang.org/x/crypto/curve25519
Fix: Use crypto/mlkem GenerateKey1024 (Go 1.24+).
github.com/WireGuard/wireguard-go
Scanned 5 Dec 2026 at commit b3bc704ef0: 79 files, Go, graded against CNSA 2.0, qshift 0.2.4.
0 weak today, 2 quantum-vulnerable, 1 below the profile, 0 ready.
The changes that move the grade most, in this order. Each step counts the places from the list below.
2 places, most of them in device/. Use crypto/mlkem GenerateKey1024 (Go 1.24+).
1 place. Raise the go line and any godebug default to 1.24 or later (go mod edit -go=1.24), or add godebug tlsmlkem=1 to go.mod.
Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.
X25519 from golang.org/x/crypto/curve25519
Fix: Use crypto/mlkem GenerateKey1024 (Go 1.24+).
Not broken, but below the strength the profile asks for. Worth doing when the code is changed anyway.
go 1.23.1 in go.mod keeps the hybrid ML-KEM key exchange of crypto/tls off for programs built from this module (GODEBUG default tlsmlkem=0)
Fix: Raise the go line and any godebug default to 1.24 or later (go mod edit -go=1.24), or add godebug tlsmlkem=1 to go.mod.
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.