QSC-LIB-0203 · CWE-1104
.NET target framework older than .NET 10 (no ML-KEM / ML-DSA)
Severity: MediumReadiness: Upgrade requiredQuantum threat: Shor
Summary
.NET 10 adds MLKem, MLDsa and SlhDsa. Older frameworks need Bouncy Castle (BouncyCastle.Cryptography) for PQC.
Why it matters
No native PQC path until the framework moves.
How to fix
Target net10.0 (LTS), or use BouncyCastle.Cryptography meanwhile.
- Update <TargetFramework> to net10.0.
- On Linux, make sure OpenSSL 3.5+ is present for the native PQC APIs.
Code samples
Illustrative: confirm against your runtime’s documentation before shipping.
<TargetFramework>net10.0</TargetFramework>