Closed Bug 96162 Opened 23 years ago Closed 23 years ago

"In PKCS11SecureRandom constructor" println

Categories

(JSS Graveyard :: Library, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jamie-bugzilla, Assigned: jamie-bugzilla)

Details

There is a trace statement printed to stdout in the PKCS11SecureRandom constructor.
This is only a problem in one place. Michelle can workaround as follows:

Instead of calling:

SecureRandom rng = SecureRandom.getInstance("pkcs11prng");

call:

JSSSecureRandom rng = CryptoManager.getSecureRNG();

JSSSecureRandom supports the nextByte() method, just like SecureRandom.
Status: NEW → ASSIGNED
This is already fixed on the trunk, but it should be fixed for 3.1.1 as well.
Target Milestone: --- → 3.1.1
Fixed on JSS_3_1_BRANCH.

/cvsroot/mozilla/security/jss/org/mozilla/jss/provider/PKCS11SecureRandom.java,v
 <--  PKCS11SecureRandom.java
new revision: 1.2.2.1; previous revision: 1.2
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.