Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EJBCA 6.11.1
-
Fix Version/s: EJBCA 6.12.0
-
Component/s: None
-
Labels:
-
Issue discovered during:Another issue
-
Sprint:EJBCA Happy Fun Sprint (6)
Description
Return values from ECNamedCurveTable.getName in BC v1.59 differs from BC v1.58. The curve names for brainpool has changed to match to RFC.
See https://github.com/bcgit/bc-java/commit/7b80878e290bf7ecfa7289098df283b78166facd
This has caused at least two bugs so far.
This ticket aims to investigate the impact of these changes and identify problematic code.
To investigate
- All code using AlgorithmTools.getNamedEcCurvesMap
- All code using AlgorithmTools.getEcKeySpecOidFromBcName
- All direct invocations to ECNamedCurveTable.getNames
- All direct invocations to ECNamedCurveTable.getParameterSpec
- All code using certificateProfile.getAvailableEcCurvesAsList (ignored, but should store OIDs instead)
To implement
- Additional test cases in AlgorithmToolsTest (trunk only)
- Fix any issues detected (both EJBCA 6.11.x and trunk)
Potential problems detected
Null pointer exception in EnrollMakeNewRequestBean.getAvailableAlgorithmSelectItems (see
ECA-6467)
Null pointer exception in EnrollWithRequestIdBean.getAvailableAlgorithmSelectItems (see
ECA-6467)