Re: RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-03-01 Thread Vincent Ryan
Your fix looks fine. Thanks. > On 1 Mar 2016, at 19:21, Sean Mullan wrote: > > Updated webrev: http://cr.openjdk.java.net/~mullan/webrevs/8138653/webrev.01/ > > The following changes have been made: > > - The default key size for DSA has not been changed (stays at 1024) due to > the high ris

Re: RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-03-01 Thread Sean Mullan
Updated webrev: http://cr.openjdk.java.net/~mullan/webrevs/8138653/webrev.01/ The following changes have been made: - The default key size for DSA has not been changed (stays at 1024) due to the high risk of breaking compatibility with applications still using SHA1withDSA (key sizes larger th

Re: RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-02-24 Thread Valerie Peng
My recollection is that the latest PKCS11 standard has been in the works for a few years and there is no SHA-2 DSA signature support from Solaris when we add the SHA-2 DSA support. Valerie On 2/24/2016 10:25 AM, Sean Mullan wrote: On 02/24/2016 11:58 AM, Seán Coffey wrote: I think you might

Re: RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-02-24 Thread Sean Mullan
On 02/24/2016 11:58 AM, Seán Coffey wrote: I think you might have forgotten the PKCS11 implementation Sean. e.g. src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java Good catch, although I think we should only increase the size for RSA key pairs, since we don't yet

Re: RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-02-24 Thread Seán Coffey
I think you might have forgotten the PKCS11 implementation Sean. e.g. src/jdk.crypto.pkcs11/share/classes/sun/security/pkcs11/P11KeyPairGenerator.java On a side note, I notice a discrepancy in the KeyPairGenerator javadoc. It's more of an implNote issue : If the algorithm is the/DSA/algorith

RFR 8138653: Default key sizes for the AlgorithmParameterGenerator and KeyPairGenerator implementations should be upgraded

2016-02-24 Thread Sean Mullan
Please review this fix to improve security defaults by increasing the default keysize of the RSA, DSA, and DiffieHellman implementations of AlgorithmParameterGenerator and KeyPairGenerator from 1024 to 2048 bits: http://cr.openjdk.java.net/~mullan/webrevs/8138653/webrev.00/ Thanks, Sean