Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8180392 SunJCE provider should throw exceptions for unsupported mode and padding combinations
  3. JDK-8229043

Release Note: SunJCE Provider Throws NoSuchAlgorithmException for AES/GCM/PKCS5Padding

    XMLWordPrintable

    Details

      Description

      Prior to this release, the SunJCE provider incorrectly returned a `Cipher` instance for the "AES/GCM/NoPadding" transformation when a caller requested "AES/GCM/PKCS5Padding". The SunJCE provider now throws `NoSuchAlgorithmException` when "AES/GCM/PKCS5Padding" is requested. If you are impacted by this issue, the workaround is to use "AES/GCM/NoPadding" instead.

        Attachments

          Activity

            People

            Assignee:
            valeriep Valerie Peng
            Reporter:
            valeriep Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: