Closed
Bug 332771
Opened 18 years ago
Closed 17 years ago
delayed S/Mime verification broken when message opened in separate window
Categories
(Thunderbird :: Security, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: niels, Assigned: KaiE)
References
Details
(Keywords: verified1.8.0.12, verified1.8.1.4)
Attachments
(1 file, 1 obsolete file)
2.04 KB,
patch
|
mscott
:
review+
mscott
:
superreview+
dveditz
:
approval1.8.1.4+
dveditz
:
approval1.8.0.12+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) Build Identifier: version 1.5 (20051201) Popup displays with message "The displayed message has been digitally signed, but not all its attachments have been downloaded yet. Therefore, the signature cannot be validated. Click OK to download the complete message and validate the signature." Clicking OK does nothing (the dialogue box disappears, and the signature remains unverified. Reproducible: Always Steps to Reproduce: 1. Send large attachment (ie. 20KB excel document) in signed message. Actual Results: Signature is not verified. Dialogue box appears but does nothing. Expected Results: Dialogue box should do what it states- ie. download the entire message and verify the signature. Related to bug ID 139460
Reporter | ||
Comment 1•18 years ago
|
||
Same behaviour in version 3 alpha 1 (20060404)
Comment 2•18 years ago
|
||
Do you see a error in the JavaScript Console (it should be under Tools->Web Development) when looking at such a message?
Reporter | ||
Comment 3•18 years ago
|
||
Yes. Error: ReloadWithAllParts is not defined Source File: chrome://messenger-smime/content/msgReadSMIMEOverlay.js Line: 71
Comment 4•18 years ago
|
||
Do you look at messages within the normal window layout (so on the left side your accounts, on the right upper side the messages overview and on the right down side the message display area)? If not, what window layout do you use?
Reporter | ||
Comment 5•18 years ago
|
||
I have the preview pane disabled. When I re-enable the preview pane, and check the signature from the preview pane, it works as expected. When the preview pane is enabled, and I open the message in a new window, and check the signature from there it does not work. It seems to be a problem only when the message is being displayed in a new window.
Comment 6•18 years ago
|
||
Ok, more or less depends then on the Mozilla/SeaMonkey version of this bug. Why not use the normal preview pane so? ;)
Assignee: mscott → dveditz
Status: UNCONFIRMED → NEW
Component: Mail Window Front End → Security
Depends on: 199626
Ever confirmed: true
QA Contact: thunderbird
Updated•18 years ago
|
Assignee: dveditz → mscott
Comment 7•17 years ago
|
||
I have an even more strange, but probably related experience in Bug 377944 comment 4
Assignee | ||
Comment 8•17 years ago
|
||
I can confirm this bug. We use function ReloadWithAllParts for validating the full message, but it is only defined in msgMail3PaneWindow, and not in the separate message window. Function ReloadWithAllParts() is just a wrapper for a single other function call: function ReloadWithAllParts() { gDBView.reloadMessageWithAllParts(); }
Assignee: mscott → dveditz
Summary: digital S/MIME signature not verifiable if message contains large attachments via IMAP → delayed S/Mime verification broken when message opened in separate window
Comment 9•17 years ago
|
||
Hmm if that's the case, this bug has been around for a long time. 1.7, 1.8 and the trunk all have ReloadWithAllParts defined only in msgMail3PaneWindow.js.
Assignee | ||
Comment 10•17 years ago
|
||
In this patch I replaced the call to ReloadWithAllParts() and made it call gDBView.reloadMessageWithAllParts() directly. I tested this patch using: - thunderbird 1.8 branch - seamonkey 1.8 branch - seamonkey trunk and I tested in both the default view and the "separate message window" view. In all 6 combinations it worked as expected, and clicking the ? icon triggered to reload the message and resulted in the "valid signature" icon. Scott, could you please review? (Is calling directly ok, or would you prefer that we introduced a new wrapper function that is globally available?) Thanks
Attachment #262646 -
Flags: superreview?
Attachment #262646 -
Flags: review?
Assignee | ||
Updated•17 years ago
|
Attachment #262646 -
Flags: superreview?(mscott)
Attachment #262646 -
Flags: superreview?
Attachment #262646 -
Flags: review?(mscott)
Attachment #262646 -
Flags: review?
Comment 11•17 years ago
|
||
Comment on attachment 262646 [details] [diff] [review] Patch v1 Thanks Kai. Should we remove the method ReloadWithAllParts as well since no one uses that after this change?
Attachment #262646 -
Flags: superreview?(mscott)
Attachment #262646 -
Flags: superreview+
Attachment #262646 -
Flags: review?(mscott)
Attachment #262646 -
Flags: review+
Assignee | ||
Comment 12•17 years ago
|
||
Scott, good point. This new patch removes the obsolete function from mozilla/mailnews and mozilla/mail. Patch applies fine to both trunk and 1.8 branch.
Assignee: dveditz → kengert
Attachment #262646 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #262648 -
Flags: superreview?(mscott)
Attachment #262648 -
Flags: review?(mscott)
Comment 13•17 years ago
|
||
Comment on attachment 262648 [details] [diff] [review] Patch v2 cool!
Attachment #262648 -
Flags: superreview?(mscott)
Attachment #262648 -
Flags: superreview+
Attachment #262648 -
Flags: review?(mscott)
Attachment #262648 -
Flags: review+
Assignee | ||
Comment 14•17 years ago
|
||
Bug fixed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•17 years ago
|
||
Comment on attachment 262648 [details] [diff] [review] Patch v2 I agree this bug is broken in older versions, too. I can confirm it's broken in 1.8. Should we get this patch into both 1.8 and 1.8.0 ? (Help welcome to verify the bug is in 1.8.0 / Thunderbird 1.5.x)
Attachment #262648 -
Flags: approval1.8.1.4?
Attachment #262648 -
Flags: approval1.8.0.12?
Comment 16•17 years ago
|
||
Comment on attachment 262648 [details] [diff] [review] Patch v2 approved for 1.8.0.12 and 1.8.1.4, a=dveditz for release-drivers
Attachment #262648 -
Flags: approval1.8.1.4?
Attachment #262648 -
Flags: approval1.8.1.4+
Attachment #262648 -
Flags: approval1.8.0.12?
Attachment #262648 -
Flags: approval1.8.0.12+
Assignee | ||
Comment 17•17 years ago
|
||
Checked in to MOZILLA_1_8_BRANCH for 1.8.1.4
Keywords: fixed1.8.1.4
Assignee | ||
Comment 18•17 years ago
|
||
Checked in to MOZILLA_1_8_0_BRANCH for 1.8.0.12
Keywords: fixed1.8.0.12
Comment 19•17 years ago
|
||
verified fixed 1.8.1.4 and 1.8.0.12 using: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4pre) Gecko/20070524 Thunderbird/2.0.0.4pre Mnenhy/0.7.5.0 ID:2007052803 Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.12pre) Gecko/20070430 Thunderbird/1.5.0.12pre ID:2007043008 Using the STR from comment #0. The S/Mime Verification was not broken and is working as expected. Adding the verified keywords
You need to log in
before you can comment on or make changes to this bug.
Description
•