-
Bug
-
Resolution: Fixed
-
P4
-
6, 6u45, 8, 9
-
b28
The test fails in non solaris platforms too.
[2013-09-14T09:39:09.39] + C:/Users/aurora/sandbox/jdk/bin/java -DNSS_LIB_DIR=C:/Users/aurora/sandbox/testbase/tools/lib/nss/WINNT -server -Djava.security.manager -Duser.timezone=PST -Djava.security.policy=C:/Users/aurora/sandbox/results/ResultDir/KeyFactory/./policy.txt TestKeyFactory ecprovider.cfg
[2013-09-14T09:39:09.39] Exception in thread "main" java.security.spec.InvalidKeySpecException: Could not parse key
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.implGetPublicKeySpec(P11ECKeyFactory.java:299)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11KeyFactory.engineGetKeySpec(P11KeyFactory.java:94)
[2013-09-14T09:39:09.39] at java.security.KeyFactory.getKeySpec(KeyFactory.java:413)
[2013-09-14T09:39:09.39] at TestKeyFactory.testPublic(TestKeyFactory.java:57)
[2013-09-14T09:39:09.39] at TestKeyFactory.test(TestKeyFactory.java:91)
[2013-09-14T09:39:09.39] at TestKeyFactory.main(TestKeyFactory.java:126)
[2013-09-14T09:39:09.39] Caused by: java.io.IOException: Point does not match field size
[2013-09-14T09:39:09.39] at sun.security.util.ECUtil.decodePoint(ECUtil.java:54)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.decodePoint(P11ECKeyFactory.java:89)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.implGetPublicKeySpec(P11ECKeyFactory.java:296)
[2013-09-14T09:39:09.39] ... 5 more
related issues :: INTJDK-7606293
[2013-09-14T09:39:09.39] + C:/Users/aurora/sandbox/jdk/bin/java -DNSS_LIB_DIR=C:/Users/aurora/sandbox/testbase/tools/lib/nss/WINNT -server -Djava.security.manager -Duser.timezone=PST -Djava.security.policy=C:/Users/aurora/sandbox/results/ResultDir/KeyFactory/./policy.txt TestKeyFactory ecprovider.cfg
[2013-09-14T09:39:09.39] Exception in thread "main" java.security.spec.InvalidKeySpecException: Could not parse key
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.implGetPublicKeySpec(P11ECKeyFactory.java:299)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11KeyFactory.engineGetKeySpec(P11KeyFactory.java:94)
[2013-09-14T09:39:09.39] at java.security.KeyFactory.getKeySpec(KeyFactory.java:413)
[2013-09-14T09:39:09.39] at TestKeyFactory.testPublic(TestKeyFactory.java:57)
[2013-09-14T09:39:09.39] at TestKeyFactory.test(TestKeyFactory.java:91)
[2013-09-14T09:39:09.39] at TestKeyFactory.main(TestKeyFactory.java:126)
[2013-09-14T09:39:09.39] Caused by: java.io.IOException: Point does not match field size
[2013-09-14T09:39:09.39] at sun.security.util.ECUtil.decodePoint(ECUtil.java:54)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.decodePoint(P11ECKeyFactory.java:89)
[2013-09-14T09:39:09.39] at sun.security.pkcs11.P11ECKeyFactory.implGetPublicKeySpec(P11ECKeyFactory.java:296)
[2013-09-14T09:39:09.39] ... 5 more
related issues :: INTJDK-7606293
- duplicates
-
JDK-8006625 ECParameters, Point does not match field size
- Closed
- relates to
-
JDK-7099228 Use a PKCS11 config attribute to control encoding of an EC point
- Resolved
-
JDK-8154821 Update issue number for sun/security/pkcs11/ec/TestKeyFactory.java in ProblemList
- Resolved
- links to
-
Commit openjdk/jdk/55f5542c
-
Review openjdk/jdk/1568
-
Review(master) openjdk/jdk11u-dev/2958
(1 links to)