- Downloads
Bug 13379: Allow using NSS to sign and verify MAR signatures
Allow using NSS on all platforms for checking MAR signatures (instead of using OS-native APIs, the default on Mac OS and Windows). So that the NSS and NSPR libraries the updater depends on can be found 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 won't work on macOS because the updater executable is copied during the update process to a location that can vary.
parent
9c1dd51f
Branches
No related tags found
Showing
- modules/libmar/tool/mar.c 3 additions, 3 deletionsmodules/libmar/tool/mar.c
- modules/libmar/tool/moz.build 9 additions, 3 deletionsmodules/libmar/tool/moz.build
- modules/libmar/verify/moz.build 7 additions, 7 deletionsmodules/libmar/verify/moz.build
- toolkit/modules/AppConstants.jsm 7 additions, 0 deletionstoolkit/modules/AppConstants.jsm
- toolkit/mozapps/update/updater/updater-common.build 21 additions, 3 deletionstoolkit/mozapps/update/updater/updater-common.build
- toolkit/mozapps/update/updater/updater.cpp 10 additions, 8 deletionstoolkit/mozapps/update/updater/updater.cpp
- toolkit/xre/moz.build 3 additions, 0 deletionstoolkit/xre/moz.build
- toolkit/xre/nsUpdateDriver.cpp 50 additions, 0 deletionstoolkit/xre/nsUpdateDriver.cpp
Please sign in to comment