JDK-8253637 : Update EC removal
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • CPU: aarch64
  • Submitted: 2020-09-25
  • Updated: 2020-10-05
  • Resolved: 2020-09-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b18Fixed
Related Reports
Relates :  
Sub Tasks
JDK-8253659 :  
Description
sun/security/ec/TestEC.java

java.security.InvalidAlgorithmParameterException: Curve not supported: secp192r1 [NIST P-192,X9.62 prime192v1] (1.2.840.10045.3.1.1)
	at jdk.crypto.ec/sun.security.ec.ECKeyPairGenerator.ensureCurveIsSupported(ECKeyPairGenerator.java:135)
	at jdk.crypto.ec/sun.security.ec.ECKeyPairGenerator.initialize(ECKeyPairGenerator.java:113)
	at java.base/java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:692)
	at java.base/java.security.KeyPairGenerator.initialize(KeyPairGenerator.java:436)
	at TestECGenSpec.main(TestECGenSpec.java:93)
	at TestEC.main0(TestEC.java:110)
	at TestEC.main(TestEC.java:80)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:832)
Comments
Changeset: fb206908 Author: Anthony Scarpino <ascarpino@openjdk.org> Date: 2020-09-29 18:05:20 +0000 URL: https://git.openjdk.java.net/jdk/commit/fb206908
29-09-2020

Change setting test setting that forced removed algorithms from trying to run Added a missed changeset that didn't make it to the personal fork that cleaned up an exception message that would have affected an infrastructure test
25-09-2020

This failure has shown up in jdk-16+18-829-tier2 thru jdk-16+18-837-tier2 which is every Tier2 job set since "JDK-8235710 Remove the legacy elliptic curves" was integrated. This test needs to ProblemListed on linux-aarch64.
25-09-2020

Bumping from P4 -> P3 since this is a Tier2 failure.
25-09-2020

It appears to be a local test machine configuration. If it is unable to find NSS, the underlying classes return a config that has the removed curves availabled. This didn't show up on linux mach5 testing, so it's an intermittent problem. The bug says aarch64, could be limited to them or could be others with similar OS setups
25-09-2020