Bug 703281 - JSS needs methods for NSS 'SECMOD_OpenUserDB()' and NSS 'SECMOD_CloseUserDB()'
Summary: JSS needs methods for NSS 'SECMOD_OpenUserDB()' and NSS 'SECMOD_CloseUserDB()'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: JSS
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Ade Lee
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 445047
TreeView+ depends on / blocked
 
Reported: 2011-05-09 20:16 UTC by Matthew Harmsen
Modified: 2015-01-04 23:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-23 21:04:28 UTC


Attachments (Terms of Use)

Description Matthew Harmsen 2011-05-09 20:16:05 UTC
The DRM Rekey tool (reference Bugzilla Bug #532548 - Tool to do DRM re-key) needs to open both legacy NSS security databases as well as current NSS security databases in order to use a legacy key for unwrapping/decrypting and using a current key for wrapping/encrypting.

NSS contains functions to support this feature
(located in mozilla/security/nss/lib/pk11wrap/pk11util.c):

- PK11SlotInfo *SECMOD_OpenUserDB( const char *moduleSpec)
- SECStatus SECMOD_CloseUserDB( PK11SlotInfo *slot )

JSS needs to add access to these two methods.

Comment 3 Matthew Harmsen 2011-05-23 21:04:28 UTC
This was originally desired for DRMTool.  However, when it was discovered that these two functions did not include the secmod.db database, a different approach was taken, and these two functions no longer need to be exposed through JSS.


Note You need to log in before you can comment on or make changes to this bug.