Broken list of recipient S/MIME certificates in composer "view / message security info"
Categories
(MailNews Core :: Security: S/MIME, defect)
Tracking
(thunderbird_esr68 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr68 | --- | unaffected |
People
(Reporter: KaiE, Assigned: mkmelin)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
20.62 KB,
patch
|
benc
:
review+
KaiE
:
feedback+
|
Details | Diff | Splinter Review |
In a composer window, with S/MIME configured, and recipients added, click menu view / message security info (or click the security button).
The listbox should show the list of all recipients and their certificate status.
This worked in TB 68, but it's broken in nightly. I think it was regressed by bug 1594896.
| Assignee | ||
Comment 1•6 years ago
|
||
This fixes it, and cleans up a bunch of code.
On a side note, checking those certificates is S L O W! Like 1 sec per address. But it works now.
| Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Ben Campbell from comment #3)
- if (emailAddresses.length === 0) {
Seeing === here makes me think I'm missing something. Would == do?
== would work too.
I assume we're no longer worried about gBundle being unset?
Yes, it would always be set.
*canEncrypt = (mailbox_count > 0) ? true : false;
Ah, good catch! I'll fix it.
| Assignee | ||
Comment 5•6 years ago
|
||
Or well, that should be initialized to canEncrypt = true. We "can encrypt" to 0 recipients.
| Assignee | ||
Updated•6 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e1fe33ee1a8b
fix (and code cleanup) for broken list of recipient S/MIME certificates in composer "view / message security info". r=benc DONTBUILD
| Assignee | ||
Updated•6 years ago
|
Description
•