Closed Bug 316710 Opened 19 years ago Closed 19 years ago

Land some generic crypto backend code, mostly cleanup, some small enhancements

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

(Whiteboard: [kerh-eha])

Attachments

(2 files, 2 obsolete files)

Bob Relyea has produced several patches. I have reviewed them, made suggestions to change them and applied my requested changes myself.
Attached patch sorry - wrong file attached (obsolete) (deleted) — Splinter Review
Original patch as created by Bob Relyea
Comment on attachment 203261 [details] [diff] [review] sorry - wrong file attached I'm fine with your changes in general, but I'm requesting some changes, as we have discussed by email.
Attachment #203261 - Attachment is obsolete: true
Attachment #203261 - Flags: review+
Attachment #203261 - Attachment description: Patch v1 → sorry - wrong file attached
Attachment #203261 - Flags: review+
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
Attachment #203262 - Flags: review+
Attached patch Patch v2 (deleted) — Splinter Review
Bob, I have worked on the changes that I had suggested. Here is the updated patch.
Attachment #203262 - Attachment is obsolete: true
Attachment #203263 - Flags: review?
Attachment #203263 - Flags: review? → review?(rrelyea)
I would like to explain the code that we are adding. - provide a new interface nsIX509Cert2 to eliminate the need to cast to non-IDL pointer, make use of it in nsCMS and other places. - provide a new interface nsIX509CertList to deal with a list of certificates - clean up the certificate cache implemenentation, use the new cert list - enable the cert cache implementation to cache any given list of certificates - in nsCertTree, a data structure used by certificate manager, improve speed by caching all strings intended for display - to speed up, in nsNSSCertificate, only calculate the logical type of the assicoated NSS certificate once. Remove the not required ability to explicitly set the logical type. - add backend code that allows a cert manager user interface to display a cert type information column - for display purposes, when a cert has no isser org, fall back to common name The changes between Bob's patch v1 and my patch v2 are: - make nsNSSCertList not adopt the given list by default, to be consistent with our default behaviour "copy on construction". However, the possibility to use the optimized adopt technique is still available. - do not introduce nsISupportsString and nsTreeString, but make use of existing implementations - removed unnecessary nsCertTree::mNumColumns
Blocks: 316714
Whiteboard: [kerh-eha]
*** Bug 299094 has been marked as a duplicate of this bug. ***
Attachment #203263 - Flags: review?(rrelyea) → review+
Attachment #203263 - Flags: superreview?(darin)
Attachment #203263 - Flags: superreview?(darin) → superreview?(sfraser_bugs)
Attachment #203263 - Flags: superreview?(sfraser_bugs)
Patch checked in. Bob, should we have this on 1.8 branch for Firefox 2.0 ?
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
What is Camino based off of, the trunk or 1.8?
Comment on attachment 203263 [details] [diff] [review] Patch v2 This patch implements several requests from Camino developers. To answer Bob's question: Camino 1.x will be based on the 1.8 branch.
Attachment #203263 - Flags: approval1.8.1?
Comment on attachment 203263 [details] [diff] [review] Patch v2 looks like nsIX509CertDB2 needs a new IID...
Comment on attachment 203263 [details] [diff] [review] Patch v2 Biesi, thanks a lot for pointing this out. I just learned, that although we just add a method to nsIX509CertDB2, this does count as an API change and is not an appropriate change for 1.8 branch. As the camino people want this functionality on the 1.8 branch, we might consider reverting the change and introducing yet another DB interface?
Attachment #203263 - Flags: approval1.8.1?
Simon, if you really need or wants this on the 1.8 branch, please speak up.
(In reply to comment #12) > Simon, if you really need or wants this on the 1.8 branch, please speak up. I don't think we actually need any of this stuff on the 1.8 branch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Bob, could you please review this one line patch?
Attachment #208225 - Flags: review?(rrelyea)
Comment on attachment 208225 [details] [diff] [review] Additional patch to change uuid of nsIX509CertDB2 r+ relyea
Attachment #208225 - Flags: review?(rrelyea) → review+
new IID checked in
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Comment on attachment 203263 [details] [diff] [review] Patch v2 not for 1.8 branch
Attachment #203263 - Flags: branch-1.8.1-
this caused regression 352867
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: