Bug 1699068
Summary: | Elliptic Curve secp256k1 is missing in java-11-openjdk-11.0.1.13-3.el7_6.x86_64 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | pbarate |
Component: | java-11-openjdk | Assignee: | Andrew John Hughes <ahughes> |
Status: | CLOSED ERRATA | QA Contact: | OpenJDK QA <java-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.6 | CC: | ahughes, dbhole, jvanek, zzambers |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | java-11-openjdk-11.0.5.2-0.2.ea.el7 | Doc Type: | Enhancement |
Doc Text: |
.OpenJDK now also supports secp256k1
Previously, Open Java Development Kit (OpenJDK) could only use curves from the NSS library. Consequently, OpenJDK provided only the secp256r1, secp384r1, and secp521r1 curves for elliptic curve cryptography (ECC). With this update, OpenJDK uses the internal ECC implementation and also supports the secp256k1 curve.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-31 19:57:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1656677 | ||
Bug Blocks: | 1725255 |
Description
pbarate
2019-04-11 17:01:06 UTC
Deferring to 7.8 as this will need time for a crypto & PELC review. Tested by https://github.com/judovana/CryptoTest/ Manual check for given explicit curve will be necessary With the revised removal patch (IcedTea PR3751), which retains ssecp256k1: $ /mnt/builder/shenandoah.11/images/jdk/bin/java Curves [[secp256k1,1.3.132.0.10], [secp256r1,NIST P-256,X9.62 prime256v1,1.2.840.10045.3.1.7], [secp384r1,NIST P-384,1.3.132.0.34], [secp521r1,NIST P-521,1.3.132.0.35]] $ /mnt/builder/shenandoah.11/images/jdk/bin/java ECKeyPair Sun EC public key, 256 bits public x coord: 79523231440252223545206576613674799022307975635301802899245219154254251779667 public y coord: 73467828469929858295500430696061047515425097562480352925430311428120235169575 parameters: secp256k1 (1.3.132.0.10) $ ./usr/lib/jvm/java-11-openjdk-11.0.5.2-0.2.ea.el7.x86_64/bin/java -version openjdk version "11.0.5-ea" 2019-10-15 LTS OpenJDK Runtime Environment 18.9 (build 11.0.5-ea+2-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.5-ea+2-LTS, mixed mode) $ ./usr/lib/jvm/java-11-openjdk-11.0.5.2-0.2.ea.el7.x86_64/bin/java Curves [[secp256k1,1.3.132.0.10], [secp256r1,NIST P-256,X9.62 prime256v1,1.2.840.10045.3.1.7], [secp384r1,NIST P-384,1.3.132.0.34], [secp521r1,NIST P-521,1.3.132.0.35]] $ ./usr/lib/jvm/java-11-openjdk-11.0.5.2-0.2.ea.el7.x86_64/bin/java ECKeyPair Sun EC public key, 256 bits public x coord: 38540685351311776496837147664686496462553578459953286438120003757034125588588 public y coord: 749815700193903859740125736338725457550786883309687499594725670082022165421 parameters: secp256k1 (1.3.132.0.10) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1088 |