openjdk8-jre-base on 3.5 missing libsunec.so, results in Elliptic Curve errors due to no EC support
The openjdk8-jre-base package on 3.4 and 3.3 contain the EC library libsunec.so, but this library is missing from 3.5’s openjdk8-jre-base package: https://pkgs.alpinelinux.org/contents?file=libsunec.so&path=&name=&branch=&repo=&arch=x86\_64
As a result, elliptic curve cryptography is unavailable out-of-the-box in Alpine Linux 3.5’s openjdk8 (here’s the source for the SunEC provider that looks for the sunec library: https://github.com/dmlloyd/openjdk/blob/jdk8u/jdk8u/jdk/src/share/classes/sun/security/ec/SunEC.java\#L49).
(from redmine: issue id 6809, created on 2017-02-03, closed on 2017-04-07)
- Relations:
- relates #6704 (closed)
- Changesets:
- Revision 51235b6d by Timo Teräs on 2017-02-06T12:57:18Z:
community/openjdk8: security upgrade to 3.3.0 (java 8 u121)
enable sunec (ref #6809)
S8138725: Add options for Javadoc generation
S8140353: Improve signature checking
S8151934, CVE-2017-3231: Resolve class resolution
S8156804, CVE-2017-3241: Better constraint checking
S8158406: Limited Parameter Processing
S8158997: JNDI Protocols Switch
S8159507: RuntimeVisibleAnnotation validation
S8161218: Better bytecode loading
S8161743, CVE-2017-3252: Provide proper login context
S8162577: Standardize logging levels
S8162973: Better component components
S8164143, CVE-2017-3260: Improve components for menu items
S8164147, CVE-2017-3261: Improve streaming socket output
S8165071, CVE-2016-2183: Expand TLS support
S8165344, CVE-2017-3272: Update concurrency support
S8166988, CVE-2017-3253: Improve image processing performance
S8167104, CVE-2017-3289: Additional class construction refinements
S8167223, CVE-2016-5552: URL handling improvements
S8168705, CVE-2016-5547: Better ObjectIdentifier validation
S8168714, CVE-2016-5546: Tighten ECDSA validation
S8168728, CVE-2016-5548: DSA signing improvments
S8168724, CVE-2016-5549: ECDSA signing improvments
- Revision e0446339 by Timo Teräs on 2017-02-09T08:26:47Z:
community/openjdk8: security upgrade to 3.3.0 (java 8 u121)
enable sunec (ref #6809)
S8138725: Add options for Javadoc generation
S8140353: Improve signature checking
S8151934, CVE-2017-3231: Resolve class resolution
S8156804, CVE-2017-3241: Better constraint checking
S8158406: Limited Parameter Processing
S8158997: JNDI Protocols Switch
S8159507: RuntimeVisibleAnnotation validation
S8161218: Better bytecode loading
S8161743, CVE-2017-3252: Provide proper login context
S8162577: Standardize logging levels
S8162973: Better component components
S8164143, CVE-2017-3260: Improve components for menu items
S8164147, CVE-2017-3261: Improve streaming socket output
S8165071, CVE-2016-2183: Expand TLS support
S8165344, CVE-2017-3272: Update concurrency support
S8166988, CVE-2017-3253: Improve image processing performance
S8167104, CVE-2017-3289: Additional class construction refinements
S8167223, CVE-2016-5552: URL handling improvements
S8168705, CVE-2016-5547: Better ObjectIdentifier validation
S8168714, CVE-2016-5546: Tighten ECDSA validation
S8168728, CVE-2016-5548: DSA signing improvments
S8168724, CVE-2016-5549: ECDSA signing improvments
(cherry picked from commit 51235b6d75fcf6e3cea97c71c2f89d79fb0f7d48)