-
Bug
-
Resolution: Fixed
-
P3
-
7, 8, 9
-
b101
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8214674 | 8u211 | Paul Hohensee | P3 | Resolved | Fixed | b01 |
JDK-8212768 | 8u202 | Paul Hohensee | P3 | Resolved | Fixed | b02 |
JDK-8221020 | emb-8u211 | Paul Hohensee | P3 | Resolved | Fixed | master |
Test case : sun/security/pkcs11/rsa/TestKeyPairGenerator.java
Exception:
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ARGUMENTS_BAD
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:378)
Description:
Solaris environment that got the changes to disallow exponent value 3 for RSA, based on security guidance. Java test to be updated to associate the changes.
Sample Code:
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", provider);
kpg.initialize(new RSAKeyGenParameterSpec(len, exp)); // len=512 & exp=BigInteger.valueOf(3)
Exception:
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_ARGUMENTS_BAD
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:378)
Description:
Solaris environment that got the changes to disallow exponent value 3 for RSA, based on security guidance. Java test to be updated to associate the changes.
Sample Code:
KeyPairGenerator kpg = KeyPairGenerator.getInstance("RSA", provider);
kpg.initialize(new RSAKeyGenParameterSpec(len, exp)); // len=512 & exp=BigInteger.valueOf(3)
- backported by
-
JDK-8212768 TestKeyPairGenerator.java fails on Solaris because private exponent needs to comply with FIPS 186-4
-
- Resolved
-
-
JDK-8214674 TestKeyPairGenerator.java fails on Solaris because private exponent needs to comply with FIPS 186-4
-
- Resolved
-
-
JDK-8221020 TestKeyPairGenerator.java fails on Solaris because private exponent needs to comply with FIPS 186-4
-
- Resolved
-