Open
Bug 540498
Opened 15 years ago
Updated 2 years ago
Optionally include cert chain root in signed emails
Categories
(MailNews Core :: Security: S/MIME, defect)
MailNews Core
Security: S/MIME
Tracking
(Not tracked)
NEW
People
(Reporter: bob.lord, Unassigned)
References
Details
(Whiteboard: [patchlove])
Attachments
(4 files)
1.08 KB,
patch
|
mozbgz
:
feedback-
|
Details | Diff | Splinter Review |
2.95 KB,
patch
|
Details | Diff | Splinter Review | |
2.63 KB,
patch
|
Details | Diff | Splinter Review | |
6.54 KB,
patch
|
Details | Diff | Splinter Review |
This topic is mentioned in Bug 354273 but needs to be called out separately.
It is legal for an S/MIME client to send a cert chain that includes the root. There are some circumstances where that behavior is desirable. Today, TB only sends the cert chain up to, but not including the root cert.
Comment 1•11 years ago
|
||
Microsoft Outlook seems to need the root certificate.
I think this requires the following change in mozilla/security/nss/cmd/smimetools/cmsutil.c
- if (NSS_CMSSignerInfo_IncludeCerts(signerinfo, NSSCMSCM_CertChain,
+ if (NSS_CMSSignerInfo_IncludeCerts(signerinfo, NSSCMSCM_CertChainWithRoot,
I didn't test this yet.
Comment 2•11 years ago
|
||
Attachment #813716 -
Flags: review?(benjamin)
Comment 3•11 years ago
|
||
Comment on attachment 813716 [details] [diff] [review]
Include cert chain root in signed emails
I'm not sure how you picked me as a reviewer, but I'm totally unfamiliar with any of this. Perhaps you meant bsmith?
Attachment #813716 -
Flags: review?(benjamin) → review?(brian)
Comment 4•11 years ago
|
||
Comment on attachment 813716 [details] [diff] [review]
Include cert chain root in signed emails
Review of attachment 813716 [details] [diff] [review]:
-----------------------------------------------------------------
I am not so familiar with the S/MIME code. Pushing to rrelyea.
Attachment #813716 -
Flags: review?(brian) → review?(rrelyea)
(In reply to Frederik Vermeulen from comment #2)
> Created attachment 813716 [details] [diff] [review]
> Include cert chain root in signed emails
This is patching the wrong code (cmsutil is a standalone tool, completely separate from the Tb/Sm code). Furthermore, the root certificate shouldn't be included by default (contrary to what comment 1 says, it isn't needed for Outlook), it should be configurable instead.
(In reply to bug 354273 comment 2)
> I wrote a patch for this sometime in 2006, which I might be able to dig up
> again, if there's an interest in it
I'm attaching the c-c and m-c parts of that patch (unbitrotten), but without the UI part. Also, I'm not sure if it's ok to change the signature of CreateSigned in nsICMSMessage.idl, or whether that needs a new uuid etc. (can't remember that stuff).
Attachment #813716 -
Flags: feedback-
Comment 7•11 years ago
|
||
Yes you should reve the uuid. Don't forget to ask for reviews.
Here's the UI part, for the sake of completeness.
Anybody who wants to drive this change through (Frederik?) should feel free to do so, I don't claim any specific authorship for these patches or modifications thereof. (Personally, I think there's very little need for such an option.)
Updated•11 years ago
|
Whiteboard: [patchlove]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•