Repository navigation
APPSEC-2489 SONARJAVA-6939 Add CryptographicKeySizeConfiguration to appsec package - #528
Conversation
…ppsec package Extracts language-agnostic crypto key-size configuration logic into sonar-analyzer-commons so it can be reused by other language analyzers. Provides default minimum key sizes, a configurable parse/merge API, and EC curve name key-size extraction. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Code Review ✅ Approved 3 resolved / 3 findingsExtracts language-agnostic crypto key-size configuration logic into sonar-analyzer-commons for reuse across language analyzers. Resolved NumberFormatException on long digit runs in ✅ 3 resolved✅ Edge Case: extractEcKeySize throws NumberFormatException on long digit runs
✅ Bug: EC curve pattern is case-sensitive, unlike rest of the API
✅ Edge Case: EC prefix list omits c2pnb/c2onb X9.62 binary curves
Review coverageFunctional validation No results OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




Extracts language-agnostic crypto key-size configuration logic into sonar-analyzer-commons so it can be reused by other language analyzers. Provides default minimum key sizes, a configurable parse/merge API, and EC curve name key-size extraction.