Current crypto APIs lack intent-based key creation, policy-driven algorithm selection
None of the six evaluated APIs provide intent-based key creation, policy-driven algorithm selection, or dedicated operations for algorithm transformation, preventing agile migration.
Security & privacy arXiv 11 Jun 2026 Measurement Prototype evidence
Published as “An Assessment Framework for Application-Level Cryptographic Agility”
Why it matters
Organizations cannot rely on existing cryptographic APIs to perform post-quantum migrations without substantial code changes, making the transition a major software-engineering effort.
Summary
The evaluation of six widely used cryptographic APIs against a new seven-dimensional assessment framework finds three pervasive gaps: no API supports intent-based key creation, none provides policy-driven algorithm selection, and none offers a dedicated operation to transform existing keys to a new algorithm. The evidence comes from a systematic scoring of PKCS#11, OpenSSL 3.0, JCA, Google Tink, AWS KMS, and HashiCorp Vault Transit, showing that even the most decoupled system (Tink) still lacks creation-time agility. The claim is well supported by the authors’ own analysis, though it is limited to these six APIs and the framework’s own dimension definitions.
What they found 3
- No API supports intent-based key creation
“no system supports intent-based key creation”
- No API provides policy-driven algorithm selection
“none provides policydriven algorithm selection (as distinct from access control)”
- No API offers dedicated algorithm-transformation operations
“none offers dedicated/first-class operations for algorithm transformation of existing keys”
Caveats 3
- Tink achieves full operation decoupling (C1.4) yet still lacks intent-based key creation, showing that high decoupling does not guarantee the other agility dimensions.
- Construct validity. The framework’s seven dimensions were derived from analysis of deployed systems rather than from formal specification.
- External validity. We chose six systems spanning the three API generations and diverse architectural paradigms (hardware abstraction, cryptographic libraries, language frameworks, opinionated toolkits, and managed services) for evaluation. Broader coverage may reveal additional patterns.
What’s new here 4
- Introduces a component-based assessment framework that breaks cryptographic agility into seven orthogonal dimensions rather than a single maturity score.
- Provides a non-linear profiling method that can capture mixed agility characteristics across operation, creation, provider, decoupling, governance, and migration dimensions.
- Systematically evaluates six real-world APIs and uncovers three independent gaps that prior maturity models did not isolate.
- Derives concrete design requirements to close the identified gaps, linking the framework to actionable API design patterns.