Manuscript Offprint

arXiv:2610.38054

Understanding Post-Quantum Cryptography Adoption: Practices, Challenges, and Evolution in Open-Source Software

Souhardya Saha Dip, Moshood A. Fakorede, Krishna Upadhyay, Umar Farooq

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Souhardya Saha Dip ∗^{*}, Moshood A. Fakorede ∗^{*}, Krishna Upadhyay, Umar Farooq

Louisiana State University, Baton Rouge, Louisiana

{ssahad1, mfakor1, kupadh4, ufarooq}@lsu.edu

Abstract—Post-quantum cryptography (PQC) standards establish algorithms for quantum-safe systems, but empirical evidence about how software projects implement and maintain PQC support remains limited. We investigate this implementation and maintenance work by mining 114,361 commits and 5,713 issues across 179 open-source repositories. We use human annotation and validated LLM classification to identify PQC algorithms in commits, classify their adoption status and deployment mode, and identify technical challenges in issue discussions. The commit classification for PQC algorithms reveals that 90% of commits concern maintenance of existing support. From the issue discussions, we construct an 11-category taxonomy of recurring technical challenges. Build, packaging, and dependency failures, along with functional defects, account for approximately half of categorized issues. To examine how PQC support evolves, we use time-series analysis and first implementations of individual algorithms within repositories around NIST standardization milestones. After the 2024 finalization, standardized algorithm names appeared in more than 80% of the PQC development changes analyzed, although earlier names such as Kyber continued to appear. Development activity increased over the observation period. Our milestone analysis, however, did not find a significant increase in first implementations. Migration plans should therefore account for sustained maintenance, prioritize build reliability and integration testing, and track both standardized and predecessor algorithm names. We make the dataset, taxonomy, annotations, and analysis pipeline publicly available.

Index Terms—post-quantum cryptography, mining software repositories, empirical software engineering, cryptographic migration

I. INTRODUCTION

Post-quantum cryptography (PQC), i.e., quantum-resistant cryptography, comprises algorithms designed to withstand attacks by classical and quantum computers [1]. A sufficiently large quantum computer would compromise widely used public-key algorithms that protect TLS, code signing, software updates, and VPNs [2]. To prepare for this transition, the U.S. National Institute of Standards and Technology (NIST) conducted a multi-round standardization process [1] and finalized ML-KEM, ML-DSA, and SLH-DSA in August 2024 [3], and selected HQC for standardization in March 2025 [4]. Migration must begin before cryptographically relevant quantum computers become available because adversaries can retain encrypted traffic for later decryption, while replacing cryptography across software ecosystems takes years [5], [6].

For software developers, adopting these algorithms involves implementation, integration, and continued maintenance. Projects need to make PQC code work with existing protocols, dependencies, build systems, and platforms. They may support PQC algorithms independently or combine them with classical algorithms in hybrid modes. Developers must also track changes between candidate algorithms and their standardized successors. For example, ML-KEM is based on CRYSTALS-Kyber [3]. Understanding adoption therefore requires evidence about how projects introduce support, maintain it, and respond to technical problems over time.

Prior empirical studies measure PQC readiness, support, and deployment through binary analysis of applications [7], network measurements of negotiated post-quantum protocols [8], [9], and static analysis of PQC API usage in Python, Java, and Go repositories [10]. Industry reports from Meta, Apple, AWS, Chromium, and Microsoft describe performance, interoperability, dependency, and rollout constraints in their systems [11]–[16]. Migration reviews organize reported transition processes and challenges [17].

Our contribution is a cross-project characterization of PQC implementation, maintenance, recurring technical challenges, and evolution. We mine 114,361 commits and 5,713 issues across 179 public GitHub repositories (Fig. 1). The corpus includes PQC-focused projects and general-purpose systems such as OpenSSL [18] and Bouncy Castle [19]. Commit patches, changed paths, and linked merged pull requests distinguish new implementations from changes to existing support. Issue text, comments, and available resolving pull requests document technical problems. Human annotation are used to establish reference labels and the technical-challenge taxonomy. LLM classifiers validated against held-out human labels classify the remaining selected records.

We classify each affected PQC algorithm separately within a commit to characterize observed source-level support. Adoption-status labels distinguish implementation and maintenance from discussion, planning, deprecation or removal, and rejection or reversion. Deployment-mode labels record whether the source evidence indicates pure PQC, a hybrid construction combining PQC and classical algorithms, or both configurations. We count implementation and maintenance as adoption evidence. Temporal analysis separates continued development from the first implementation of each algorithm within a repository around NIST milestones.

We address three research questions about adding PQC support, maintaining it, and tracking its development:

• Evidence about supported algorithms and their config-

∗^{*}These authors contributed equally to this work.

Figure

Fig. 1. Study design: Commits (top) and issues (bottom) follow the same validated LLM classification protocol, from human reference labels through model validation to corpus labelling. RQ1 and RQ3 analyze commits, and RQ2 analyzes issues (record counts reported at each step).

urations helps projects assess PQC integration options. RQ1. Which PQC algorithms appear in open-source development, and what are their adoption statuses and deployment modes?

  • Problems that recur while projects establish and maintain this support can inform maintenance and testing priorities. RQ2. What recurring technical challenges do developers report when implementing, integrating, and migrating to PQC?

  • Tracking development activity separately from each algorithm's first working implementation within a repository helps assess how standardization aligns with the expansion of support. RQ3. How do PQC development activity and first algorithm implementations within repositories change around NIST standardization milestones?

Key Findings. Across the studied repositories, developers continue to modify PQC support after its initial implementation. Maintenance accounts for 90.6% of the algorithm-specific adoption-status labels, compared with 3.8% for new implementations. This activity spans pure-PQC and hybrid configurations, with ML-KEM and ML-DSA supported by the most repositories. In issue discussions, developers most often report build, packaging, and dependency failures and functional defects. Together, these categories account for 49.8% of the 1,267 issues categorized in our 11-category taxonomy. They recur across the most projects and retain the largest shares when macro-averaged across repositories. Integration challenges occur less often but have a longer estimated median time to recorded closure than build failures in an unadjusted comparison. After NIST finalized the first standards in 2024, standardized algorithm names dominate recorded activity, while predecessor names such as Kyber persist. The baseline analysis associates the 2024 finalization with increased implementation and maintenance activity, although the estimate is sensitive to timing, exposure, and autocorrelation treatment. When we count each algorithm's first working implementation within a repository, we find no statistically distinguishable increase in first-implementation rates at the milestones. The maintenance results and challenge taxonomy support migration plans that budget for maintenance after initial implementation and prioritize build reliability and integration testing. Since predecessor names persist, cryptographic

inventories should record both predecessor and standardized algorithm names while preserving their versions.

To support further research, we provide analyzed records, codebooks, human annotations, classifier prompts and outputs, and supporting code in the replication package [20].

References (60)