Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-6465

Investigate the impact of curve aliases changing in BC v1.59

    Details

    • 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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                realiserad Bastian Fredriksson
                Reporter:
                realiserad Bastian Fredriksson
                Verified by:
                Mike Agrenius Kushner
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 3 hours Remaining Estimate - 1 hour
                  3h