Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8217878 ENVELOPING XML signature no longer works
  3. JDK-8264194

Release Note: com.sun.org.apache.xml.internal.security.ignoreLineBreaks System Property

    XMLWordPrintable

Details

    Backports

      Description

        An Apache Santuario library version upgrade, used by the javax.xml.crypto.* packages, introduces a behavioral change where a new Base64 encoder uses "\r\n" as end-of-line terminator. By default, XML signatures signed using API calls form the javax.xml.crypto.dsig package includes the escaped '\r' character, encoded as "
" or "
".

        A new `com.sun.org.apache.xml.internal.security.ignoreLineBreaks` system property may be set to a value of "true" if an application is unable to handle the encoded output data changes where "
" or "
" get appended to new lines in encoding operations. The effect of this property is to not include the carriage return character in base64-encoded fields in XML signature generated by calls to the javax.xml.crypto.* packages.

        Additional information can be found at https://issues.apache.org/jira/browse/SANTUARIO-482.

        Attachments

          Issue Links

            Activity

              People

                cwayne Clifford Wayne (Inactive)
                kravikumar Kiran Sidhartha Ravikumar (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: