Testing Cross-Library Compatibility of RSA Keys

RSA keys are widely utilized in certificate generation processes, underscoring the critical importance of ensuring cross-library compatibility for these keys during certificate validation. To address this challenge, we propose a three-stage certificate-generation-oriented framework designed to rigorously evaluate the interoperability of RSA keys across diverse cryptographic libraries. First, RSA keys adhering to varying specifications, bit lengths, prime configurations are generated by cryptographic libraries automatically. Second, the generated RSA keys are loaded into programs implemented across different libraries, which then attempt to construct certificates. During this phase, exceptions arising from key loading and certificate generation processes are captured. The captured exceptions are analyzed to refine the testing process. Finally, the cross-library compatibility is conclusively established if there is no further refinement. We conducted extensive experiments, yielding actionable insights into both compatible and incompatible RSA keys scenarios. Our findings highlight critical interoperability gaps and provides a foundational dataset for developing more robust cryptographic libraries.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/cisce65916.2025.11065362
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Testing Cross-Library Compatibility of RSA Keys

Chu Chen, Pinghong Ren
Security and Verification in Computing
article

Testing Cross-Library Compatibility of RSA Keys

Chu Chen, Pinghong Ren
article en

Abstract

RSA keys are widely utilized in certificate generation processes, underscoring the critical importance of ensuring cross-library compatibility for these keys during certificate validation. To address this challenge, we propose a three-stage certificate-generation-oriented framework designed to rigorously evaluate the interoperability of RSA keys across diverse cryptographic libraries. First, RSA keys adhering to varying specifications, bit lengths, prime configurations are generated by cryptographic libraries automatically. Second, the generated RSA keys are loaded into programs implemented across different libraries, which then attempt to construct certificates. During this phase, exceptions arising from key loading and certificate generation processes are captured. The captured exceptions are analyzed to refine the testing process. Finally, the cross-library compatibility is conclusively established if there is no further refinement. We conducted extensive experiments, yielding actionable insights into both compatible and incompatible RSA keys scenarios. Our findings highlight critical interoperability gaps and provides a foundational dataset for developing more robust cryptographic libraries.

Qufu Normal University (CN)
Openalex Percentile: Top 92%
Security and Verification in Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.