Closed
Bug 216946
Opened 21 years ago
Closed 2 years ago
Consolidate the code to delete a cert and the matching private key.
Categories
(JSS Graveyard :: Library, enhancement)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wtc, Assigned: wtc)
Details
PK11_DeleteTokenCertAndKey will not delete the cert if there is no matching private key, so it is also necessary to call SEC_DeletePermCertificate. Due to the lack of documentation of these NSS functions, this code sequence is not obvious. JSS needs to do this in two places: 1. PK11Store.c: Java_org_mozilla_jss_pkcs11_PK11Store_deleteCert 2. JSSKeyStoreSpi.c: traverseTokenObjects The code in the two places is slightly different. We should pick the better one and turn it into a deleteTokenCertAndKey function that the two places would call.
Updated•17 years ago
|
Status: NEW → ASSIGNED
Updated•17 years ago
|
QA Contact: jamie-bugzilla → jss-qa
Comment 2•2 years ago
|
||
JSS development has moved from the Mozilla community to the Dogtag PKI community. Please re-file this bug at https://github.com/dogtagpki/jss if it is still relevant. Thank you!
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•