#2698 Investigating PK11SecureRandom seeding
Closed: migrated 3 years ago by dmoluguw. Opened 6 years ago by edewata.

The following code in JssSubsystem seeds a PK11SecureRandom object with random bytes obtained from /dev/urandom (see https://github.com/dogtagpki/pki/blob/master/base/server/cmscore/src/com/netscape/cmscore/security/JssSubsystem.java#L258):

byte[] b = ... random bytes from /dev/urandom ...

PK11SecureRandom sr = new PK11SecureRandom();
sr.setSeed(b);

This code is only used in KRA. Further investigation is needed to determine the purpose of this code. If it turns out to be unnecessary the code should be removed.


Metadata Update from @edewata:
- Custom field component adjusted to General
- Custom field feature adjusted to ''
- Custom field origin adjusted to Community
- Custom field proposedmilestone adjusted to ''
- Custom field proposedpriority adjusted to ''
- Custom field reviewer adjusted to ''
- Custom field type adjusted to defect
- Custom field version adjusted to ''
- Issue set to the milestone: FUTURE

6 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/2818

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata