-
Sub-task
-
Resolution: Delivered
-
P3
-
7u321, 8u241, 8u251
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8242047 | 8u241 | Clifford Wayne | P3 | Resolved | Delivered | |
JDK-8269171 | 7u321 | Kiran Sidhartha Ravikumar | P3 | Resolved | Delivered |
Oracle JDK 8u231 has upgraded the Apache Santuario libraries to v2.1.3. This upgrade introduced an issue in which XML signatures using Base64 encoding appended `
` or `
` to the encoded output. This behavioral change was made in the Apache Santuario codebase to comply with RFC 2045. The Santuario team has adopted a position of keeping their libraries compliant with RFC 2045.
Oracle JDK 8u221 using the legacy encoder returns encoded data in a format without `
` or `
`.
Therefore an Oracle specific JDK 8 Update of a new system property `com.sun.org.apache.xml.internal.security.lineFeedOnly` has been made available to fall back to legacy Base64 encoded format.
Users can set this flag in one of two ways:
1. `-Dcom.sun.org.apache.xml.internal.security.lineFeedOnly=true`
2. `System.setProperty("com.sun.org.apache.xml.internal.security.lineFeedOnly", "true")`
This new system property is disabled by default. It has no effect on default behavior or when the `com.sun.org.apache.xml.internal.security.ignoreLineBreaks` property is set.
Later JDK family versions will only support the recommended property: `com.sun.org.apache.xml.internal.security.ignoreLineBreaks`
Oracle JDK 8u221 using the legacy encoder returns encoded data in a format without `
` or `
`.
Therefore an Oracle specific JDK 8 Update of a new system property `com.sun.org.apache.xml.internal.security.lineFeedOnly` has been made available to fall back to legacy Base64 encoded format.
Users can set this flag in one of two ways:
1. `-Dcom.sun.org.apache.xml.internal.security.lineFeedOnly=true`
2. `System.setProperty("com.sun.org.apache.xml.internal.security.lineFeedOnly", "true")`
This new system property is disabled by default. It has no effect on default behavior or when the `com.sun.org.apache.xml.internal.security.ignoreLineBreaks` property is set.
Later JDK family versions will only support the recommended property: `com.sun.org.apache.xml.internal.security.ignoreLineBreaks`
- backported by
-
JDK-8242047 Release Note: Oracle Specific JDK Update of System Property to Fall Back to Legacy Base64 Encoding Format
-
- Resolved
-
-
JDK-8269171 Release Note: Oracle Specific JDK Update of System Property to Fall Back to Legacy Base64 Encoding Format
-
- Resolved
-