Closed Bug 1892223 Opened 5 months ago Closed 5 months ago

Enable ECDH encryption and decryption for S/MIME

Categories

(MailNews Core :: Security: S/MIME, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
127 Branch

People

(Reporter: KaiE, Assigned: KaiE)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Now that ECDH support for S/MIME has been added to NSS, and the corresponding version of NSS has been made available in mozilla-central (bug 1891763), we're ready to enable that encryption mode in Thunderbird.

We can do that as suggested in the code from bug 1876931, by using the recently added NSS API NSS_CMSRecipient_IsSupported().

I see build/moz.configure/nss.configure already requires 3.99 which contains NSS_CMSRecipient_IsSupported

Depends on: 1891763

ECDH is enabled in NSS_CMSRecipient_IsSupported version 3.100 which has already been landed into m-c

Assignee: nobody → kaie
Status: NEW → ASSIGNED

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7e83e0b67b38
Enable ECDH encryption as covered by NSS_CMSRecipient_IsSupported from NSS version 3.100. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

This patch doesn't build on macOS or Windows, so I backed it out.
https://hg.mozilla.org/comm-central/rev/ff9bed5002f566f0ee17eddeae81e4bb6a83628b

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

(In reply to Geoff Lankow (:darktrojan) from comment #5)

This patch doesn't build on macOS or Windows, so I backed it out.
https://hg.mozilla.org/comm-central/rev/ff9bed5002f566f0ee17eddeae81e4bb6a83628b

Sorry, too much self-confidence from my side on an apparent trivial change.

I've fixed the patch, we needed to add the new symbol to a build file.
It passed try:
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=baaaaed5e6cc40835991f4ffc7036094900b0210

Pushed by brendan@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/f7fcde19f287
Enable ECDH encryption as covered by NSS_CMSRecipient_IsSupported from NSS version 3.100. r=mkmelin

Status: REOPENED → RESOLVED
Closed: 5 months ago5 months ago
Resolution: --- → FIXED
Blocks: smime-2023
Blocks: 1893046
Summary: Enable ECDH encryption for S/MIME → Enable ECDH encryption and decryption for S/MIME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: