Skip to content

47-Day Certificates Are Coming. Are You Ready?

Act Now →

Post-Quantum Code Signing: Why Software Teams Must Prepare Now

Why Is PQC the Future

Post-quantum code signing means replacing RSA and ECDSA signatures with NIST-standardized quantum-resistant algorithms, primarily ML-DSA (FIPS 204) and SLH-DSA (FIPS 205), before large-scale quantum computers can retroactively forge trust in already-shipped software. The signing algorithms are finalized and production-ready today; broad verifier and platform support across operating systems and code-signing tools is still catching up, which is the actual bottleneck for most teams.

Critical distinction: ML-KEM (FIPS 203) and HQC are key encapsulation mechanisms for encryption and key exchange. They are not signature algorithms and cannot be used for code signing. Only ML-DSA (FIPS 204), SLH-DSA (FIPS 205), and the still-in-progress FN-DSA are relevant to signing software. Conflating the two categories is one of the most common mistakes in PQC migration planning.

Key Takeaways

  • ML-DSA and SLH-DSA are finalized NIST standards (August 2024) available for production use today; FN-DSA is still under evaluation and not yet a final standard, so treat it as roadmap, not current infrastructure.
  • The realistic constraint isn’t the signing algorithm itself, it’s verifier compatibility: a PQC-signed binary is only as useful as the operating systems, package managers, and toolchains that can actually validate that signature today.
  • Hybrid signing (applying both a classical and a post-quantum signature to the same artifact) is the practical migration pattern, since it preserves compatibility with verifiers that don’t yet understand PQC signatures while establishing quantum resistance for those that do.

Signature Algorithms: Standard Status vs. Production Readiness

AlgorithmStandard StatusSignature SizeVerifier/Tooling SupportUse for Code Signing Today?
ML-DSA (FIPS 204)Final, August 20242.4-4.8 KBSupported by CodeSign Secure v3.02, OpenSSL 3.x with provider support, select HSMs (e.g., nCipher nShield Connect)Yes, as a hybrid signature alongside RSA/ECDSA
SLH-DSA (FIPS 205)Final, August 20248-16 KBSimilar tooling support to ML-DSA; larger signatures limit use in bandwidth-constrained deploymentsYes, especially where long-term trust matters more than signature size
LMS (NIST SP 800-208)Final (stateful scheme)1-3 KBRequires HSM-based state tracking to prevent signature reuseYes, for firmware and embedded use cases with proper state management
FN-DSA (FALCON-based)Draft, not yet finalized0.6-1.3 KBLimited; expect tooling to lag the eventual final standardNot yet for production; track for future IoT/constrained-device use
ML-KEM (FIPS 203) / HQCFinal, August 2024 / March 2025N/A (key encapsulation, not signing)N/A for code signingNo, these are encryption/key-exchange mechanisms, not signature algorithms

Imagine a world where a single quantum computer could unlock every encrypted file, from bank transactions to government secrets, in minutes. As quantum computing advances, it threatens to break the cryptographic systems that secure our digital lives. While current quantum computers are not yet at this scale, their rapid development necessitates proactive measures.

To counter such quantum attacks, we require a new generation of encryption to safeguard our personal information. This is where Post-Quantum Cryptography (PQC) came into the picture. In 2025, PQC will serve as the foundation of future digital security, driven by industry advancements and directives.  

Through this blog, you will understand the need for PQC, addressing the quantum threat, standardized algorithms, real-world applications, and industry’s PQC adoption to remove all your doubts on why PQC is the future, providing a comprehensive understanding to prepare you for the coming cryptographic shift. 

Why do We Need PQC?

Our digital infrastructure depends on cryptographic systems like RSA and Elliptic Curve Cryptography (ECC) to secure everything from online transactions to software updates. These systems rely on mathematical problems—factoring large numbers or solving discrete logarithms—that are computationally infeasible for classical computers to crack. Quantum computers, however, operate differently from classical computers. While classical computers use bits (0 or 1), quantum computers use qubits, which can exist in multiple states simultaneously due to quantum superposition. Using qubits that can exist in multiple states simultaneously due to quantum superposition, they can solve certain problems exponentially faster than classical systems. 

The primary threat is Shor’s algorithm, developed by Peter Shor in 1994, which can factor large numbers and compute discrete logarithms in polynomial time on a quantum computer. This means the time it takes to solve the problem grows slowly relative to the increase in the size of the input, making even very large problems tractable. This capability could break a 2048-bit RSA key in minutes, a task that would take classical computers billions of years.  

Additionally, Grover’s algorithm accelerates brute-force attacks on symmetric cryptography, effectively halving key strength and necessitating longer keys for security. Both algorithms pose distinct but equally significant threats to the foundational security of our digital communications. Experts, including Gartner, warn that quantum computers will become capable of breaking most asymmetric cryptography by 2029. (Gartner Report

A quantum attack on U.S. financial systems could cause $2-3.3 trillion in indirect GDP losses, while a breach of Bitcoin’s encryption could lead to $3 trillion in losses (Hudson Institute Report). These risks show why PQC is not just a future consideration but an urgent priority for securing digital economies and national security. 

CBOM Secure

Gain complete visibility with continuous cryptographic discovery, automated inventory, and data-driven PQC remediation.

PQC Algorithms Standardization

To counter the quantum threat, the cryptographic community has been working tirelessly to develop PQC algorithms that resist both classical and quantum attacks. The National Institute of Standards and Technology (NIST) has spearheaded this effort, evaluating 82 algorithms from 25 countries since 2016. In August 2024, NIST finalized three PQC standards, marking a significant milestone (NIST Report): 

  • FIPS 203 (ML-KEM): Previously called CRYSTALS-Kyber, this standard supports general encryption and key encapsulation, offering compact keys and fast performance for secure data transmission. 
  • FIPS 204 (ML-DSA): Derived from CRYSTALS-Dilithium, it’s tailored for digital signatures, which is crucial for applications like code signing to ensure software authenticity. 
  • FIPS 205 (SLH-DSA): Built on SPHINCS+, this stateless hash-based signature scheme provides a simpler alternative for digital signatures. 

In March 2025, NIST added Hamming Quasi-Cyclic (HQC), a code-based algorithm, to its standards as a backup key encapsulation mechanism (NIST HQC Selection). HQC offers a different mathematical foundation compared to Kyber, providing cryptographic diversity and hence an alternative if any unforeseen vulnerabilities emerge in other lattice-based candidates. NIST is also evaluating 15 additional algorithms, with a draft standard for FN-DSA (based on FALCON) expected soon. These standards are ready for immediate adoption, and NIST urges organizations to begin transitioning now, as updating systems can take years. 

Beyond the U.S., the European Telecommunications Standards Institute (ETSI) is advancing quantum-safe standards, while the UK’s National Quantum Strategy emphasizes PQC adoption alongside Quantum Key Distribution (QKD) (Report). These regional efforts complement NIST’s work by ensuring global interoperability and developing a unified approach to PQC implementation. This global collaboration ensures PQC algorithms are rigorously checked and universally accepted, forming a solid foundation for a quantum-secure future. 

PQC Algorithms for Code Signing

Code signing uses digital signatures to verify software authenticity and integrity. As quantum computers threaten traditional signatures (RSA, ECDSA), PQC algorithms are essential to secure code signing. These algorithms, categorized as Lattice-Based (ML-DSA, FN-DSA) and Hash-Based (SLH-DSA, LMS), offer quantum resistance and align with CA/Browser Forum requirements for hardware-based key storage (HSM). Many tools, such as OpenSSL and various SPHINCS+ testkits, are readily available for developers to experiment with and integrate these new cryptographic standards. 

Lattice-Based Algorithms

Lattice-based algorithms rely on complex mathematical problems in high-dimensional lattices, believed to resist quantum attacks. Their efficiency makes them ideal for code signing in high-throughput environments like DevSecOps pipelines. 

  1. ML-DSA, derived from CRYSTALS-Dilithium, is NIST’s primary signature algorithm (FIPS 204). It offers fast signature generation and verification, with signature sizes of 2.4-4.8 KB, balancing security and performance. ML-DSA is a probabilistic signature scheme, meaning each signature on the same message will be different. ML-DSA integrates with tools like CodeSign Secure v3.02 and is compatible with HSMs like nCipher nShield Connect. Also, its moderate resource requirements make it suitable for enterprise workflows, though larger signatures may challenge constrained devices. 
  2. FN-DSA, based on FALCON, is under NIST evaluation for standardization in 2025. It produces smaller signatures (0.6-1.3 KB) than ML-DSA, which is ideal for resource-limited environments like IoT firmware signing. FN-DSA is a deterministic signature scheme, meaning the same message will always produce the same signature. However, FN-DSA’s complex key generation and slower verification make it less suited for high-volume code signing. FN-DSA’s potential inclusion in PKI systems ensures compliance with hardware key storage mandates, enhancing its future role in code signing

Hash-Based Algorithms

Hash-based algorithms rely on the security of one-way hash functions, offering simplicity and high security.  

  1. The Leighton-Micali Signature (LMS) algorithm, a stateful hash-based scheme (NIST SP 800-208), offers smaller signatures (1-3 KB) and faster verification than SLH-DSA, making it suitable for IoT or embedded device firmware. Its stateful nature requires secure state management to prevent signature reuse, which adds to operational complexity and necessitates reliance on HSMs to securely store private keys and track the number of remaining signatures. It is ideal for long-term security, as its hash-based approach resists quantum attacks, ensuring signed software remains trusted for decades 
  2. SLH-DSA, based on SPHINCS+ (FIPS 205), is a stateless hash-based scheme, eliminating the need to track signature states. This simplicity makes it attractive for open-source projects or firmware updates, where managing state is challenging. However, SLH-DSA’s large signatures (8-16 KB) and slower verification can strain resource-constrained systems.

Migration Approach: Hybrid Signing, HSM Readiness, and Rollback

Choosing an algorithm is the easy part. The harder part is deploying it without breaking verification for systems that don’t yet understand PQC signatures. The following decision points apply regardless of which algorithm a team selects.

Hybrid and Parallel Signing

Hybrid signing applies both a classical signature (RSA or ECDSA) and a post-quantum signature (typically ML-DSA) to the same artifact. Legacy verifiers that only check the classical signature continue to work unmodified; verifiers updated to check the PQC signature gain quantum resistance immediately. This is the practical migration path for most organizations, since it avoids a hard cutover that could break existing deployments still running older verification logic.

Verification Compatibility

Before deploying PQC signatures anywhere, confirm which verifiers in your actual deployment environment (OS package managers, update clients, container runtimes) can validate ML-DSA or SLH-DSA signatures today. Signing with a valid algorithm that no downstream verifier recognizes doesn’t add security; it adds an unused signature. This is why hybrid signing, not a full PQC-only cutover, is the current default recommendation.

HSM Readiness

Confirm your HSM vendor and firmware version explicitly support key generation and signing for the specific PQC algorithm you plan to use, not just PQC in general terms. LMS in particular requires the HSM to track signing state to prevent signature reuse, a capability not every HSM implements the same way. Test this in a non-production HSM instance before committing production signing keys to a new algorithm.

Testing and Rollback

Validate the full sign-then-verify cycle against every downstream verifier in a staging environment before signing production artifacts with a new PQC algorithm. Because hybrid signing preserves the classical signature, rollback in an emergency is straightforward: verifiers can continue trusting the classical signature alone while a PQC signing issue is resolved, provided the classical signature was never dropped in the first place.

Migration Checklist

  1. Confirm which PQC signature algorithms your HSM and signing platform actually support today, not on a vendor roadmap.
  2. Inventory which downstream verifiers in your deployment environment can validate PQC signatures now.
  3. Deploy hybrid (classical + PQC) signatures rather than a full cutover, unless every verifier is confirmed PQC-capable.
  4. Test the complete sign-verify cycle in staging before signing production releases.
  5. Confirm a rollback path exists that doesn’t depend on the new PQC signature being valid.

Enterprise Code-Signing Solution

Get One solution for all your software code-signing cryptographic needs with our code-signing solution.

PQC Adoption

Early adoption of PQC will offer strategic advantages, enabling organizations to maintain customer trust, comply with regulations, and lead in cybersecurity. Crucially, adopting PQC now also future-proofs digital certificates with long lifespans, such as TLS certificates, which might be issued today but remain valid for 5-10 years, ensuring they remain secure against future quantum threats. Industries like finance, healthcare, and telecom benefit from secure data exchange, whereas the tech industry is integrating PQC into their real-world applications to improve user security and safety. A few such instances include Google’s implementation of hybrid PQC in Chrome 116 (August 2023) for secure web browsing, or QuSecure establishing a quantum-resilient satellite link via Starlink in March 2023, securing data across orbits. 

Along with industry adoption, governments are also prioritizing PQC to protect critical infrastructure and national security. As per the National Security Memorandum (NSM-10), all the systems will need to be transitioned by the Federal Deadline: 2035, setting a clear timeline for federal agencies. The White House estimates that transitioning federal systems to PQC will cost $7.1 billion between 2025 and 2035. 

PQC Advisory Services

Gain post-quantum readiness with expert-led cryptographic assessment, migration strategy, and hands-on implementation aligned to NIST standards.

How Encryption Consulting Can Help?

Encryption Consulting’s CodeSign Secure v3.02 empowers organizations to transition to post-quantum cryptography (PQC) seamlessly, ensuring quantum-resistant code signing for software across platforms like Windows, Linux, and macOS. By integrating NIST-standardized algorithms like ML-DSA and LMS, CodeSign Secure enables developers to sign artifacts with quantum-safe signatures, protecting against future quantum threats.

CodeSign Secure’s client-side hashing and PKCS#11 wrapper enhance security and efficiency. Its scalability supports automated, policy-enforced signing, and it offers seamless integration with popular CI/CD tools like Jenkins, Bamboo, GitLab, and Azure DevOps. This helps organizations future-proof their software supply chains and achieve compliance by becoming quantum-ready. 

Complementing this, Encryption Consulting’s Advisory Services provide tailored guidance to prepare for PQC adoption, conducting cryptographic audits to identify quantum-vulnerable systems. These services include risk assessments, compliance strategies, and training for teams to implement hybrid cryptography and upgrade HSMs for PQC code signing.  

Frequently Asked Questions

Can ML-KEM be used to sign code?

No. ML-KEM (FIPS 203) is a key encapsulation mechanism for encryption and key exchange, not a signature algorithm. It has no signing operation. For code signing, the relevant NIST-standardized algorithms are ML-DSA (FIPS 204) and SLH-DSA (FIPS 205).

Is FN-DSA ready for production code signing today?

Not yet. FN-DSA, based on FALCON, remains a draft under NIST evaluation rather than a finalized standard. Production code signing today should use ML-DSA or SLH-DSA, both finalized in August 2024; treat FN-DSA as a future option to track, not a current deployment choice.

Should organizations switch directly to PQC-only signatures, or use hybrid signing?

Hybrid signing is the current practical default. It applies both a classical and a PQC signature to the same artifact, so verifiers that don’t yet understand PQC signatures keep working unmodified while PQC-aware verifiers gain quantum resistance immediately.

What happens if a downstream verifier can’t validate a PQC signature?

The PQC signature simply isn’t checked; it doesn’t cause a failure by itself, provided a compatible classical signature is also present (hybrid signing). This is exactly why verifier compatibility should be confirmed before deploying PQC signatures broadly, rather than assumed.

Conclusion

PQC is the future because it addresses the imminent quantum threat, backed by robust standards, government mandates, and industry innovation. With NIST’s finalized algorithms, PQC is already shaping our digital lives. Organizations and governments are not merely advised but are actively urged to begin their PQC migration strategies now to avoid significant security vulnerabilities and ensure the continued integrity and confidentiality of information in the quantum age. This transition also emphasizes the importance of crypto-agility, i.e., designing systems that can quickly and efficiently swap cryptographic algorithms as new threats emerge or better solutions become available. 

By integrating CodeSign Secure into your organization, you can adopt PQC-ready signatures to ensure safe, quantum-resistant code signing, protecting software across platforms while meeting regulatory requirements. We will help you and your organization with strategic guidance, from cryptographic audits to compliance roadmaps, ensuring a seamless PQC transition to protect your data and stay secure.