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

Stricter checking for cipher transformations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 21
    • security-libs
    • None

        The javadoc of javax.crypto.Cipher class specifies:

        A transformation is of the form:
        "algorithm/mode/padding" or
        "algorithm"
        (in the latter case, provider-specific default values for the mode and padding scheme are used).

        Thus, we should reject transformations in "algorithm/mode/padding" syntax with empty mode and/or padding.

              valeriep Valerie Peng
              valeriep Valerie Peng
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: