Closed Bug 1832523 Opened 2 years ago Closed 2 years ago

Optionally use NSS for MAR signature verification on Windows/macOS

Categories

(Toolkit :: Application Update, enhancement)

Desktop
Unspecified
enhancement

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: pierov, Assigned: pierov)

Details

Attachments

(1 file)

In Tor Browser, we modify the updater and the mar tools to use NSS on all platforms, including Windows and macOS, where normally OS libraries are used.
Recently, we've modified our patch to do so only when a build flag is specified (at the moment --enable-nss-mar), because we would like to upstream it.

Allow using NSS for checking MAR signatures also in platforms where
OS-native APIs are used by default, i.e., macOS and Windows.

To make the updater find the NSS and NSPR libraries it depends on at
runtime, we add the firefox directory to the shared library search path
on macOS.
On Linux, rpath is used to solve that problem, but that approach will
not work on macOS because the updater executable is copied during the
update process to a location that can vary.

Attachment #9333037 - Attachment description: Bug 1832523 - Allow using NSS to sign and verify MAR signatures. r?#build → WIP: Bug 1832523 - Allow using NSS to sign and verify MAR signatures. r?#application-update-reviewers,glandium
Attachment #9333037 - Attachment description: WIP: Bug 1832523 - Allow using NSS to sign and verify MAR signatures. r?#application-update-reviewers,glandium → Bug 1832523 - Allow using NSS to sign and verify MAR signatures. r?#application-update-reviewers,glandium
Pushed by rsteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f16132e5640c Allow using NSS to sign and verify MAR signatures. r=application-update-reviewers,glandium,bytesized
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: