RFR: 8129560- CKR_ARGUMENTS_BAD - private exponent needs to comply with FIPS 186-4

Anthony Scarpino anthony.scarpino at oracle.com
Fri Dec 18 22:03:34 UTC 2015


The problems are different. The PKCS11 error means everything in this case. 

Tony

> On Dec 18, 2015, at 12:20 PM, Sean Mullan <sean.mullan at oracle.com> wrote:
> 
> The fix looks good, although this test is already on the ProblemList due to JDK-8074580. Do you know if that bug is caused by the same issue? The underlying PKCS11 error is different (maybe due to a different Solaris version?), but it looks like an identical stack trace. It would be good to also remove it from the ProblemList and close the other bug if it is a duplicate issue.
> 
> --Sean
> 
>> On 12/18/2015 12:41 AM, Bhanu Gopularam wrote:
>> Hi all,
>> 
>> Please review a fix for following bug:
>> 
>> Bug Id - https://bugs.openjdk.java.net/browse/JDK-8129560
>> 
>> Issue – Test sun/security/pkcs11/rsa/TestKeyPairGenerator.java is
>> failing because RSAKeyGenParameterSpec
>> 
>> public exponent is not accordance with FIPS 186-4 guidance
>> 
>> Solution – Used proper value for exponent based on reference from FIPS
>> 186-4, section B-2.
>> 
>> webrev - http://cr.openjdk.java.net/~ntv/bhanu/8129560/webrev.00/
>> 
>> Thanks,
>> 
>> Bhanu
>> 



More information about the security-dev mailing list