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

NoSuchAlgorithmException: Unsupported secret key algorithm: DES

    Details

      Description

      After upgrading to JDK 1.8.0_172-ea-b03 the application started to fail with the error message:
      "Failed to decrypt authorization content java.security.NoSuchAlgorithmException: Unsupported secret key algorithm: DES"

      This is actually expected, and the details of this change in behavior can be seen in the Release Notes of JDK 8u161
      http://www.oracle.com/technetwork/java/javase/8u161-relnotes-4021379.html

      As cited in the Release Notes, a temporary workaround may be to use the flag -Djdk.crypto.KeyAgreement.legacyKDF=true
      However, as also cited int the Release Notes, setting this system property is not recommended.

        Attachments

          Activity

            People

            • Assignee:
              igerasim Ivan Gerasimov
              Reporter:
              shadowbug Shadow Bug
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: