JDK-6491602 : PKCS12 KeyStore should not call secureRandom.generateSeed()
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-11-09
  • Updated: 2015-06-30
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u105Fixed 7 b09Fixed
Related Reports
Duplicate :  
Relates :  
Description
The PKCS12 KeyStore implementation calls secureRandom.generateSeed(). That method should only be used if pure entropy is required as it will sometimes be slow. This is not the case here and the code should be changed to call nextBytes().

Comments
EVALUATION Changed to nextBytes(). JDK regtest j2se/test/sun/security/tools/keytool/autotest.sh becomes much much faster.
10-11-2006