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

Remove randomness from ISO10126Padding

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      The JCA Standards Names documentation refer to W3C XML Encryption Standard 5.2 which does not mandate or suggest to use random padding. It allows any value. So a possible optimization would be to not use random bytes. If you think random bytes (and therefore non deterministic padding) is a desireable property I would suggest to actually document it in the SunJCE documentation, ex: "This implements padding as defined by the JCA Standard Names using random padding bytes."

        Issue Links

          Activity

          Hide
          mullan Sean Mullan added a comment -
          This issue was originally part of JDK-8158517 and suggested by Bernd E. on security-dev@openjdk.java.net.
          Show
          mullan Sean Mullan added a comment - This issue was originally part of JDK-8158517 and suggested by Bernd E. on security-dev@openjdk.java.net .

            People

            • Assignee:
              Unassigned
              Reporter:
              apetcher Adam Petcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: