code review request: 7081411: Change more keytool -genkeypair to RSA

Weijun Wang weijun.wang at oracle.com
Tue Aug 30 12:26:20 UTC 2011


Hi All

7081411: Change more keytool -genkeypair to RSA
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7081411

Webrev at http://cr.openjdk.java.net/~weijun/7081411/webrev.01/

Because of the Solaris DSA bug described in 7041639, we keep seeing 
tests generating DSA key pairs failing. Therefore I'm changing most 
keypair generation to use RSA instead.

In all code changes, KeyToolTest.java is called by standard.sh, which 
makes so many "keytool -genkeypair" calls that I decide to add "-keysize 
512" to make it fast. Please note that in this test there are still 
explicit calls to "-genkeypair -keyalg dsa". These still have a chance 
to fail on Solaris, but I like to keep them there to make the test complete.

Code changes in the closed repo will be sent in another mail.

Thanks
Max




More information about the security-dev mailing list