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)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
People
(Reporter: KaiE, Assigned: KaiE)
References
Details
(Whiteboard: [kerh-eha])
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
rrelyea
:
review+
KaiE
:
approval-branch-1.8.1-
|
Details | Diff | Splinter Review |
(deleted),
patch
|
rrelyea
:
review+
|
Details | Diff | Splinter Review |
Bob Relyea has produced several patches.
I have reviewed them, made suggestions to change them and applied my requested changes myself.
Assignee | ||
Comment 1•19 years ago
|
||
Original patch as created by Bob Relyea
Assignee | ||
Comment 2•19 years ago
|
||
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+
Assignee | ||
Updated•19 years ago
|
Attachment #203261 -
Attachment description: Patch v1 → sorry - wrong file attached
Attachment #203261 -
Flags: review+
Assignee | ||
Comment 3•19 years ago
|
||
Attachment #203262 -
Flags: review+
Assignee | ||
Comment 4•19 years ago
|
||
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?
Assignee | ||
Updated•19 years ago
|
Attachment #203263 -
Flags: review? → review?(rrelyea)
Assignee | ||
Comment 5•19 years ago
|
||
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
Assignee | ||
Updated•19 years ago
|
Whiteboard: [kerh-eha]
Assignee | ||
Comment 6•19 years ago
|
||
*** Bug 299094 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Attachment #203263 -
Flags: review?(rrelyea) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #203263 -
Flags: superreview?(darin)
Assignee | ||
Updated•19 years ago
|
Attachment #203263 -
Flags: superreview?(darin) → superreview?(sfraser_bugs)
Assignee | ||
Updated•19 years ago
|
Attachment #203263 -
Flags: superreview?(sfraser_bugs)
Assignee | ||
Comment 7•19 years ago
|
||
Patch checked in.
Bob, should we have this on 1.8 branch for Firefox 2.0 ?
Assignee | ||
Updated•19 years ago
|
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 8•19 years ago
|
||
What is Camino based off of, the trunk or 1.8?
Assignee | ||
Comment 9•19 years ago
|
||
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 10•19 years ago
|
||
Comment on attachment 203263 [details] [diff] [review]
Patch v2
looks like nsIX509CertDB2 needs a new IID...
Assignee | ||
Comment 11•19 years ago
|
||
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?
Assignee | ||
Comment 12•19 years ago
|
||
Simon, if you really need or wants this on the 1.8 branch, please speak up.
Comment 13•19 years ago
|
||
(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.
Assignee | ||
Updated•19 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 14•19 years ago
|
||
Bob, could you please review this one line patch?
Attachment #208225 -
Flags: review?(rrelyea)
Comment 15•19 years ago
|
||
Comment on attachment 208225 [details] [diff] [review]
Additional patch to change uuid of nsIX509CertDB2
r+ relyea
Attachment #208225 -
Flags: review?(rrelyea) → review+
Assignee | ||
Comment 16•19 years ago
|
||
new IID checked in
Status: REOPENED → RESOLVED
Closed: 19 years ago → 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 17•19 years ago
|
||
Comment on attachment 203263 [details] [diff] [review]
Patch v2
not for 1.8 branch
Attachment #203263 -
Flags: branch-1.8.1-
Assignee | ||
Comment 18•18 years ago
|
||
this caused regression 352867
Depends on: 1250818
You need to log in
before you can comment on or make changes to this bug.
Description
•