Closed Bug 277968 Opened 20 years ago Closed 10 months ago

Implement OCSP request signing

Categories

(NSS :: Libraries, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: wtc, Unassigned)

Details

Attachments

(2 files)

The CERT_CreateOCSPRequest function takes a
signerCert argument, but callers must pass
a null signerCert now because request signing
is not yet implemented.  The code has a comment
explaining how signing of request should be
implemented:

    we will need to allocate a signature
    structure for the request, fill in the
    "derCerts" field in it, save the signerCert
    there, as well as fill in the "requestorName"
    field of the tbsRequest.
QA Contact: bishakhabanerjee → jason.m.reid
QA Contact: jason.m.reid → libraries
We have implemented the OCSP request signing in NSS 3.12.8. Does anyone still need this? I can submit a patch (~30-40 lines of code were added) which will need a review.
Attachment #508099 - Flags: review?(wtc)
Attachment #508100 - Flags: review?(wtc)
Comment on attachment 508099 [details] [diff] [review]
OCSP request signing

Thank you for the patch.  The new function needs to
be added to lib/nss/nss.def so that it is exported
from the DLL/shared library.  There are some extraneous
whitespace changes in this patch (near line 2070 and
line 2891), some "if" statement formatting inconsistencies
(the placement of the opening curly braces '{'), and
PR_NOT_IMPLEMENTED_ERROR should be removed instead of
being commented out.

Please provide sample code (such as cmd/ocspclnt) to
show how to use the new function.

Note: I know web browsers don't need OCSP request
signing, but as a general-purpose PKI library, NSS
should probably support OCSP request signing.  Bob,
Nelson, what do you think?

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: