Closed Bug 1629666 Opened 1 year ago Closed 1 year ago

Optimize loading of RNP shared library

Categories

(MailNews Core :: Security: OpenPGP, task)

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 77.0

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(1 file, 1 obsolete file)

When looking for the RNP shared library, we should first check the Thunderbird install directory, then fall back to checking other places. This will ensure that the application copy is loaded before any external installations.

Check the Thunderbird application directory for the RNP shared library (without
any SO version) before checking other locations. The build system will install
libraries named librnp.so, librnp.dylib, or rnp.dll depending on the OS.

Kai this is the patch we discussed in email.
Attachment #9140261 - Flags: review?(kaie)
Attachment #9140261 - Flags: review?(kaie) → review+

Check the Thunderbird application directory for the RNP shared library (without
any SO version) before checking other locations. The build system will install
libraries named librnp.so, librnp.dylib, or rnp.dll depending on the OS.

Depends on D70759

Attachment #9140615 - Attachment is obsolete: true

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/107ee9bfae22
Prioritize loading RNP library from application directory. r=kaie DONTBUILD

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 77.0
You need to log in before you can comment on or make changes to this bug.