Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8172869

4096 is not supported yet for the DH Parameter Generator

    Details

    • Subcomponent:
    • Resolved In Build:
      b155
    • Verification:
      Not verified

      Backports

        Description

        AlgorithmParameterGenerator apg =
                          AlgorithmParameterGenerator.getInstance("DiffieHellman");
                apg.init(4096);

        breaks for 4096 key length with following exception

        java.security.InvalidParameterException: DH key size must be multiple of 64 and range from 512 to 1024 (inclusive), or 2048, 3072. The specific key size 4096 is not supported

        spec mandates that every implementation of AlgorithmParameterGenerator should support "DiffieHellman" with 4096 keylength

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xuelei Xue-Lei Fan
                  Reporter:
                  bnallakaluva Bharath Nallakaluva
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: